Home
last modified time | relevance | path

Searched refs:KCSAN_ACCESS_SCOPED (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/kernel/kcsan/
Dreport.c216 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()
Dkcsan_test.c221 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()
Dselftest.c127 reorder_access->type = (access_type) | KCSAN_ACCESS_SCOPED; \ in test_barrier()
Dcore.c435 reorder_access->type = type | KCSAN_ACCESS_SCOPED; in set_reorder_access()
757 if (!(type & KCSAN_ACCESS_SCOPED)) { in check_access()
/linux-6.6.21/include/linux/
Dkcsan-checks.h22 #define KCSAN_ACCESS_SCOPED (1 << 4) /* Access is a scoped access. */ macro
384 &(var), sizeof(var), KCSAN_ACCESS_SCOPED | (type), \
/linux-6.6.21/mm/kfence/
Dcore.c513 KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT, in kfence_guarded_free()