/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | user_ringbuf_success.c | 12 __uint(type, BPF_MAP_TYPE_USER_RINGBUF); 16 __uint(type, BPF_MAP_TYPE_RINGBUF);
|
H A D | verifier_regalloc.c | 16 __uint(type, BPF_MAP_TYPE_HASH); 17 __uint(max_entries, 1);
|
H A D | percpu_alloc_fail.c | 30 __uint(type, BPF_MAP_TYPE_ARRAY); 31 __uint(max_entries, 1);
|
H A D | xdp_hw_metadata.c | 9 __uint(type, BPF_MAP_TYPE_XSKMAP); 10 __uint(max_entries, 256);
|
H A D | profiler.inc.h | 82 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 83 __uint(max_entries, 1); 89 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY); 90 __uint(key_size, sizeof(int)); 91 __uint(value_size, sizeof(int)); 95 __uint(type, BPF_MAP_TYPE_HASH); 96 __uint(max_entries, KILL_DATA_ARRAY_SIZE); 102 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 103 __uint(max_entries, profiler_bpf_max_function_id); 109 __uint(typ [all...] |
H A D | bpf_hashmap_lookup.c | 12 __uint(type, BPF_MAP_TYPE_HASH);
|
H A D | test_ringbuf.c | 18 __uint(type, BPF_MAP_TYPE_RINGBUF);
|
H A D | test_xdp_bpf2bpf.c | 38 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
|
H A D | test_bpf_ma.c | 39 __uint(type, BPF_MAP_TYPE_ARRAY); \ 42 __uint(max_entries, 128); \ 54 __uint(type, BPF_MAP_TYPE_ARRAY); \ 57 __uint(max_entries, 128); \
|
H A D | exceptions.c | 15 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 16 __uint(max_entries, 4); 17 __uint(key_size, sizeof(__u32)); 18 __uint(value_size, sizeof(__u32));
|
H A D | test_spin_lock_fail.c | 13 __uint(type, BPF_MAP_TYPE_ARRAY); 16 __uint(max_entries, 1); 20 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS); 21 __uint(max_entries, 1);
|
H A D | test_xdp.c | 25 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 26 __uint(max_entries, 256); 32 __uint(type, BPF_MAP_TYPE_HASH); 33 __uint(max_entries, MAX_IPTNL_ENTRIES);
|
H A D | test_xdp_loop.c | 21 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 22 __uint(max_entries, 256); 28 __uint(type, BPF_MAP_TYPE_HASH); 29 __uint(max_entries, MAX_IPTNL_ENTRIES);
|
H A D | verifier_iterating_callbacks.c | 6 __uint(type, BPF_MAP_TYPE_ARRAY); 7 __uint(max_entries, 8); 13 __uint(type, BPF_MAP_TYPE_USER_RINGBUF); 14 __uint(max_entries, 8);
|
H A D | test_l4lb.c | 171 __uint(type, BPF_MAP_TYPE_HASH); 172 __uint(max_entries, MAX_VIPS); 178 __uint(type, BPF_MAP_TYPE_ARRAY); 179 __uint(max_entries, CH_RINGS_SIZE); 185 __uint(type, BPF_MAP_TYPE_ARRAY); 186 __uint(max_entries, MAX_REALS); 192 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 193 __uint(max_entries, MAX_VIPS); 199 __uint(type, BPF_MAP_TYPE_ARRAY); 200 __uint(max_entrie [all...] |
H A D | test_l4lb_noinline.c | 167 __uint(type, BPF_MAP_TYPE_HASH); 168 __uint(max_entries, MAX_VIPS); 174 __uint(type, BPF_MAP_TYPE_ARRAY); 175 __uint(max_entries, CH_RINGS_SIZE); 181 __uint(type, BPF_MAP_TYPE_ARRAY); 182 __uint(max_entries, MAX_REALS); 188 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 189 __uint(max_entries, MAX_VIPS); 195 __uint(type, BPF_MAP_TYPE_ARRAY); 196 __uint(max_entrie [all...] |
H A D | test_l4lb_noinline_dynptr.c | 169 __uint(type, BPF_MAP_TYPE_HASH); 170 __uint(max_entries, MAX_VIPS); 176 __uint(type, BPF_MAP_TYPE_ARRAY); 177 __uint(max_entries, CH_RINGS_SIZE); 183 __uint(type, BPF_MAP_TYPE_ARRAY); 184 __uint(max_entries, MAX_REALS); 190 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 191 __uint(max_entries, MAX_VIPS); 197 __uint(type, BPF_MAP_TYPE_ARRAY); 198 __uint(max_entrie [all...] |
H A D | bpf_flow.c | 62 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 63 __uint(max_entries, MAX_PROG); 64 __uint(key_size, sizeof(__u32)); 65 __uint(value_size, sizeof(__u32)); 69 __uint(type, BPF_MAP_TYPE_HASH); 70 __uint(max_entries, 1024);
|
H A D | verifier_value_ptr_arith.c | 17 __uint(type, BPF_MAP_TYPE_ARRAY); 18 __uint(max_entries, 1); 29 __uint(type, BPF_MAP_TYPE_HASH); 30 __uint(max_entries, 1); 36 __uint(type, BPF_MAP_TYPE_HASH); 37 __uint(max_entries, 1);
|
H A D | verifier_helper_value_access.c | 14 __uint(type, BPF_MAP_TYPE_HASH); 15 __uint(max_entries, 1); 28 __uint(type, BPF_MAP_TYPE_HASH); 29 __uint(max_entries, 1); 35 __uint(type, BPF_MAP_TYPE_HASH); 36 __uint(max_entries, 1);
|
H A D | test_xdp_noinline.c | 169 __uint(type, BPF_MAP_TYPE_HASH); 170 __uint(max_entries, 512); 176 __uint(type, BPF_MAP_TYPE_LRU_HASH); 177 __uint(max_entries, 300); 178 __uint(map_flags, 1U << 1); 184 __uint(type, BPF_MAP_TYPE_ARRAY); 185 __uint(max_entries, 12 * 655); 191 __uint(type, BPF_MAP_TYPE_ARRAY); 192 __uint(max_entries, 40); 198 __uint(typ [all...] |
H A D | test_tcp_check_syncookie_kern.c | 20 __uint(type, BPF_MAP_TYPE_ARRAY); 23 __uint(max_entries, 3);
|
/linux-master/samples/bpf/ |
H A D | xdp_tx_iptunnel_kern.c | 23 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 26 __uint(max_entries, 256); 30 __uint(type, BPF_MAP_TYPE_HASH); 33 __uint(max_entries, MAX_IPTNL_ENTRIES);
|
H A D | xdp_adjust_tail_kern.c | 32 __uint(type, BPF_MAP_TYPE_ARRAY); 35 __uint(max_entries, 1);
|
/linux-master/tools/lib/bpf/ |
H A D | usdt.bpf.h | 64 __uint(type, BPF_MAP_TYPE_ARRAY); 65 __uint(max_entries, BPF_USDT_MAX_SPEC_CNT); 71 __uint(type, BPF_MAP_TYPE_HASH); 72 __uint(max_entries, BPF_USDT_MAX_IP_CNT);
|