Searched refs:ctx_size_out (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | skb_ctx.c | 29 .ctx_size_out = sizeof(skb), in test_skb_ctx() 48 tattr.ctx_size_out = 0; in test_skb_ctx() 51 tattr.ctx_size_out = sizeof(skb); in test_skb_ctx() 80 ASSERT_EQ(tattr.ctx_size_out, sizeof(skb), "ctx_size_out"); in test_skb_ctx()
|
| H A D | skb_helpers.c | 18 .ctx_size_out = sizeof(skb), in test_skb_helpers()
|
| H A D | time_tai.c | 33 .ctx_size_out = sizeof(skb), in test_time_tai()
|
| H A D | xdp_context_test_run.c | 61 .ctx_size_out = sizeof(ctx_out), in test_xdp_context_test_run() 91 ASSERT_EQ(opts.ctx_size_out, opts.ctx_size_in, "valid-ctxsize"); in test_xdp_context_test_run()
|
| H A D | sk_lookup.c | 1038 .ctx_size_out = sizeof(ctx), in run_sk_assign()
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-prog.rst | 39 | **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*] 204 discarded. Keywords **data_size_out** and **ctx_size_out** are used to pass
|
| /linux/net/bpf/ |
| H A D | test_run.c | 896 if (copy_size > kattr->test.ctx_size_out) { in bpf_ctx_finish() 897 copy_size = kattr->test.ctx_size_out; in bpf_ctx_finish() 903 if (copy_to_user(&uattr->test.ctx_size_out, &size, sizeof(size))) in bpf_ctx_finish()
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1716 __u32 ctx_size_out; /* input/output: len of ctx_out member
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1716 __u32 ctx_size_out; /* input/output: len of ctx_out member
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 4795 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()
|