Searched refs:ctx_out (Results 1 – 15 of 15) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_context_test_run.c | 33 struct xdp_md ctx_in, ctx_out; in test_xdp_context_test_run() local 37 .ctx_out = &ctx_out, in test_xdp_context_test_run() 38 .ctx_size_out = sizeof(ctx_out), in test_xdp_context_test_run() 69 ASSERT_EQ(ctx_out.data_meta, 0, "valid-datameta"); in test_xdp_context_test_run() 70 ASSERT_EQ(ctx_out.data, 0, "valid-data"); in test_xdp_context_test_run() 71 ASSERT_EQ(ctx_out.data_end, sizeof(pkt_v4), "valid-dataend"); in test_xdp_context_test_run()
|
D | skb_helpers.c | 17 .ctx_out = &skb, in test_skb_helpers()
|
D | time_tai.c | 32 .ctx_out = &skb, in test_time_tai()
|
D | skb_ctx.c | 28 .ctx_out = &skb, in test_skb_ctx()
|
D | sk_lookup.c | 1094 .ctx_out = &ctx, in run_sk_assign()
|
/Linux-v6.1/tools/lib/bpf/ |
D | bpf.h | 359 void *ctx_out; /* optional */ member 417 void *ctx_out; /* optional */ member
|
D | bpf.c | 888 attr.test.ctx_out = ptr_to_u64(OPTS_GET(opts, ctx_out, NULL)); in bpf_prog_test_run_opts()
|
/Linux-v6.1/tools/bpf/bpftool/Documentation/ |
D | bpftool-prog.rst | 38 …ILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_s… 177 …ILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_s… 191 written to the *FILE* passed with **ctx_out**. For both 207 not all of them can take the **ctx_in**/**ctx_out**
|
/Linux-v6.1/tools/bpf/bpftool/ |
D | prog.c | 1265 void *ctx_in = NULL, *ctx_out = NULL; in do_run() local 1381 err = alloc_run_data(&ctx_out, test_attr.ctx_size_out); in do_run() 1390 test_attr.ctx_out = ctx_out; in do_run() 1411 err += print_run_output(test_attr.ctx_out, in do_run() 1426 free(ctx_out); in do_run()
|
/Linux-v6.1/net/bpf/ |
D | test_run.c | 862 kattr->test.ctx_out || kattr->test.duration || in bpf_prog_test_run_raw_tp() 911 void __user *data_out = u64_to_user_ptr(kattr->test.ctx_out); in bpf_ctx_init() 943 void __user *data_out = u64_to_user_ptr(kattr->test.ctx_out); in bpf_ctx_finish() 1319 (do_live && (kattr->test.data_out || kattr->test.ctx_out))) in bpf_prog_test_run_xdp() 1616 kattr->test.ctx_out || kattr->test.duration || in bpf_prog_test_run_syscall()
|
/Linux-v6.1/Documentation/bpf/ |
D | bpf_prog_run.rst | 70 it, etc). For this reason, setting the ``data_out`` or ``ctx_out`` attributes
|
/Linux-v6.1/tools/bpf/bpftool/bash-completion/ |
D | bpftool | 571 data_in|data_out|ctx_in|ctx_out) 580 ctx_in ctx_out ctx_size_out repeat'
|
/Linux-v6.1/tools/include/uapi/linux/ |
D | bpf.h | 1430 __aligned_u64 ctx_out; member
|
/Linux-v6.1/include/uapi/linux/ |
D | bpf.h | 1430 __aligned_u64 ctx_out; member
|
/Linux-v6.1/kernel/bpf/ |
D | syscall.c | 3621 if ((attr->test.ctx_size_out && !attr->test.ctx_out) || in bpf_prog_test_run() 3622 (!attr->test.ctx_size_out && attr->test.ctx_out)) in bpf_prog_test_run() 5120 attr->test.ctx_out || attr->test.duration || in kern_sys_bpf()
|