Searched refs:KCSAN_ACCESS_ASSERT (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/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-6.6.21/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() 211 (ty & KCSAN_ACCESS_ASSERT) ? in __report_matches() 1020 { test_kernel_assert_writer, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT }, in test_assert_exclusive_writer() 1038 …{ test_kernel_assert_access, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT | KCSAN_ACCESS_WRITE… in test_assert_exclusive_access() 1056 …{ test_kernel_assert_access, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT | KCSAN_ACCESS_WRITE… in test_assert_exclusive_access_writer() 1057 { test_kernel_assert_writer, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT }, in test_assert_exclusive_access_writer() 1062 …{ 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_access, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT | KCSAN_ACCESS_WRITE… in test_assert_exclusive_access_writer() 1068 { test_kernel_assert_writer, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT }, in test_assert_exclusive_access_writer() 1069 { test_kernel_assert_writer, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT }, in test_assert_exclusive_access_writer() [all …]
|
D | core.c | 241 if (type & KCSAN_ACCESS_ASSERT) in is_atomic() 326 (type & (KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_ASSERT)) ? 1 : 0; in delay_access() 462 const bool is_assert = (type & KCSAN_ACCESS_ASSERT) != 0; in kcsan_found_watchpoint() 530 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-6.6.21/mm/kfence/ |
D | core.c | 513 KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT, in kfence_guarded_free()
|
/linux-6.6.21/mm/ |
D | slab.c | 3376 KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT); in __cache_free()
|
D | slub.c | 1780 KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT); in slab_free_hook()
|