Home
last modified time | relevance | path

Searched refs:data_size_in (Results 1 – 25 of 64) sorted by relevance

123

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dempty_skb.c23 __u32 data_size_in; in test_empty_skb() member
36 .data_size_in = 0, in test_empty_skb()
44 .data_size_in = 0, in test_empty_skb()
58 .data_size_in = sizeof(eth_hlen), in test_empty_skb()
72 .data_size_in = sizeof(eth_hlen), in test_empty_skb()
83 .data_size_in = sizeof(eth_hlen_pp), in test_empty_skb()
90 .data_size_in = sizeof(eth_hlen_pp), in test_empty_skb()
125 tattr.data_size_in = tests[i].data_size_in; in test_empty_skb()
H A Dxdp_adjust_tail.c14 .data_size_in = sizeof(pkt_v4), in test_xdp_adjust_tail_shrink()
30 topts.data_size_in = sizeof(pkt_v6); in test_xdp_adjust_tail_shrink()
49 .data_size_in = sizeof(pkt_v4), in test_xdp_adjust_tail_grow()
65 topts.data_size_in = sizeof(pkt_v6); in test_xdp_adjust_tail_grow()
93 .data_size_in = 0, /* Per test */ in test_xdp_adjust_tail_grow2()
103 tattr.data_size_in = 64; /* Determine test case via pkt size */ in test_xdp_adjust_tail_grow2()
122 tattr.data_size_in = 128; /* Determine test case via pkt size */ in test_xdp_adjust_tail_grow2()
136 ASSERT_EQ(cnt, max_grow - tattr.data_size_in, "case-128-data cnt"); /* Grow increase */ in test_xdp_adjust_tail_grow2()
175 topts.data_size_in = 9000; in test_xdp_adjust_frags_tail_shrink()
239 topts.data_size_in = 9000; in test_xdp_adjust_frags_tail_grow()
[all …]
H A Drbtree.c16 .data_size_in = sizeof(pkt_v4), in test_rbtree_add_nodes()
38 .data_size_in = sizeof(pkt_v4), in test_rbtree_add_nodes_nested()
60 .data_size_in = sizeof(pkt_v4), in test_rbtree_add_and_remove()
82 .data_size_in = sizeof(pkt_v4), in test_rbtree_add_and_remove_array()
103 .data_size_in = sizeof(pkt_v4), in test_rbtree_first_and_remove()
127 .data_size_in = sizeof(pkt_v4), in test_rbtree_api_release_aliasing()
H A Dlocal_kptr_stash.c13 .data_size_in = sizeof(pkt_v4), in test_local_kptr_stash_simple()
34 .data_size_in = sizeof(pkt_v4), in test_local_kptr_stash_plain()
55 .data_size_in = sizeof(pkt_v4), in test_local_kptr_stash_local_with_root()
76 .data_size_in = sizeof(pkt_v4), in test_local_kptr_stash_unstash()
101 .data_size_in = sizeof(pkt_v4), in test_refcount_acquire_without_unstash()
H A Dpkt_access.c12 .data_size_in = sizeof(pkt_v4), in test_pkt_access()
25 topts.data_size_in = sizeof(pkt_v6); in test_pkt_access()
H A Dxdp_adjust_frags.c38 topts.data_size_in = 128; in test_xdp_update_frags()
63 topts.data_size_in = 9000; in test_xdp_update_frags()
131 topts.data_size_in = buf_size; in test_xdp_update_frags()
H A Dksyms_module.c15 .data_size_in = sizeof(pkt_v4), in test_ksyms_module_lskel()
42 .data_size_in = sizeof(pkt_v4), in test_ksyms_module_libbpf()
H A Dkfunc_call.c111 topts.data_size_in = sizeof(pkt_v4); in verify_success()
177 topts.data_size_in = sizeof(pkt_v4); in verify_fail()
240 .data_size_in = sizeof(pkt_v4), in test_subprog()
264 .data_size_in = sizeof(pkt_v4), in test_subprog_lskel()
H A Dtailcalls.c26 .data_size_in = sizeof(buff), in test_tailcall_1()
162 .data_size_in = sizeof(buff), in test_tailcall_2()
239 .data_size_in = sizeof(buff), in test_tailcall_count()
423 .data_size_in = sizeof(buff), in test_tailcall_4()
513 .data_size_in = sizeof(buff), in test_tailcall_5()
601 .data_size_in = sizeof(pkt_v4), in test_tailcall_bpf2bpf_1()
685 .data_size_in = sizeof(buff), in test_tailcall_bpf2bpf_2()
765 .data_size_in = sizeof(pkt_v4), in test_tailcall_bpf2bpf_3()
860 .data_size_in = sizeof(pkt_v4), in test_tailcall_bpf2bpf_4()
940 .data_size_in = sizeof(pkt_v4), in test_tailcall_bpf2bpf_6()
[all …]
H A Dxdp.c19 .data_size_in = sizeof(pkt_v4), in test_xdp()
43 topts.data_size_in = sizeof(pkt_v6); in test_xdp()
H A Dparse_tcp_hdr_opt.c37 .data_size_in = sizeof(pkt), in test_parse_opt()
67 .data_size_in = sizeof(pkt), in test_parse_opt_dynptr()
H A Dxdp_do_redirect.c74 .data_size_in = MAX_PKT_SIZE, in test_max_pkt_size()
81 opts.data_size_in += 1; in test_max_pkt_size()
99 .data_size_in = sizeof(data), in test_xdp_do_redirect()
H A Dxdp_noinline.c34 .data_size_in = sizeof(pkt_v4), in test_xdp_noinline()
55 topts.data_size_in = sizeof(pkt_v6); in test_xdp_noinline()
H A Ddynptr.c75 .data_size_in = sizeof(pkt_v4), in verify_success()
106 .data_size_in = sizeof(pkt_v4), in verify_success()
H A Dtype_cast.c15 .data_size_in = sizeof(pkt_v4), in test_xdp()
51 .data_size_in = sizeof(pkt_v4), in test_tc()
H A Dl4lb_all.c57 topts.data_size_in = sizeof(pkt_v4); in test_l4lb()
66 topts.data_size_in = sizeof(pkt_v6); in test_l4lb()
H A Dfor_each.c22 .data_size_in = sizeof(pkt_v4), in test_hash_map()
88 .data_size_in = sizeof(pkt_v4), in test_array_map()
156 .data_size_in = sizeof(pkt_v4), in test_multi_maps()
H A Dcheck_mtu.c89 .data_size_in = sizeof(pkt_v4), in test_check_mtu_run_xdp()
141 .data_size_in = sizeof(pkt_v4), in test_check_mtu_run_tc()
H A Dpkt_md_access.c12 .data_size_in = sizeof(pkt_v4), in test_pkt_md_access()
H A Djit_probe_mem.c12 .data_size_in = sizeof(pkt_v4), in test_jit_probe_mem()
H A Dskb_helpers.c14 .data_size_in = sizeof(pkt_v4), in test_skb_helpers()
H A Dxdp_perf.c12 .data_size_in = sizeof(in), in test_xdp_perf()
H A Dmap_ptr.c17 .data_size_in = sizeof(pkt_v4), in test_map_ptr()
H A Dtest_skb_pkt_end.c12 .data_size_in = sizeof(pkt_v4), in sanity_run()
/linux/net/bpf/
H A Dtest_run.c987 u32 size = kattr->test.data_size_in; in bpf_prog_test_run_skb()
1001 data = bpf_test_init(kattr, kattr->test.data_size_in, in bpf_prog_test_run_skb()
1208 u32 size = kattr->test.data_size_in; in bpf_prog_test_run_xdp()
1278 if (unlikely(kattr->test.data_size_in > size)) { in bpf_prog_test_run_xdp()
1281 while (size < kattr->test.data_size_in) { in bpf_prog_test_run_xdp()
1299 data_len = min_t(u32, kattr->test.data_size_in - size, in bpf_prog_test_run_xdp()
1368 u32 size = kattr->test.data_size_in; in bpf_prog_test_run_flow_dissector()
1385 data = bpf_test_init(kattr, kattr->test.data_size_in, size, 0, 0); in bpf_prog_test_run_flow_dissector()
1446 if (kattr->test.data_in || kattr->test.data_size_in || kattr->test.data_out || in bpf_prog_test_run_sk_lookup()
1640 u32 size = kattr->test.data_size_in; in bpf_prog_test_run_nf()
[all …]

123