Searched refs:uattr (Results 1 – 2 of 2) sorted by relevance
/net/bpf/ |
D | test_run.c | 77 union bpf_attr __user *uattr, const void *data, in bpf_test_finish() argument 95 if (copy_to_user(&uattr->test.data_size_out, &size, sizeof(size))) in bpf_test_finish() 97 if (copy_to_user(&uattr->test.retval, &retval, sizeof(retval))) in bpf_test_finish() 99 if (copy_to_user(&uattr->test.duration, &duration, sizeof(duration))) in bpf_test_finish() 161 union bpf_attr __user *uattr, const void *data, in bpf_ctx_finish() argument 178 if (copy_to_user(&uattr->test.ctx_size_out, &size, sizeof(size))) in bpf_ctx_finish() 243 union bpf_attr __user *uattr) in bpf_prog_test_run_skb() argument 331 ret = bpf_test_finish(kattr, uattr, skb->data, size, retval, duration); in bpf_prog_test_run_skb() 333 ret = bpf_ctx_finish(kattr, uattr, ctx, in bpf_prog_test_run_skb() 344 union bpf_attr __user *uattr) in bpf_prog_test_run_xdp() argument [all …]
|
/net/core/ |
D | flow_dissector.c | 74 union bpf_attr __user *uattr) in skb_flow_dissector_prog_query() argument 98 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) in skb_flow_dissector_prog_query() 100 if (copy_to_user(&uattr->query.prog_cnt, &prog_cnt, sizeof(prog_cnt))) in skb_flow_dissector_prog_query()
|