Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/
Dsysctl-test.c10 #define KUNIT_PROC_WRITE 1 macro
56 KUNIT_PROC_WRITE, buffer, &len, in sysctl_test_api_dointvec_null_tbl_data()
102 KUNIT_PROC_WRITE, buffer, &len, in sysctl_test_api_dointvec_table_maxlen_unset()
137 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_WRITE, buffer, in sysctl_test_api_dointvec_table_len_is_zero()
262 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_WRITE, in sysctl_test_dointvec_write_happy_single_positive()
292 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_WRITE, in sysctl_test_dointvec_write_happy_single_negative()
332 KUNIT_EXPECT_EQ(test, -EINVAL, proc_dointvec(&table, KUNIT_PROC_WRITE, in sysctl_test_api_dointvec_write_single_less_int_min()
364 KUNIT_EXPECT_EQ(test, -EINVAL, proc_dointvec(&table, KUNIT_PROC_WRITE, in sysctl_test_api_dointvec_write_single_greater_int_max()