Lines Matching refs:uattr

423 			   union bpf_attr __user *uattr, const void *data,  in bpf_test_finish()  argument
476 if (copy_to_user(&uattr->test.data_size_out, &size, sizeof(size))) in bpf_test_finish()
478 if (copy_to_user(&uattr->test.retval, &retval, sizeof(retval))) in bpf_test_finish()
480 if (copy_to_user(&uattr->test.duration, &duration, sizeof(duration))) in bpf_test_finish()
826 union bpf_attr __user *uattr) in bpf_prog_test_run_tracing() argument
859 if (copy_to_user(&uattr->test.retval, &retval, sizeof(retval))) in bpf_prog_test_run_tracing()
886 union bpf_attr __user *uattr) in bpf_prog_test_run_raw_tp() argument
935 copy_to_user(&uattr->test.retval, &info.retval, sizeof(u32))) in bpf_prog_test_run_raw_tp()
974 union bpf_attr __user *uattr, const void *data, in bpf_ctx_finish() argument
991 if (copy_to_user(&uattr->test.ctx_size_out, &size, sizeof(size))) in bpf_ctx_finish()
1113 union bpf_attr __user *uattr) in bpf_prog_test_run_skb() argument
1234 ret = bpf_test_finish(kattr, uattr, skb->data, NULL, size, retval, in bpf_prog_test_run_skb()
1237 ret = bpf_ctx_finish(kattr, uattr, ctx, in bpf_prog_test_run_skb()
1307 union bpf_attr __user *uattr) in bpf_prog_test_run_xdp() argument
1436 ret = bpf_test_finish(kattr, uattr, xdp.data_meta, sinfo, size, in bpf_prog_test_run_xdp()
1439 ret = bpf_ctx_finish(kattr, uattr, ctx, in bpf_prog_test_run_xdp()
1471 union bpf_attr __user *uattr) in bpf_prog_test_run_flow_dissector() argument
1526 ret = bpf_test_finish(kattr, uattr, &flow_keys, NULL, in bpf_prog_test_run_flow_dissector()
1529 ret = bpf_ctx_finish(kattr, uattr, user_ctx, in bpf_prog_test_run_flow_dissector()
1539 union bpf_attr __user *uattr) in bpf_prog_test_run_sk_lookup() argument
1628 ret = bpf_test_finish(kattr, uattr, NULL, NULL, 0, retval, duration); in bpf_prog_test_run_sk_lookup()
1630 ret = bpf_ctx_finish(kattr, uattr, user_ctx, sizeof(*user_ctx)); in bpf_prog_test_run_sk_lookup()
1640 union bpf_attr __user *uattr) in bpf_prog_test_run_syscall() argument
1669 if (copy_to_user(&uattr->test.retval, &retval, sizeof(u32))) { in bpf_prog_test_run_syscall()