Searched refs:KCSAN_ACCESS_SCOPED (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/kernel/kcsan/ |
D | report.c | 216 if (type & KCSAN_ACCESS_SCOPED) { in get_access_type() 242 case KCSAN_ACCESS_SCOPED: in get_access_type() 244 case KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_ATOMIC: in get_access_type() 246 case KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_WRITE: in get_access_type() 248 case KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC: in get_access_type() 250 case KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE: in get_access_type() 252 case KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC: in get_access_type() 647 .ip = (access_type & KCSAN_ACCESS_SCOPED) ? ip : 0, in prepare_access_info()
|
D | kcsan_test.c | 221 const bool is_scoped = (ty & KCSAN_ACCESS_SCOPED); in __report_matches() 270 r->access[0].type |= KCSAN_ACCESS_SCOPED; in __report_set_scoped() 272 r->access[0].type &= ~KCSAN_ACCESS_SCOPED; in __report_set_scoped() 275 r->access[1].type |= KCSAN_ACCESS_SCOPED; in __report_set_scoped() 277 r->access[1].type &= ~KCSAN_ACCESS_SCOPED; in __report_set_scoped() 540 reorder_access->type = (access_type) | KCSAN_ACCESS_SCOPED; \ in test_barrier_nothreads() 1123 …nel_assert_writer_scoped, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT | KCSAN_ACCESS_SCOPED }, in test_assert_exclusive_writer_scoped() 1129 { test_enter_scope, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT | KCSAN_ACCESS_SCOPED }, in test_assert_exclusive_writer_scoped() 1150 …ped, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_SCOPED }, in test_assert_exclusive_access_scoped() 1159 …ope, &test_var, sizeof(test_var), KCSAN_ACCESS_ASSERT | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_SCOPED }, in test_assert_exclusive_access_scoped()
|
D | selftest.c | 134 reorder_access->type = (access_type) | KCSAN_ACCESS_SCOPED; \ in test_barrier()
|
D | core.c | 426 reorder_access->type = type | KCSAN_ACCESS_SCOPED; in set_reorder_access() 748 if (!(type & KCSAN_ACCESS_SCOPED)) { in check_access()
|
/linux-6.1.9/include/linux/ |
D | kcsan-checks.h | 22 #define KCSAN_ACCESS_SCOPED (1 << 4) /* Access is a scoped access. */ macro 384 &(var), sizeof(var), KCSAN_ACCESS_SCOPED | (type), \
|
/linux-6.1.9/mm/kfence/ |
D | core.c | 478 KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT, in kfence_guarded_free()
|