Home
last modified time | relevance | path

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

/net/bpf/
Dtest_run.c130 static int bpf_test_finish(const union bpf_attr *kattr, in bpf_test_finish() argument
134 void __user *data_out = u64_to_user_ptr(kattr->test.data_out); in bpf_test_finish()
141 if (kattr->test.data_size_out && in bpf_test_finish()
142 copy_size > kattr->test.data_size_out) { in bpf_test_finish()
143 copy_size = kattr->test.data_size_out; in bpf_test_finish()
249 static void *bpf_test_init(const union bpf_attr *kattr, u32 size, in bpf_test_init() argument
252 void __user *data_in = u64_to_user_ptr(kattr->test.data_in); in bpf_test_init()
253 u32 user_size = kattr->test.data_size_in; in bpf_test_init()
276 const union bpf_attr *kattr, in bpf_prog_test_run_tracing() argument
284 if (kattr->test.flags || kattr->test.cpu) in bpf_prog_test_run_tracing()
[all …]