Lines Matching refs:proc_dointvec
31 .proc_handler = proc_dointvec, in sysctl_test_api_dointvec_null_tbl_data()
49 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&null_data_table, in sysctl_test_api_dointvec_null_tbl_data()
58 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&null_data_table, in sysctl_test_api_dointvec_null_tbl_data()
81 .proc_handler = proc_dointvec, in sysctl_test_api_dointvec_table_maxlen_unset()
95 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&data_maxlen_unset_table, in sysctl_test_api_dointvec_table_maxlen_unset()
104 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&data_maxlen_unset_table, in sysctl_test_api_dointvec_table_maxlen_unset()
124 .proc_handler = proc_dointvec, in sysctl_test_api_dointvec_table_len_is_zero()
136 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_READ, buffer, in sysctl_test_api_dointvec_table_len_is_zero()
140 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_WRITE, buffer, in sysctl_test_api_dointvec_table_len_is_zero()
158 .proc_handler = proc_dointvec, in sysctl_test_api_dointvec_table_read_but_position_set()
175 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_READ, buffer, in sysctl_test_api_dointvec_table_read_but_position_set()
193 .proc_handler = proc_dointvec, in sysctl_test_dointvec_read_happy_single_positive()
204 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_READ, in sysctl_test_dointvec_read_happy_single_positive()
224 .proc_handler = proc_dointvec, in sysctl_test_dointvec_read_happy_single_negative()
234 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_READ, in sysctl_test_dointvec_read_happy_single_negative()
253 .proc_handler = proc_dointvec, in sysctl_test_dointvec_write_happy_single_positive()
265 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_WRITE, in sysctl_test_dointvec_write_happy_single_positive()
283 .proc_handler = proc_dointvec, in sysctl_test_dointvec_write_happy_single_negative()
295 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&table, KUNIT_PROC_WRITE, in sysctl_test_dointvec_write_happy_single_negative()
315 .proc_handler = proc_dointvec, in sysctl_test_api_dointvec_write_single_less_int_min()
335 KUNIT_EXPECT_EQ(test, -EINVAL, proc_dointvec(&table, KUNIT_PROC_WRITE, in sysctl_test_api_dointvec_write_single_less_int_min()
353 .proc_handler = proc_dointvec, in sysctl_test_api_dointvec_write_single_greater_int_max()
367 KUNIT_EXPECT_EQ(test, -EINVAL, proc_dointvec(&table, KUNIT_PROC_WRITE, in sysctl_test_api_dointvec_write_single_greater_int_max()