Home
last modified time | relevance | path

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

/kernel/
Dsysctl-test.c257 char input[] = "9"; in sysctl_test_dointvec_write_happy_single_positive() local
258 size_t len = sizeof(input) - 1; in sysctl_test_dointvec_write_happy_single_positive()
263 memcpy(buffer, input, len); in sysctl_test_dointvec_write_happy_single_positive()
267 KUNIT_EXPECT_EQ(test, sizeof(input) - 1, len); in sysctl_test_dointvec_write_happy_single_positive()
268 KUNIT_EXPECT_EQ(test, sizeof(input) - 1, (size_t)pos); in sysctl_test_dointvec_write_happy_single_positive()
287 char input[] = "-9"; in sysctl_test_dointvec_write_happy_single_negative() local
288 size_t len = sizeof(input) - 1; in sysctl_test_dointvec_write_happy_single_negative()
293 memcpy(buffer, input, len); in sysctl_test_dointvec_write_happy_single_negative()
297 KUNIT_EXPECT_EQ(test, sizeof(input) - 1, len); in sysctl_test_dointvec_write_happy_single_negative()
298 KUNIT_EXPECT_EQ(test, sizeof(input) - 1, (size_t)pos); in sysctl_test_dointvec_write_happy_single_negative()
Daudit.c1651 .input = audit_receive, in audit_net_init()
/kernel/trace/
Dkprobe_event_gen_test.c76 static bool trace_event_file_is_valid(struct trace_event_file *input) in trace_event_file_is_valid() argument
78 return input && !IS_ERR(input); in trace_event_file_is_valid()
/kernel/cgroup/
Dcgroup.c6603 int cgroup_parse_float(const char *input, unsigned dec_shift, s64 *v) in cgroup_parse_float() argument
6608 if (!sscanf(input, "%lld.%n%lld%n", &whole, &fstart, &frac, &fend)) in cgroup_parse_float()