Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dskb_ctx.c27 .ctx_size_out = sizeof(skb), in test_skb_ctx()
47 tattr.ctx_size_out = 0; in test_skb_ctx()
50 tattr.ctx_size_out = sizeof(skb); in test_skb_ctx()
82 CHECK_ATTR(tattr.ctx_size_out != sizeof(skb), in test_skb_ctx()
85 sizeof(skb), tattr.ctx_size_out); in test_skb_ctx()
Dxdp_context_test_run.c38 .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()
Dskb_helpers.c18 .ctx_size_out = sizeof(skb), in test_skb_helpers()
Dsk_lookup.c1065 .ctx_size_out = sizeof(ctx), in run_sk_assign()
/tools/lib/bpf/
Dbpf.c836 attr.test.ctx_size_out = test_attr->ctx_size_out; in bpf_prog_test_run_xattr()
842 test_attr->ctx_size_out = attr.test.ctx_size_out; in bpf_prog_test_run_xattr()
864 attr.test.ctx_size_out = OPTS_GET(opts, ctx_size_out, 0); in bpf_prog_test_run_opts()
875 OPTS_SET(opts, ctx_size_out, attr.test.ctx_size_out); in bpf_prog_test_run_opts()
Dbpf.h220 __u32 ctx_size_out; /* in: max length of ctx_out member
282 __u32 ctx_size_out; /* in: max length of ctx_out member
/tools/bpf/bpftool/
Dprog.c1254 test_attr.ctx_size_out = strtoul(*argv, &endptr, 0); in do_run()
1299 if (!test_attr.ctx_size_out) in do_run()
1300 test_attr.ctx_size_out = default_size; in do_run()
1301 err = alloc_run_data(&ctx_out, test_attr.ctx_size_out); in do_run()
1331 if (test_attr.ctx_size_out) in do_run()
1333 test_attr.ctx_size_out, in do_run()
/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst34 …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
/tools/bpf/bpftool/bash-completion/
Dbpftool575 repeat|data_size_out|ctx_size_out)
580 ctx_in ctx_out ctx_size_out repeat'
/tools/include/uapi/linux/
Dbpf.h1371 __u32 ctx_size_out; /* input/output: len of ctx_out member