Home
last modified time | relevance | path

Searched refs:get_access_type (Results 1 – 3 of 3) sorted by relevance

/linux/mm/kfence/
H A Dreport.c186 static const char *get_access_type(bool is_write) in get_access_type() function
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()
H A Dkfence_test.c90 static const char *get_access_type(const struct expect_report *r) in get_access_type() function
117 get_access_type(r)); in report_matches()
121 get_access_type(r)); in report_matches()
128 get_access_type(r)); in report_matches()
147 cur += scnprintf(cur, end - cur, "Out-of-bounds %s at", get_access_type(r)); in report_matches()
151 cur += scnprintf(cur, end - cur, "Use-after-free %s at", get_access_type(r)); in report_matches()
158 cur += scnprintf(cur, end - cur, "Invalid %s at", get_access_type(r)); in report_matches()
/linux/kernel/kcsan/
H A Dreport.c213 static const char *get_access_type(int type) in get_access_type() function
446 get_access_type(other_info->ai.access_type), other_info->ai.ptr, in print_report()
459 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
463 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()