Home
last modified time | relevance | path

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

/openbmc/linux/kernel/kcsan/
H A Dkcsan_test.c47 static void (*access_kernels[2])(void); variable
74 smp_store_release(&access_kernels[0], func1); in begin_test_checks()
75 smp_store_release(&access_kernels[1], func2); in begin_test_checks()
1458 idx = (unsigned int)atomic_inc_return(&cnt) % ARRAY_SIZE(access_kernels); in access_thread_timer()
1460 func = smp_load_acquire(&access_kernels[idx]); in access_thread_timer()
1482 idx = cnt++ % ARRAY_SIZE(access_kernels); in access_thread()
1484 func = smp_load_acquire(&access_kernels[idx]); in access_thread()
1518 for (i = 0; i < ARRAY_SIZE(access_kernels); ++i) { in test_init()
1519 if (WARN_ON(access_kernels[i])) in test_init()
1560 for (i = 0; i < ARRAY_SIZE(access_kernels); ++i) in test_exit()
[all …]