Lines Matching refs:proc_dointvec
28 .proc_handler = proc_dointvec, in sysctl_test_api_dointvec_null_tbl_data()
46 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&null_data_table, in sysctl_test_api_dointvec_null_tbl_data()
55 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&null_data_table, in sysctl_test_api_dointvec_null_tbl_data()
78 .proc_handler = proc_dointvec, in sysctl_test_api_dointvec_table_maxlen_unset()
92 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&data_maxlen_unset_table, in sysctl_test_api_dointvec_table_maxlen_unset()
101 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&data_maxlen_unset_table, in sysctl_test_api_dointvec_table_maxlen_unset()
121 .proc_handler = proc_dointvec, in sysctl_test_api_dointvec_table_len_is_zero()
133 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_READ, buffer, in sysctl_test_api_dointvec_table_len_is_zero()
137 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_WRITE, buffer, in sysctl_test_api_dointvec_table_len_is_zero()
155 .proc_handler = proc_dointvec, in sysctl_test_api_dointvec_table_read_but_position_set()
172 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_READ, buffer, in sysctl_test_api_dointvec_table_read_but_position_set()
190 .proc_handler = proc_dointvec, in sysctl_test_dointvec_read_happy_single_positive()
201 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_READ, in sysctl_test_dointvec_read_happy_single_positive()
221 .proc_handler = proc_dointvec, in sysctl_test_dointvec_read_happy_single_negative()
231 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_READ, in sysctl_test_dointvec_read_happy_single_negative()
250 .proc_handler = proc_dointvec, in sysctl_test_dointvec_write_happy_single_positive()
262 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_WRITE, in sysctl_test_dointvec_write_happy_single_positive()
280 .proc_handler = proc_dointvec, in sysctl_test_dointvec_write_happy_single_negative()
292 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_WRITE, in sysctl_test_dointvec_write_happy_single_negative()
312 .proc_handler = proc_dointvec, in sysctl_test_api_dointvec_write_single_less_int_min()
332 KUNIT_EXPECT_EQ(test, -EINVAL, proc_dointvec(&table, KUNIT_PROC_WRITE, in sysctl_test_api_dointvec_write_single_less_int_min()
350 .proc_handler = proc_dointvec, in sysctl_test_api_dointvec_write_single_greater_int_max()
364 KUNIT_EXPECT_EQ(test, -EINVAL, proc_dointvec(&table, KUNIT_PROC_WRITE, in sysctl_test_api_dointvec_write_single_greater_int_max()