Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dkcsan-checks.h21 #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/
Dkcsan_test.c159 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 …]
Dcore.c239 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()
Dreport.c215 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/
Dcore.c478 KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT, in kfence_guarded_free()
/linux-5.19.10/mm/
Dslab.c3431 KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT); in __cache_free()
Dslub.c1734 KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT); in slab_free_hook()