Searched refs:KCSAN_ACCESS_COMPOUND (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/include/linux/ |
D | kcsan-checks.h | 18 #define KCSAN_ACCESS_COMPOUND (1 << 1) /* Compounded read-write instrumentation. */ macro 294 __kcsan_check_access(ptr, size, KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE) 320 kcsan_check_access(ptr, size, KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE) 336 kcsan_check_access(ptr, size, KCSAN_ACCESS_ATOMIC | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_COMPOUND)
|
/linux-6.1.9/kernel/kcsan/ |
D | core.c | 246 !(type & KCSAN_ACCESS_COMPOUND) && IS_ALIGNED((unsigned long)ptr, size)) in is_atomic() 326 (type & (KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_ASSERT)) ? 1 : 0; in delay_access() 965 DEFINE_MEMORY_BARRIER(wmb, sa->type & (KCSAN_ACCESS_WRITE | KCSAN_ACCESS_COMPOUND)); 966 DEFINE_MEMORY_BARRIER(rmb, !(sa->type & KCSAN_ACCESS_WRITE) || (sa->type & KCSAN_ACCESS_COMPOUND)); 1005 KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE, \ 1191 KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE | \ 1224 KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE | \ 1240 KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE | \
|
D | report.c | 238 case KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE: in get_access_type() 240 case KCSAN_ACCESS_COMPOUND | 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()
|
D | selftest.c | 144 …SAN_CHECK_RW_BARRIER(b) __KCSAN_CHECK_BARRIER(KCSAN_ACCESS_WRITE | KCSAN_ACCESS_COMPOUND, b, #b) in test_barrier()
|
D | kcsan_test.c | 41 #define __KCSAN_ACCESS_RW(alt) (KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE) 216 ((ty & KCSAN_ACCESS_COMPOUND) ? in __report_matches() 549 #define KCSAN_EXPECT_RW_BARRIER(b, o) __KCSAN_EXPECT_BARRIER(KCSAN_ACCESS_COMPOUND | KCSAN_ACCES… in test_barrier_nothreads() 960 KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC }, in test_read_plain_atomic_rmw()
|