Searched refs:KCSAN_ACCESS_WRITE (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/include/linux/ |
D | kcsan-checks.h | 11 #define KCSAN_ACCESS_WRITE (1 << 0) /* Access is a write. */ macro 199 __kcsan_check_access(ptr, size, KCSAN_ACCESS_WRITE) 208 __kcsan_check_access(ptr, size, KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE) 225 kcsan_check_access(ptr, size, KCSAN_ACCESS_WRITE) 234 kcsan_check_access(ptr, size, KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE) 248 kcsan_check_access(ptr, size, KCSAN_ACCESS_ATOMIC | KCSAN_ACCESS_WRITE) 250 kcsan_check_access(ptr, size, KCSAN_ACCESS_ATOMIC | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_COMPOUND) 366 __kcsan_check_access(&(var), sizeof(var), KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT) 382 __ASSERT_EXCLUSIVE_SCOPED(var, KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT, __COUNTER__)
|
/Linux-v5.10/kernel/kcsan/ |
D | kcsan-test.c | 31 #define __KCSAN_ACCESS_RW(alt) (KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE) 198 ((ty & KCSAN_ACCESS_WRITE) ? in report_matches() 201 ((ty & KCSAN_ACCESS_WRITE) ? in report_matches() 423 { test_kernel_write, &test_var, sizeof(test_var), KCSAN_ACCESS_WRITE }, in test_basic() 455 { test_kernel_rmw_array, NULL, 0, __KCSAN_ACCESS_RW(KCSAN_ACCESS_WRITE) }, in test_concurrent_races() 483 { test_kernel_write_nochange, &test_var, sizeof(test_var), KCSAN_ACCESS_WRITE }, in test_novalue_change() 508 { test_kernel_write_nochange_rcu, &test_var, sizeof(test_var), KCSAN_ACCESS_WRITE }, in test_novalue_change_exception() 549 { test_kernel_write, &test_var, sizeof(test_var), KCSAN_ACCESS_WRITE }, in test_write_write_assume_atomic() 550 { test_kernel_write, &test_var, sizeof(test_var), KCSAN_ACCESS_WRITE }, in test_write_write_assume_atomic() 575 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_write_write_struct() [all …]
|
D | report.c | 210 if (type & KCSAN_ACCESS_WRITE) in get_access_type() 215 if (type & KCSAN_ACCESS_WRITE) in get_access_type() 227 case KCSAN_ACCESS_WRITE: in get_access_type() 229 case KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC: in get_access_type() 231 case KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE: in get_access_type() 233 case KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC: in get_access_type() 239 case KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_WRITE: in get_access_type() 241 case KCSAN_ACCESS_SCOPED | KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC: in get_access_type()
|
D | core.c | 230 (type & KCSAN_ACCESS_WRITE) && size <= sizeof(long) && in is_atomic() 406 const bool is_write = (type & KCSAN_ACCESS_WRITE) != 0; in kcsan_setup_watchpoint() 600 const bool is_write = (type & KCSAN_ACCESS_WRITE) != 0; in check_access() 822 check_access(ptr, size, KCSAN_ACCESS_WRITE); \ 832 KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE); \ 855 check_access(ptr, size, KCSAN_ACCESS_WRITE); in __tsan_write_range() 890 KCSAN_ACCESS_WRITE | \ 955 KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ATOMIC); \ 967 KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE | \ 999 KCSAN_ACCESS_COMPOUND | KCSAN_ACCESS_WRITE | \ [all …]
|
D | debugfs.c | 78 (!(iters & 0xf) ? KCSAN_ACCESS_WRITE : 0); in microbenchmark()
|
/Linux-v5.10/mm/ |
D | slab.c | 3426 KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT); in __cache_free()
|
D | slub.c | 1541 KCSAN_ACCESS_WRITE | KCSAN_ACCESS_ASSERT); in slab_free_hook()
|