Home
last modified time | relevance | path

Searched refs:KCSAN_ACCESS_ATOMIC (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/include/linux/
Dkcsan-checks.h19 #define KCSAN_ACCESS_ATOMIC (1 << 2) /* Access is atomic. */ macro
332 kcsan_check_access(ptr, size, KCSAN_ACCESS_ATOMIC)
334 kcsan_check_access(ptr, size, KCSAN_ACCESS_ATOMIC | KCSAN_ACCESS_WRITE)
336 kcsan_check_access(ptr, size, KCSAN_ACCESS_ATOMIC | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_COMPOUND)
/linux-6.6.21/kernel/kcsan/
Dreport.c232 case KCSAN_ACCESS_ATOMIC: in get_access_type()
236 case KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC: in get_access_type()
240 case KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC: in get_access_type()
244 case KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_ATOMIC: in get_access_type()
248 case KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC: in get_access_type()
252 case KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC: in get_access_type()
Dcore.c233 if (type & KCSAN_ACCESS_ATOMIC) in is_atomic()
1059 check_access(ptr, size, is_atomic ? KCSAN_ACCESS_ATOMIC : 0, \
1075 (is_atomic ? KCSAN_ACCESS_ATOMIC : 0), \
1176 check_access(ptr, bits / BITS_PER_BYTE, KCSAN_ACCESS_ATOMIC, _RET_IP_); \
1187 KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC, _RET_IP_); \
1201 KCSAN_ACCESS_ATOMIC, _RET_IP_); \
1234 KCSAN_ACCESS_ATOMIC, _RET_IP_); \
1250 KCSAN_ACCESS_ATOMIC, _RET_IP_); \
Ddebugfs.c82 int type = !(iters & 0x7f) ? KCSAN_ACCESS_ATOMIC : in microbenchmark()
Dkcsan_test.c220 const bool is_atomic = (ty & KCSAN_ACCESS_ATOMIC); in __report_matches()
938 … test_kernel_write_atomic, &test_var, sizeof(test_var), KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC }, in test_read_plain_atomic_write()
960 KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC }, in test_read_plain_atomic_rmw()
1094 KCSAN_ACCESS_WRITE | (IS_ENABLED(CONFIG_KCSAN_IGNORE_ATOMICS) ? 0 : KCSAN_ACCESS_ATOMIC) }, in test_assert_exclusive_bits_change()