Searched refs:test_struct (Results 1 – 3 of 3) sorted by relevance
| /linux/kernel/kcsan/ |
| H A D | kcsan_test.c | 306 } test_struct; variable 435 kcsan_check_write(&test_struct, sizeof(test_struct)); in test_kernel_write_struct() 437 test_struct.val[3]++; /* induce value change */ in test_kernel_write_struct() 443 test_struct.val[3] = 42; in test_kernel_write_struct_part() 448 kcsan_check_read(&test_struct.val[3], 0); in test_kernel_read_struct_zero_size() 495 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 …]
|
| /linux/lib/ |
| H A D | test_memcat_p.c | 11 struct test_struct { struct 24 struct test_struct **in0, **in1, **out, **p; in test_memcat_p_init() argument
|
| /linux/lib/tests/ |
| H A D | list-test.c | 555 struct list_test_struct test_struct; in list_test_list_entry() local 557 KUNIT_EXPECT_PTR_EQ(test, &test_struct, list_entry(&(test_struct.list), in list_test_list_entry() 1016 struct hlist_test_struct test_struct; in hlist_test_entry() local 1018 KUNIT_EXPECT_PTR_EQ(test, &test_struct, in hlist_test_entry() 1019 hlist_entry(&(test_struct.list), in hlist_test_entry() 1025 struct hlist_test_struct test_struct; in hlist_test_entry_safe() local 1027 KUNIT_EXPECT_PTR_EQ(test, &test_struct, in hlist_test_entry_safe() 1028 hlist_entry_safe(&(test_struct.list), in hlist_test_entry_safe()
|