Searched refs:test_struct (Results 1 – 1 of 1) sorted by relevance
/kernel/kcsan/ |
D | kcsan_test.c | 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() [all …]
|