Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/kcsan/
Dkcsan_test.c306 } 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 …]
/Linux-v6.6/drivers/misc/
Dkgdbts.c164 struct test_struct { struct
173 struct test_struct *tst; argument
547 static struct test_struct plant_and_detach_test[] = {
558 static struct test_struct sw_breakpoint_test[] = {
574 static struct test_struct bad_read_test[] = {
592 static struct test_struct singlestep_break_test[] = {
613 static struct test_struct do_kernel_clone_test[] = {
631 static struct test_struct sys_open_test[] = {
649 static struct test_struct hw_breakpoint_test[] = {
664 static struct test_struct hw_write_break_test[] = {
[all …]
/Linux-v6.6/lib/
Dtest_memcat_p.c11 struct test_struct { struct
24 struct test_struct **in0, **in1, **out, **p; in test_memcat_p_init() argument
Dlist-test.c547 struct list_test_struct test_struct; in list_test_list_entry() local
549 KUNIT_EXPECT_PTR_EQ(test, &test_struct, list_entry(&(test_struct.list), in list_test_list_entry()
1008 struct hlist_test_struct test_struct; in hlist_test_entry() local
1010 KUNIT_EXPECT_PTR_EQ(test, &test_struct, in hlist_test_entry()
1011 hlist_entry(&(test_struct.list), in hlist_test_entry()
1017 struct hlist_test_struct test_struct; in hlist_test_entry_safe() local
1019 KUNIT_EXPECT_PTR_EQ(test, &test_struct, in hlist_test_entry_safe()
1020 hlist_entry_safe(&(test_struct.list), in hlist_test_entry_safe()