Lines Matching refs:test_struct
306 } test_struct; variable
432 kcsan_check_write(&test_struct, sizeof(test_struct)); in test_kernel_write_struct()
434 test_struct.val[3]++; /* induce value change */ in test_kernel_write_struct()
440 test_struct.val[3] = 42; in test_kernel_write_struct_part()
445 kcsan_check_read(&test_struct.val[3], 0); in test_kernel_read_struct_zero_size()
492 long *flag = &test_struct.val[0]; \
883 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_write_write_struct()
884 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_write_write_struct()
905 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_write_write_struct_part()
906 …{ test_kernel_write_struct_part, &test_struct.val[3], sizeof(test_struct.val[3]), KCSAN_ACCESS_WRI… in test_write_write_struct_part()
980 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_zero_size_access()
981 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_zero_size_access()
986 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_zero_size_access()
987 { test_kernel_read_struct_zero_size, &test_struct.val[3], 0, 0 }, in test_zero_size_access()
1293 test_struct.val[0] = 0; /* init unlocked */ in test_correct_barrier()
1312 test_struct.val[0] = 0; /* init unlocked */ in test_missing_barrier()
1334 test_struct.val[0] = 0; /* init unlocked */ in test_atomic_builtins_correct_barrier()
1354 test_struct.val[0] = 0; /* init unlocked */ in test_atomic_builtins_missing_barrier()