Searched refs:data_size_out (Results 1 – 14 of 14) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | xdp_adjust_tail.c | 75 .data_size_out = 0, /* Per test */ in test_xdp_adjust_tail_grow2() 85 tattr.data_size_out = 128; /* Limit copy_size */ in test_xdp_adjust_tail_grow2() 91 || tattr.data_size_out != 192, /* Expected grow size */ in test_xdp_adjust_tail_grow2() 94 err, errno, tattr.retval, tattr.data_size_out); in test_xdp_adjust_tail_grow2() 97 CHECK_ATTR(tattr.data_size_out != 192 in test_xdp_adjust_tail_grow2() 103 err, errno, tattr.retval, tattr.data_size_out); in test_xdp_adjust_tail_grow2() 108 tattr.data_size_out = sizeof(buf); /* Copy everything */ in test_xdp_adjust_tail_grow2() 114 || tattr.data_size_out != max_grow,/* Expect max grow size */ in test_xdp_adjust_tail_grow2() 117 err, errno, tattr.retval, tattr.data_size_out, max_grow); in test_xdp_adjust_tail_grow2() 125 || tattr.data_size_out != max_grow, /* Total grow size */ in test_xdp_adjust_tail_grow2() [all …]
|
A D | prog_run_xattr.c | 35 .data_size_out = 5, in test_prog_run_xattr() 52 CHECK_ATTR(tattr.data_size_out != sizeof(pkt_v4), "data_size_out", in test_prog_run_xattr() 54 sizeof(pkt_v4), tattr.data_size_out); in test_prog_run_xattr() 63 tattr.data_size_out = 0; in test_prog_run_xattr() 71 tattr.data_size_out = 1; in test_prog_run_xattr()
|
A D | check_mtu.c | 92 .data_size_out = sizeof(buf), in test_check_mtu_run_xdp() 152 .data_size_out = sizeof(buf), in test_check_mtu_run_tc()
|
A D | xdp_context_test_run.c | 67 ASSERT_EQ(opts.data_size_out, sizeof(pkt_v4), "valid-datasize"); in test_xdp_context_test_run()
|
A D | cls_redirect.c | 166 return tattr->data_size_out < tattr->data_size_in; in was_decapsulated() 411 tattr.data_size_out = sizeof(tmp); in test_cls_redirect_common()
|
A D | flow_dissector.c | 591 CHECK_ATTR(tattr.data_size_out != sizeof(flow_keys) || in test_flow_dissector() 596 tattr.data_size_out, sizeof(flow_keys)); in test_flow_dissector()
|
/linux/tools/lib/bpf/ |
A D | bpf.c | 845 *size_out = attr.test.data_size_out; in bpf_prog_test_run() 859 if (!test_attr->data_out && test_attr->data_size_out > 0) in bpf_prog_test_run_xattr() 867 attr.test.data_size_out = test_attr->data_size_out; in bpf_prog_test_run_xattr() 876 test_attr->data_size_out = attr.test.data_size_out; in bpf_prog_test_run_xattr() 901 attr.test.data_size_out = OPTS_GET(opts, data_size_out, 0); in bpf_prog_test_run_opts() 909 OPTS_SET(opts, data_size_out, attr.test.data_size_out); in bpf_prog_test_run_opts()
|
A D | bpf.h | 213 __u32 data_size_out; /* in: max length of data_out member 269 __u32 data_size_out; /* in: max length of data_out member
|
/linux/net/bpf/ |
A D | test_run.c | 142 if (kattr->test.data_size_out && in bpf_test_finish() 143 copy_size > kattr->test.data_size_out) { in bpf_test_finish() 144 copy_size = kattr->test.data_size_out; in bpf_test_finish() 150 if (copy_to_user(&uattr->test.data_size_out, &size, sizeof(size))) in bpf_test_finish() 944 kattr->test.data_size_out) in bpf_prog_test_run_sk_lookup()
|
/linux/tools/bpf/bpftool/ |
A D | prog.c | 1233 test_attr.data_size_out = strtoul(*argv, &endptr, 0); in do_run() 1294 if (!test_attr.data_size_out) in do_run() 1295 test_attr.data_size_out = default_size; in do_run() 1296 err = alloc_run_data(&data_out, test_attr.data_size_out); in do_run() 1334 if (test_attr.data_size_out) in do_run() 1336 test_attr.data_size_out, in do_run()
|
/linux/tools/bpf/bpftool/Documentation/ |
A D | bpftool-prog.rst | 34 | **bpftool** **prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] … 172 …**bpftool prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ct… 190 context are discarded. Keywords **data_size_out** and
|
/linux/tools/bpf/bpftool/bash-completion/ |
A D | bpftool | 575 repeat|data_size_out|ctx_size_out) 579 _bpftool_once_attr 'data_in data_out data_size_out \
|
/linux/tools/include/uapi/linux/ |
A D | bpf.h | 1370 __u32 data_size_out; /* input/output: len of data_out member
|
/linux/include/uapi/linux/ |
A D | bpf.h | 1370 __u32 data_size_out; /* input/output: len of data_out member
|
Completed in 46 milliseconds