Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dskb_ctx.c19 .ctx_out = &skb, in test_skb_ctx()
/Linux-v5.4/net/bpf/
Dtest_run.c131 void __user *data_out = u64_to_user_ptr(kattr->test.ctx_out); in bpf_ctx_init()
163 void __user *data_out = u64_to_user_ptr(kattr->test.ctx_out); in bpf_ctx_finish()
353 if (kattr->test.ctx_in || kattr->test.ctx_out) in bpf_prog_test_run_xdp()
/Linux-v5.4/tools/bpf/bpftool/
Dprog.c920 void *ctx_in = NULL, *ctx_out = NULL; in do_run() local
1035 err = alloc_run_data(&ctx_out, test_attr.ctx_size_out); in do_run()
1045 test_attr.ctx_out = ctx_out; in do_run()
1066 err += print_run_output(test_attr.ctx_out, in do_run()
1081 free(ctx_out); in do_run()
/Linux-v5.4/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst32 …ILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_s…
150 …ILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_s…
164 written to the *FILE* passed with **ctx_out**. For both
180 not all of them can take the **ctx_in**/**ctx_out**
/Linux-v5.4/tools/lib/bpf/
Dbpf.h143 void *ctx_out; /* optional */ member
Dbpf.c558 attr.test.ctx_out = ptr_to_u64(test_attr->ctx_out); in bpf_prog_test_run_xattr()
/Linux-v5.4/tools/bpf/bpftool/bash-completion/
Dbpftool428 data_in|data_out|ctx_in|ctx_out)
437 ctx_in ctx_out ctx_size_out repeat'
/Linux-v5.4/include/uapi/linux/
Dbpf.h456 __aligned_u64 ctx_out; member
/Linux-v5.4/tools/include/uapi/linux/
Dbpf.h456 __aligned_u64 ctx_out; member
/Linux-v5.4/kernel/bpf/
Dsyscall.c2094 #define BPF_PROG_TEST_RUN_LAST_FIELD test.ctx_out
2111 if ((attr->test.ctx_size_out && !attr->test.ctx_out) || in bpf_prog_test_run()
2112 (!attr->test.ctx_size_out && attr->test.ctx_out)) in bpf_prog_test_run()