Home
last modified time | relevance | path

Searched refs:test_kernel_read (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/kernel/kcsan/
Dkcsan-test.c270 static noinline void test_kernel_read(void) { sink_value(test_var); } in test_kernel_read() function
429 { test_kernel_read, &test_var, sizeof(test_var), 0 }, in test_basic()
434 { test_kernel_read, &test_var, sizeof(test_var), 0 }, in test_basic()
435 { test_kernel_read, &test_var, sizeof(test_var), 0 }, in test_basic()
441 begin_test_checks(test_kernel_write, test_kernel_read); in test_basic()
489 { test_kernel_read, &test_var, sizeof(test_var), 0 }, in test_novalue_change()
494 begin_test_checks(test_kernel_write_nochange, test_kernel_read); in test_novalue_change()
514 { test_kernel_read, &test_var, sizeof(test_var), 0 }, in test_novalue_change_exception()
519 begin_test_checks(test_kernel_write_nochange_rcu, test_kernel_read); in test_novalue_change_exception()
532 { test_kernel_read, &test_var, sizeof(test_var), 0 }, in test_unknown_origin()
[all …]
/kernel/linux/linux-6.6/kernel/kcsan/
Dkcsan_test.c328 static noinline void test_kernel_read(void) { sink_value(test_var); } in test_kernel_read() function
718 { test_kernel_read, &test_var, sizeof(test_var), 0 }, in test_basic()
723 { test_kernel_read, &test_var, sizeof(test_var), 0 }, in test_basic()
724 { test_kernel_read, &test_var, sizeof(test_var), 0 }, in test_basic()
730 begin_test_checks(test_kernel_write, test_kernel_read); in test_basic()
778 { test_kernel_read, &test_var, sizeof(test_var), 0 }, in test_novalue_change()
790 begin_test_checks(test_kernel_write_nochange, test_kernel_read); in test_novalue_change()
810 { test_kernel_read, &test_var, sizeof(test_var), 0 }, in test_novalue_change_exception()
822 begin_test_checks(test_kernel_write_nochange_rcu, test_kernel_read); in test_novalue_change_exception()
835 { test_kernel_read, &test_var, sizeof(test_var), 0 }, in test_unknown_origin()
[all …]
/kernel/linux/linux-6.6/Documentation/dev-tools/
Dkcsan.rst30 BUG: KCSAN: data-race in test_kernel_read / test_kernel_write
39 test_kernel_read+0x10/0x20