Home
last modified time | relevance | path

Searched refs:is_write (Results 1 – 6 of 6) sorted by relevance

/mm/kfence/
A Dreport.c186 static const char *get_access_type(bool is_write) in get_access_type() argument
188 return str_write_read(is_write); in get_access_type()
191 void kfence_report_error(unsigned long address, bool is_write, struct pt_regs *regs, in kfence_report_error() argument
229 pr_err("BUG: KFENCE: out-of-bounds %s in %pS\n\n", get_access_type(is_write), in kfence_report_error()
232 get_access_type(is_write), (void *)address, in kfence_report_error()
238 pr_err("BUG: KFENCE: use-after-free %s in %pS\n\n", get_access_type(is_write), in kfence_report_error()
241 get_access_type(is_write), (void *)address, object_index); in kfence_report_error()
250 pr_err("BUG: KFENCE: invalid %s in %pS\n\n", get_access_type(is_write), in kfence_report_error()
252 pr_err("Invalid %s at 0x%p:\n", get_access_type(is_write), in kfence_report_error()
A Dkfence_test.c87 bool is_write; /* Is access a write. */ member
92 return str_write_read(r->is_write); in get_access_type()
325 .is_write = false, in test_out_of_bounds_read()
359 .is_write = true, in test_out_of_bounds_write()
377 .is_write = false, in test_use_after_free_read()
478 .is_write = false, in test_kmalloc_aligned_oob_read()
577 .is_write = false, in test_init_on_free()
665 .is_write = false, in test_invalid_access()
679 .is_write = false, in test_memcache_typesafe_by_rcu()
716 .is_write = false, in test_krealloc()
A Dkfence.h141 void kfence_report_error(unsigned long address, bool is_write, struct pt_regs *regs,
A Dcore.c1191 bool kfence_handle_page_fault(unsigned long addr, bool is_write, struct pt_regs *regs) in kfence_handle_page_fault() argument
1254 kfence_report_error(addr, is_write, regs, to_report, error_type); in kfence_handle_page_fault()
1258 kfence_report_error(addr, is_write, regs, NULL, KFENCE_ERROR_INVALID); in kfence_handle_page_fault()
/mm/kasan/
A Dreport.c219 static void end_report(unsigned long *flags, const void *addr, bool is_write) in end_report() argument
236 if (is_write) in end_report()
257 info->is_write ? "Write" : "Read", info->access_size, in print_error_description()
261 info->is_write ? "Write" : "Read", in print_error_description()
552 info.is_write = false; in kasan_report_invalid_free()
571 bool kasan_report(const void *addr, size_t size, bool is_write, in kasan_report() argument
590 info.is_write = is_write; in kasan_report()
597 end_report(&irq_flags, (void *)addr, is_write); in kasan_report()
A Dkasan.h213 bool is_write; member
382 bool is_write, unsigned long ip);

Completed in 43 milliseconds