Searched refs:KCSAN_ACCESS_ASSERT (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/include/linux/ |
D | kcsan-checks.h | 21 #define KCSAN_ACCESS_ASSERT (1 << 3) /* Access is an assertion. */ macro 371 __kcsan_check_access(&(var), sizeof(var), KCSAN_ACCESS_ASSERT) 420 __ASSERT_EXCLUSIVE_SCOPED(var, KCSAN_ACCESS_ASSERT, __COUNTER__) 452 __kcsan_check_access(&(var), sizeof(var), KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT) 468 __ASSERT_EXCLUSIVE_SCOPED(var, KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT, __COUNTER__) 528 __kcsan_check_access(&(var), sizeof(var), KCSAN_ACCESS_ASSERT);\
|
/linux-5.19.10/kernel/kcsan/ |
D | kcsan_test.c | 159 const bool is_assert = (r->access[0].type | r->access[1].type) & KCSAN_ACCESS_ASSERT; in __report_matches() 207 (ty & KCSAN_ACCESS_ASSERT) ? in __report_matches() 1015 { test_kernel_assert_writer, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT }, in test_assert_exclusive_writer() 1033 …{ test_kernel_assert_access, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT | KCSAN_ACCESS_WRITE… in test_assert_exclusive_access() 1051 …{ test_kernel_assert_access, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT | KCSAN_ACCESS_WRITE… in test_assert_exclusive_access_writer() 1052 { test_kernel_assert_writer, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT }, in test_assert_exclusive_access_writer() 1057 …{ test_kernel_assert_access, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT | KCSAN_ACCESS_WRITE… in test_assert_exclusive_access_writer() 1058 …{ test_kernel_assert_access, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT | KCSAN_ACCESS_WRITE… in test_assert_exclusive_access_writer() 1063 { test_kernel_assert_writer, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT }, in test_assert_exclusive_access_writer() 1064 { test_kernel_assert_writer, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT }, in test_assert_exclusive_access_writer() [all …]
|
D | core.c | 239 if (type & KCSAN_ACCESS_ASSERT) in is_atomic() 324 (type & (KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_ASSERT)) ? 1 : 0; in delay_access() 451 const bool is_assert = (type & KCSAN_ACCESS_ASSERT) != 0; in kcsan_found_watchpoint() 519 const bool is_assert = (type & KCSAN_ACCESS_ASSERT) != 0; in kcsan_setup_watchpoint()
|
D | report.c | 215 if (type & KCSAN_ACCESS_ASSERT) { in get_access_type() 261 return (type & KCSAN_ACCESS_ASSERT) != 0 ? "assert: race" : "data-race"; in get_bug_type()
|
/linux-5.19.10/mm/kfence/ |
D | core.c | 478 KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT, in kfence_guarded_free()
|
/linux-5.19.10/mm/ |
D | slab.c | 3431 KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT); in __cache_free()
|
D | slub.c | 1734 KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT); in slab_free_hook()
|