Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dskb_helpers.c17 .ctx_out = &skb, in test_skb_helpers()
Dskb_ctx.c26 .ctx_out = &skb, in test_skb_ctx()
/Linux-v5.10/tools/lib/bpf/
Dbpf.h211 void *ctx_out; /* optional */ member
265 void *ctx_out; /* optional */ member
Dbpf.c714 attr.test.ctx_out = ptr_to_u64(test_attr->ctx_out); in bpf_prog_test_run_xattr()
746 attr.test.ctx_out = ptr_to_u64(OPTS_GET(opts, ctx_out, NULL)); in bpf_prog_test_run_opts()
/Linux-v5.10/net/bpf/
Dtest_run.c271 kattr->test.ctx_out || kattr->test.duration || in bpf_prog_test_run_raw_tp()
324 void __user *data_out = u64_to_user_ptr(kattr->test.ctx_out); in bpf_ctx_init()
356 void __user *data_out = u64_to_user_ptr(kattr->test.ctx_out); in bpf_ctx_finish()
629 if (kattr->test.ctx_in || kattr->test.ctx_out) in bpf_prog_test_run_xdp()
/Linux-v5.10/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst32 …ILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_s…
169 …ILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_s…
183 written to the *FILE* passed with **ctx_out**. For both
199 not all of them can take the **ctx_in**/**ctx_out**
/Linux-v5.10/tools/bpf/bpftool/
Dprog.c1168 void *ctx_in = NULL, *ctx_out = NULL; in do_run() local
1283 err = alloc_run_data(&ctx_out, test_attr.ctx_size_out); in do_run()
1293 test_attr.ctx_out = ctx_out; in do_run()
1314 err += print_run_output(test_attr.ctx_out, in do_run()
1329 free(ctx_out); in do_run()
/Linux-v5.10/tools/bpf/bpftool/bash-completion/
Dbpftool566 data_in|data_out|ctx_in|ctx_out)
575 ctx_in ctx_out ctx_size_out repeat'
/Linux-v5.10/tools/include/uapi/linux/
Dbpf.h597 __aligned_u64 ctx_out; member
/Linux-v5.10/include/uapi/linux/
Dbpf.h597 __aligned_u64 ctx_out; member
/Linux-v5.10/kernel/bpf/
Dsyscall.c3116 if ((attr->test.ctx_size_out && !attr->test.ctx_out) || in bpf_prog_test_run()
3117 (!attr->test.ctx_size_out && attr->test.ctx_out)) in bpf_prog_test_run()