Searched refs:ctx_size_out (Results 1 – 14 of 14) sorted by relevance
/openbmc/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 | 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()
|
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 | sk_lookup.c | 1094 .ctx_size_out = sizeof(ctx), in run_sk_assign()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf.h | 455 __u32 ctx_size_out; /* in: max length of ctx_out member 623 __u32 ctx_size_out; /* in: max length of ctx_out member
|
H A D | bpf.c | 970 attr.test.ctx_size_out = OPTS_GET(opts, ctx_size_out, 0); in bpf_prog_test_run_opts() 981 OPTS_SET(opts, ctx_size_out, attr.test.ctx_size_out); in bpf_prog_test_run_opts()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | prog.c | 1339 test_attr.ctx_size_out = strtoul(*argv, &endptr, 0); in do_run() 1384 if (!test_attr.ctx_size_out) in do_run() 1385 test_attr.ctx_size_out = default_size; in do_run() 1386 err = alloc_run_data(&ctx_out, test_attr.ctx_size_out); in do_run() 1415 if (test_attr.ctx_size_out) in do_run() 1417 test_attr.ctx_size_out, in do_run()
|
/openbmc/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-prog.rst | 38 …E* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_size_out** *M*]]] [**rep… 189 …E* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_size_out** *M*]]] [**rep… 208 **ctx_size_out** are used to pass the size (in bytes) for the
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 823 if (copy_size > kattr->test.ctx_size_out) { in bpf_ctx_finish() 824 copy_size = kattr->test.ctx_size_out; in bpf_ctx_finish() 830 if (copy_to_user(&uattr->test.ctx_size_out, &size, sizeof(size))) in bpf_ctx_finish()
|
/openbmc/linux/tools/bpf/bpftool/bash-completion/ |
H A D | bpftool | 580 repeat|data_size_out|ctx_size_out) 585 ctx_in ctx_out ctx_size_out repeat'
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1516 __u32 ctx_size_out; /* input/output: len of ctx_out member
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 1516 __u32 ctx_size_out; /* input/output: len of ctx_out member
|
/openbmc/linux/kernel/bpf/ |
H A D | syscall.c | 4100 if ((attr->test.ctx_size_out && !attr->test.ctx_out) || in bpf_prog_test_run() 4101 (!attr->test.ctx_size_out && attr->test.ctx_out)) in bpf_prog_test_run()
|