Lines Matching refs:test_struct
264 } test_struct; variable
378 kcsan_check_write(&test_struct, sizeof(test_struct)); in test_kernel_write_struct()
380 test_struct.val[3]++; /* induce value change */ in test_kernel_write_struct()
386 test_struct.val[3] = 42; in test_kernel_write_struct_part()
391 kcsan_check_read(&test_struct.val[3], 0); in test_kernel_read_struct_zero_size()
609 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_write_write_struct()
610 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_write_write_struct()
631 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_write_write_struct_part()
632 …{ test_kernel_write_struct_part, &test_struct.val[3], sizeof(test_struct.val[3]), KCSAN_ACCESS_WRI… in test_write_write_struct_part()
706 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_zero_size_access()
707 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_zero_size_access()
712 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_zero_size_access()
713 { test_kernel_read_struct_zero_size, &test_struct.val[3], 0, 0 }, in test_zero_size_access()