Searched refs:ctx_size_out (Results 1 – 13 of 13) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | skb_ctx.c | 29 .ctx_size_out = sizeof(skb), in test_skb_ctx() 49 tattr.ctx_size_out = 0; in test_skb_ctx() 52 tattr.ctx_size_out = sizeof(skb); in test_skb_ctx() 84 CHECK_ATTR(tattr.ctx_size_out != sizeof(skb), in test_skb_ctx() 87 sizeof(skb), tattr.ctx_size_out); in test_skb_ctx()
|
A D | xdp_context_test_run.c | 38 .ctx_size_out = sizeof(ctx_out), in test_xdp_context_test_run() 68 ASSERT_EQ(opts.ctx_size_out, opts.ctx_size_in, "valid-ctxsize"); in test_xdp_context_test_run()
|
A D | skb_helpers.c | 18 .ctx_size_out = sizeof(skb), in test_skb_helpers()
|
A D | sk_lookup.c | 1065 .ctx_size_out = sizeof(ctx), in run_sk_assign()
|
/linux/tools/lib/bpf/ |
A D | bpf.c | 871 attr.test.ctx_size_out = test_attr->ctx_size_out; in bpf_prog_test_run_xattr() 877 test_attr->ctx_size_out = attr.test.ctx_size_out; in bpf_prog_test_run_xattr() 899 attr.test.ctx_size_out = OPTS_GET(opts, ctx_size_out, 0); in bpf_prog_test_run_opts() 910 OPTS_SET(opts, ctx_size_out, attr.test.ctx_size_out); in bpf_prog_test_run_opts()
|
A D | bpf.h | 220 __u32 ctx_size_out; /* in: max length of ctx_out member 275 __u32 ctx_size_out; /* in: max length of ctx_out member
|
/linux/tools/bpf/bpftool/ |
A D | prog.c | 1261 test_attr.ctx_size_out = strtoul(*argv, &endptr, 0); in do_run() 1306 if (!test_attr.ctx_size_out) in do_run() 1307 test_attr.ctx_size_out = default_size; in do_run() 1308 err = alloc_run_data(&ctx_out, test_attr.ctx_size_out); in do_run() 1338 if (test_attr.ctx_size_out) in do_run() 1340 test_attr.ctx_size_out, in do_run()
|
/linux/tools/bpf/bpftool/Documentation/ |
A D | bpftool-prog.rst | 34 …E* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_size_out** *M*]]] [**rep… 172 …E* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_size_out** *M*]]] [**rep… 191 **ctx_size_out** are used to pass the size (in bytes) for the
|
/linux/net/bpf/ |
A D | test_run.c | 437 if (copy_size > kattr->test.ctx_size_out) { in bpf_ctx_finish() 438 copy_size = kattr->test.ctx_size_out; in bpf_ctx_finish() 444 if (copy_to_user(&uattr->test.ctx_size_out, &size, sizeof(size))) in bpf_ctx_finish()
|
/linux/tools/bpf/bpftool/bash-completion/ |
A D | bpftool | 575 repeat|data_size_out|ctx_size_out) 580 ctx_in ctx_out ctx_size_out repeat'
|
/linux/tools/include/uapi/linux/ |
A D | bpf.h | 1379 __u32 ctx_size_out; /* input/output: len of ctx_out member
|
/linux/include/uapi/linux/ |
A D | bpf.h | 1379 __u32 ctx_size_out; /* input/output: len of ctx_out member
|
/linux/kernel/bpf/ |
A D | syscall.c | 3340 if ((attr->test.ctx_size_out && !attr->test.ctx_out) || in bpf_prog_test_run() 3341 (!attr->test.ctx_size_out && attr->test.ctx_out)) in bpf_prog_test_run()
|
Completed in 49 milliseconds