Searched refs:KCSAN_ACCESS_SCOPED (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/kernel/kcsan/ |
H A 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()
|
H A 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()
|
H A D | selftest.c | 127 reorder_access->type = (access_type) | KCSAN_ACCESS_SCOPED; \ in test_barrier()
|
H A D | core.c | 435 reorder_access->type = type | KCSAN_ACCESS_SCOPED; in set_reorder_access() 757 if (!(type & KCSAN_ACCESS_SCOPED)) { in check_access()
|
/openbmc/linux/include/linux/ |
H A 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), \
|
/openbmc/linux/mm/kfence/ |
H A D | core.c | 513 KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT, in kfence_guarded_free()
|