Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_context_test_run.c56 struct xdp_md ctx_in, ctx_out; in test_xdp_context_test_run() local
60 .ctx_out = &ctx_out, in test_xdp_context_test_run()
61 .ctx_size_out = sizeof(ctx_out), in test_xdp_context_test_run()
92 ASSERT_EQ(ctx_out.data_meta, 0, "valid-datameta"); in test_xdp_context_test_run()
93 ASSERT_EQ(ctx_out.data, 0, "valid-data"); in test_xdp_context_test_run()
94 ASSERT_EQ(ctx_out.data_end, sizeof(pkt_v4), "valid-dataend"); in test_xdp_context_test_run()
H A Dskb_helpers.c17 .ctx_out = &skb, in test_skb_helpers()
H A Dtime_tai.c32 .ctx_out = &skb, in test_time_tai()
H A Dskb_ctx.c28 .ctx_out = &skb, in test_skb_ctx()
H A Dsk_lookup.c1037 .ctx_out = &ctx, in run_sk_assign()
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst39 | **bpftool** **prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_size_out** *M*]]] [**repeat** *N*]
189 bpftool prog run *PROG* data_in *FILE* [data_out *FILE* [data_size_out *L*]] [ctx_in *FILE* [ctx_out *FILE* [ctx_size_out *M*]]] [repeat *N*]
201 passed with **ctx_out**. For both output flows, "**-**" can be used to
214 them can take the **ctx_in**/**ctx_out** arguments. bpftool does not
/linux/net/bpf/
H A Dtest_run.c794 kattr->test.ctx_out || kattr->test.duration || in bpf_prog_test_run_raw_tp()
857 void __user *data_out = u64_to_user_ptr(kattr->test.ctx_out); in bpf_ctx_init()
889 void __user *data_out = u64_to_user_ptr(kattr->test.ctx_out); in bpf_ctx_finish()
1376 (do_live && (kattr->test.data_out || kattr->test.ctx_out))) in bpf_prog_test_run_xdp()
1690 kattr->test.ctx_out || kattr->test.duration || in bpf_prog_test_run_syscall()
/linux/tools/include/uapi/linux/
H A Dbpf.h1721 __aligned_u64 ctx_out; member
/linux/include/uapi/linux/
H A Dbpf.h1721 __aligned_u64 ctx_out; member
/linux/kernel/bpf/
H A Dsyscall.c4795 if ((attr->test.ctx_size_out && !attr->test.ctx_out) || in bpf_prog_test_run()
4796 (!attr->test.ctx_size_out && attr->test.ctx_out)) in bpf_prog_test_run()
6535 attr->test.ctx_out || attr->test.duration || in kern_sys_bpf()