Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/kcsan/
Dkcsan-test.c255 } test_struct; variable
366 kcsan_check_write(&test_struct, sizeof(test_struct)); in test_kernel_write_struct()
368 test_struct.val[3]++; /* induce value change */ in test_kernel_write_struct()
374 test_struct.val[3] = 42; in test_kernel_write_struct_part()
379 kcsan_check_read(&test_struct.val[3], 0); in test_kernel_read_struct_zero_size()
575 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_write_write_struct()
576 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_write_write_struct()
597 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_write_write_struct_part()
598 …{ test_kernel_write_struct_part, &test_struct.val[3], sizeof(test_struct.val[3]), KCSAN_ACCESS_WRI… in test_write_write_struct_part()
674 { test_kernel_write_struct, &test_struct, sizeof(test_struct), KCSAN_ACCESS_WRITE }, in test_zero_size_access()
[all …]
/kernel/linux/linux-5.10/drivers/misc/
Dkgdbts.c163 struct test_struct { struct
172 struct test_struct *tst; argument
537 static struct test_struct plant_and_detach_test[] = {
548 static struct test_struct sw_breakpoint_test[] = {
564 static struct test_struct bad_read_test[] = {
582 static struct test_struct singlestep_break_test[] = {
603 static struct test_struct do_kernel_clone_test[] = {
621 static struct test_struct sys_open_test[] = {
639 static struct test_struct hw_breakpoint_test[] = {
654 static struct test_struct hw_write_break_test[] = {
[all …]
/kernel/linux/linux-5.10/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.c508 struct list_test_struct test_struct; in list_test_list_entry() local
510 KUNIT_EXPECT_PTR_EQ(test, &test_struct, list_entry(&(test_struct.list), in list_test_list_entry()