Home
last modified time | relevance | path

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

/mm/kfence/
Dreport.c168 static const char *get_access_type(bool is_write) in get_access_type() argument
170 return is_write ? "write" : "read"; in get_access_type()
173 void kfence_report_error(unsigned long address, bool is_write, struct pt_regs *regs, in kfence_report_error() argument
211 pr_err("BUG: KFENCE: out-of-bounds %s in %pS\n\n", get_access_type(is_write), in kfence_report_error()
214 get_access_type(is_write), (void *)address, in kfence_report_error()
220 pr_err("BUG: KFENCE: use-after-free %s in %pS\n\n", get_access_type(is_write), in kfence_report_error()
223 get_access_type(is_write), (void *)address, object_index); in kfence_report_error()
232 pr_err("BUG: KFENCE: invalid %s in %pS\n\n", get_access_type(is_write), in kfence_report_error()
234 pr_err("Invalid %s at 0x%p:\n", get_access_type(is_write), in kfence_report_error()
Dkfence_test.c74 bool is_write; /* Is access a write. */ member
79 return r->is_write ? "write" : "read"; in get_access_type()
306 .is_write = false, in test_out_of_bounds_read()
340 .is_write = true, in test_out_of_bounds_write()
358 .is_write = false, in test_use_after_free_read()
443 .is_write = false, in test_kmalloc_aligned_oob_read()
542 .is_write = false, in test_init_on_free()
632 .is_write = false, in test_invalid_access()
646 .is_write = false, in test_memcache_typesafe_by_rcu()
683 .is_write = false, in test_krealloc()
Dcore.c818 bool kfence_handle_page_fault(unsigned long addr, bool is_write, struct pt_regs *regs) in kfence_handle_page_fault() argument
881 kfence_report_error(addr, is_write, regs, to_report, error_type); in kfence_handle_page_fault()
885 kfence_report_error(addr, is_write, regs, NULL, KFENCE_ERROR_INVALID); in kfence_handle_page_fault()
Dkfence.h101 void kfence_report_error(unsigned long address, bool is_write, struct pt_regs *regs,
/mm/kasan/
Dreport.c68 info->is_write ? "Write" : "Read", info->access_size, in print_error_description()
72 info->is_write ? "Write" : "Read", in print_error_description()
375 static void __kasan_report(unsigned long addr, size_t size, bool is_write, in __kasan_report() argument
400 info.is_write = is_write; in __kasan_report()
421 bool kasan_report(unsigned long addr, size_t size, bool is_write, in kasan_report() argument
428 __kasan_report(addr, size, is_write, ip); in kasan_report()
Dkasan.h110 bool is_write; member
250 bool is_write, unsigned long ip);
/mm/
Dfilemap.c1516 void page_endio(struct page *page, bool is_write, int err) in page_endio() argument
1518 if (!is_write) { in page_endio()