Home
last modified time | relevance | path

Searched refs:__uint (Results 1 – 25 of 35) sorted by relevance

12

/tools/testing/selftests/bpf/progs/
Dsockmap_verdict_prog.c8 __uint(type, BPF_MAP_TYPE_SOCKMAP);
9 __uint(max_entries, 20);
10 __uint(key_size, sizeof(int));
11 __uint(value_size, sizeof(int));
15 __uint(type, BPF_MAP_TYPE_SOCKMAP);
16 __uint(max_entries, 20);
17 __uint(key_size, sizeof(int));
18 __uint(value_size, sizeof(int));
22 __uint(type, BPF_MAP_TYPE_SOCKMAP);
23 __uint(max_entries, 20);
[all …]
Dtest_map_in_map.c9 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
10 __uint(max_entries, 1);
11 __uint(map_flags, 0);
12 __uint(key_size, sizeof(__u32));
14 __uint(value_size, sizeof(__u32));
18 __uint(type, BPF_MAP_TYPE_HASH_OF_MAPS);
19 __uint(max_entries, 1);
20 __uint(map_flags, 0);
21 __uint(key_size, sizeof(int));
23 __uint(value_size, sizeof(__u32));
Dtest_stacktrace_build_id.c12 __uint(type, BPF_MAP_TYPE_ARRAY);
13 __uint(max_entries, 1);
19 __uint(type, BPF_MAP_TYPE_HASH);
20 __uint(max_entries, 16384);
28 __uint(type, BPF_MAP_TYPE_STACK_TRACE);
29 __uint(max_entries, 128);
30 __uint(map_flags, BPF_F_STACK_BUILD_ID);
31 __uint(key_size, sizeof(__u32));
32 __uint(value_size, sizeof(stack_trace_t));
36 __uint(type, BPF_MAP_TYPE_ARRAY);
[all …]
Dtest_stacktrace_map.c12 __uint(type, BPF_MAP_TYPE_ARRAY);
13 __uint(max_entries, 1);
19 __uint(type, BPF_MAP_TYPE_HASH);
20 __uint(max_entries, 16384);
28 __uint(type, BPF_MAP_TYPE_STACK_TRACE);
29 __uint(max_entries, 16384);
30 __uint(key_size, sizeof(__u32));
31 __uint(value_size, sizeof(stack_trace_t));
35 __uint(type, BPF_MAP_TYPE_ARRAY);
36 __uint(max_entries, 16384);
Dtest_get_stack_rawtp.c19 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
20 __uint(max_entries, 2);
21 __uint(key_size, sizeof(int));
22 __uint(value_size, sizeof(__u32));
26 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
27 __uint(max_entries, 1);
51 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
52 __uint(max_entries, 1);
Dtest_select_reuseport_kern.c25 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
26 __uint(max_entries, 1);
27 __uint(key_size, sizeof(__u32));
28 __uint(value_size, sizeof(__u32));
32 __uint(type, BPF_MAP_TYPE_ARRAY);
33 __uint(max_entries, NR_RESULTS);
39 __uint(type, BPF_MAP_TYPE_ARRAY);
40 __uint(max_entries, 1);
46 __uint(type, BPF_MAP_TYPE_ARRAY);
47 __uint(max_entries, 1);
[all …]
Dpyperf.h114 __uint(type, BPF_MAP_TYPE_HASH);
115 __uint(max_entries, 1);
121 __uint(type, BPF_MAP_TYPE_HASH);
122 __uint(max_entries, 1);
128 __uint(type, BPF_MAP_TYPE_HASH);
129 __uint(max_entries, 1);
135 __uint(type, BPF_MAP_TYPE_ARRAY);
136 __uint(max_entries, 1);
142 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
143 __uint(max_entries, 32);
[all …]
Dtest_tcpnotify_kern.c18 __uint(type, BPF_MAP_TYPE_ARRAY);
19 __uint(max_entries, 4);
25 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
26 __uint(max_entries, 2);
27 __uint(key_size, sizeof(int));
28 __uint(value_size, sizeof(__u32));
Dxdp_redirect_map.c7 __uint(type, BPF_MAP_TYPE_DEVMAP);
8 __uint(max_entries, 8);
9 __uint(key_size, sizeof(int));
10 __uint(value_size, sizeof(int));
Dget_cgroup_id_kern.c8 __uint(type, BPF_MAP_TYPE_ARRAY);
9 __uint(max_entries, 1);
15 __uint(type, BPF_MAP_TYPE_ARRAY);
16 __uint(max_entries, 1);
Dsockopt_inherit.c18 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
19 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
25 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
26 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
32 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
33 __uint(map_flags, BPF_F_NO_PREALLOC);
Dtest_send_signal_kern.c8 __uint(type, BPF_MAP_TYPE_ARRAY);
9 __uint(max_entries, 1);
15 __uint(type, BPF_MAP_TYPE_ARRAY);
16 __uint(max_entries, 1);
Dtest_global_data.c11 __uint(type, BPF_MAP_TYPE_ARRAY);
12 __uint(max_entries, 11);
18 __uint(type, BPF_MAP_TYPE_ARRAY);
19 __uint(max_entries, 5);
31 __uint(type, BPF_MAP_TYPE_ARRAY);
32 __uint(max_entries, 5);
Dtest_perf_buffer.c9 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
10 __uint(key_size, sizeof(int));
11 __uint(value_size, sizeof(int));
Dstrobemeta.h208 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
209 __uint(max_entries, 32);
210 __uint(key_size, sizeof(int));
211 __uint(value_size, sizeof(int));
215 __uint(type, BPF_MAP_TYPE_STACK_TRACE);
216 __uint(max_entries, 16);
217 __uint(key_size, sizeof(uint32_t));
218 __uint(value_size, sizeof(uint64_t) * PERF_MAX_STACK_DEPTH);
222 __uint(type, BPF_MAP_TYPE_STACK_TRACE);
223 __uint(max_entries, 16);
[all …]
Dtest_map_lock.c15 __uint(type, BPF_MAP_TYPE_HASH);
16 __uint(max_entries, 1);
27 __uint(type, BPF_MAP_TYPE_ARRAY);
28 __uint(max_entries, 1);
Dtest_sock_fields_kern.c31 __uint(type, BPF_MAP_TYPE_ARRAY);
32 __uint(max_entries, __NR_BPF_ADDR_ARRAY_IDX);
38 __uint(type, BPF_MAP_TYPE_ARRAY);
39 __uint(max_entries, __NR_BPF_RESULT_ARRAY_IDX);
45 __uint(type, BPF_MAP_TYPE_ARRAY);
46 __uint(max_entries, __NR_BPF_RESULT_ARRAY_IDX);
52 __uint(type, BPF_MAP_TYPE_ARRAY);
53 __uint(max_entries, __NR_BPF_LINUM_ARRAY_IDX);
64 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
65 __uint(map_flags, BPF_F_NO_PREALLOC);
[all …]
Dtest_spin_lock.c14 __uint(type, BPF_MAP_TYPE_HASH);
15 __uint(max_entries, 1);
26 __uint(type, BPF_MAP_TYPE_CGROUP_STORAGE);
40 __uint(type, BPF_MAP_TYPE_ARRAY);
41 __uint(max_entries, 1);
Dtest_obj_id.c17 __uint(type, BPF_MAP_TYPE_ARRAY);
18 __uint(max_entries, 1);
Dtest_attach_probe.c9 __uint(type, BPF_MAP_TYPE_ARRAY);
10 __uint(max_entries, 4);
Dtest_tcpbpf_kern.c18 __uint(type, BPF_MAP_TYPE_ARRAY);
19 __uint(max_entries, 4);
25 __uint(type, BPF_MAP_TYPE_ARRAY);
26 __uint(max_entries, 2);
Dtest_btf_newkv.c24 __uint(type, BPF_MAP_TYPE_ARRAY);
25 __uint(max_entries, 4);
Dsocket_cookie_prog.c16 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
17 __uint(map_flags, BPF_F_NO_PREALLOC);
/tools/testing/selftests/bpf/
Dtest_queue_stack_map.h14 __uint(type, MAP_TYPE);
15 __uint(max_entries, 32);
16 __uint(map_flags, 0);
17 __uint(key_size, 0);
18 __uint(value_size, sizeof(__u32));
22 __uint(type, MAP_TYPE);
23 __uint(max_entries, 32);
24 __uint(map_flags, 0);
25 __uint(key_size, 0);
26 __uint(value_size, sizeof(__u32));
Dtest_sockmap_kern.h32 __uint(type, TEST_MAP_TYPE);
33 __uint(max_entries, 20);
34 __uint(key_size, sizeof(int));
35 __uint(value_size, sizeof(int));
39 __uint(type, TEST_MAP_TYPE);
40 __uint(max_entries, 20);
41 __uint(key_size, sizeof(int));
42 __uint(value_size, sizeof(int));
46 __uint(type, TEST_MAP_TYPE);
47 __uint(max_entries, 20);
[all …]

12