Home
last modified time | relevance | path

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

1234567

/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_btf_map_in_map.c7 __uint(type, BPF_MAP_TYPE_ARRAY);
8 __uint(max_entries, 1);
15 __uint(type, BPF_MAP_TYPE_ARRAY);
16 __uint(max_entries, 2);
22 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
23 __uint(max_entries, 3);
28 __uint(type, BPF_MAP_TYPE_ARRAY);
31 __uint(max_entries, 1);
45 __uint(type, BPF_MAP_TYPE_ARRAY);
46 __uint(map_flags, BPF_F_INNER_MAP);
[all …]
Dmap_ptr_kern.c99 __uint(type, BPF_MAP_TYPE_HASH);
100 __uint(map_flags, BPF_F_NO_PREALLOC); /* to test bpf_htab.count */
101 __uint(max_entries, MAX_ENTRIES);
136 __uint(type, BPF_MAP_TYPE_ARRAY);
137 __uint(max_entries, MAX_ENTRIES);
168 __uint(type, BPF_MAP_TYPE_PROG_ARRAY);
169 __uint(max_entries, MAX_ENTRIES);
185 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
186 __uint(max_entries, MAX_ENTRIES);
202 __uint(type, BPF_MAP_TYPE_PERCPU_HASH);
[all …]
Dlsm.c13 __uint(type, BPF_MAP_TYPE_ARRAY);
14 __uint(max_entries, 1);
20 __uint(type, BPF_MAP_TYPE_HASH);
21 __uint(max_entries, 1);
27 __uint(type, BPF_MAP_TYPE_LRU_HASH);
28 __uint(max_entries, 1);
34 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
35 __uint(max_entries, 1);
41 __uint(type, BPF_MAP_TYPE_PERCPU_HASH);
42 __uint(max_entries, 1);
[all …]
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 …]
Dtest_queue_stack_map.h12 __uint(type, MAP_TYPE);
13 __uint(max_entries, 32);
14 __uint(map_flags, 0);
15 __uint(key_size, 0);
16 __uint(value_size, sizeof(__u32));
20 __uint(type, MAP_TYPE);
21 __uint(max_entries, 32);
22 __uint(map_flags, 0);
23 __uint(key_size, 0);
24 __uint(value_size, sizeof(__u32));
Dtest_pinning.c7 __uint(type, BPF_MAP_TYPE_ARRAY);
8 __uint(max_entries, 1);
11 __uint(pinning, LIBBPF_PIN_BY_NAME);
15 __uint(type, BPF_MAP_TYPE_HASH);
16 __uint(max_entries, 1);
22 __uint(type, BPF_MAP_TYPE_HASH);
23 __uint(max_entries, 1);
26 __uint(pinning, LIBBPF_PIN_NONE);
Dxdp_redirect_multi_kern.c16 __uint(type, BPF_MAP_TYPE_DEVMAP);
17 __uint(key_size, sizeof(int));
18 __uint(value_size, sizeof(int));
19 __uint(max_entries, 1024);
23 __uint(type, BPF_MAP_TYPE_DEVMAP_HASH);
24 __uint(key_size, sizeof(int));
25 __uint(value_size, sizeof(struct bpf_devmap_val));
26 __uint(max_entries, 128);
31 __uint(type, BPF_MAP_TYPE_HASH);
34 __uint(max_entries, 128);
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);
36 __uint(type, BPF_MAP_TYPE_ARRAY);
37 __uint(max_entries, 128);
Dtailcall_bpf2bpf4.c6 __uint(type, BPF_MAP_TYPE_ARRAY);
7 __uint(max_entries, 1);
8 __uint(key_size, sizeof(__u32));
9 __uint(value_size, sizeof(__u32));
13 __uint(type, BPF_MAP_TYPE_PROG_ARRAY);
14 __uint(max_entries, 3);
15 __uint(key_size, sizeof(__u32));
16 __uint(value_size, sizeof(__u32));
Dsockmap_verdict_prog.c6 __uint(type, BPF_MAP_TYPE_SOCKMAP);
7 __uint(max_entries, 20);
13 __uint(type, BPF_MAP_TYPE_SOCKMAP);
14 __uint(max_entries, 20);
20 __uint(type, BPF_MAP_TYPE_SOCKMAP);
21 __uint(max_entries, 20);
27 __uint(type, BPF_MAP_TYPE_ARRAY);
28 __uint(max_entries, 20);
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);
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);
Dpyperf.h121 __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_HASH);
136 __uint(max_entries, 1);
142 __uint(type, BPF_MAP_TYPE_ARRAY);
143 __uint(max_entries, 1);
149 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
150 __uint(max_entries, 32);
[all …]
Dbloom_filter_map.c12 __uint(type, BPF_MAP_TYPE_ARRAY);
15 __uint(max_entries, 1000);
19 __uint(type, BPF_MAP_TYPE_BLOOM_FILTER);
21 __uint(max_entries, 10000);
22 __uint(map_extra, 5);
26 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
29 __uint(max_entries, 1);
Dtest_select_reuseport_kern.c23 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
24 __uint(max_entries, 1);
30 __uint(type, BPF_MAP_TYPE_ARRAY);
31 __uint(max_entries, NR_RESULTS);
37 __uint(type, BPF_MAP_TYPE_ARRAY);
38 __uint(max_entries, 1);
44 __uint(type, BPF_MAP_TYPE_ARRAY);
45 __uint(max_entries, 1);
51 __uint(type, BPF_MAP_TYPE_ARRAY);
52 __uint(max_entries, 1);
Dtest_map_in_map.c9 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
10 __uint(max_entries, 1);
11 __uint(map_flags, 0);
17 __uint(type, BPF_MAP_TYPE_HASH_OF_MAPS);
18 __uint(max_entries, 1);
19 __uint(map_flags, 0);
Dtest_sockmap_update.c7 __uint(type, BPF_MAP_TYPE_SOCKMAP);
8 __uint(max_entries, 1);
14 __uint(type, BPF_MAP_TYPE_SOCKMAP);
15 __uint(max_entries, 1);
21 __uint(type, BPF_MAP_TYPE_SOCKHASH);
22 __uint(max_entries, 1);
Dbpf_iter_sockmap.c12 __uint(type, BPF_MAP_TYPE_SOCKMAP);
13 __uint(max_entries, 64);
19 __uint(type, BPF_MAP_TYPE_SOCKHASH);
20 __uint(max_entries, 64);
26 __uint(type, BPF_MAP_TYPE_SOCKHASH);
27 __uint(max_entries, 64);
Dtest_skmsg_load_helpers.c7 __uint(type, BPF_MAP_TYPE_SOCKMAP);
8 __uint(max_entries, 2);
14 __uint(type, BPF_MAP_TYPE_SOCKHASH);
15 __uint(max_entries, 2);
21 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
22 __uint(map_flags, BPF_F_NO_PREALLOC);
Dnetns_cookie_prog.c10 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
11 __uint(map_flags, BPF_F_NO_PREALLOC);
17 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
18 __uint(map_flags, BPF_F_NO_PREALLOC);
24 __uint(type, BPF_MAP_TYPE_SOCKMAP);
25 __uint(max_entries, 2);
Dtimer_mim_reject.c16 __uint(type, BPF_MAP_TYPE_HASH);
17 __uint(max_entries, 1024);
27 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
28 __uint(max_entries, 2);
29 __uint(key_size, sizeof(int));
30 __uint(value_size, sizeof(int));
/external/bpftool/src/skeleton/
Dprofiler.bpf.c9 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
10 __uint(key_size, sizeof(u32));
11 __uint(value_size, sizeof(int));
16 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
17 __uint(key_size, sizeof(u32));
18 __uint(value_size, sizeof(struct bpf_perf_event_value));
23 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
24 __uint(key_size, sizeof(u32));
25 __uint(value_size, sizeof(struct bpf_perf_event_value));
30 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
[all …]
/external/bcc/libbpf-tools/
Dtcpconnect.bpf.c25 __uint(type, BPF_MAP_TYPE_HASH);
26 __uint(max_entries, MAX_ENTRIES);
29 __uint(map_flags, BPF_F_NO_PREALLOC);
33 __uint(type, BPF_MAP_TYPE_HASH);
34 __uint(max_entries, MAX_ENTRIES);
37 __uint(map_flags, BPF_F_NO_PREALLOC);
41 __uint(type, BPF_MAP_TYPE_HASH);
42 __uint(max_entries, MAX_ENTRIES);
45 __uint(map_flags, BPF_F_NO_PREALLOC);
49 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
[all …]
Dbiosnoop.bpf.c19 __uint(type, BPF_MAP_TYPE_CGROUP_ARRAY);
22 __uint(max_entries, 1);
31 __uint(type, BPF_MAP_TYPE_HASH);
32 __uint(max_entries, MAX_ENTRIES);
35 __uint(map_flags, BPF_F_NO_PREALLOC);
45 __uint(type, BPF_MAP_TYPE_HASH);
46 __uint(max_entries, MAX_ENTRIES);
52 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
53 __uint(key_size, sizeof(u32));
54 __uint(value_size, sizeof(u32));
Dbiolatency.bpf.c23 __uint(type, BPF_MAP_TYPE_CGROUP_ARRAY);
26 __uint(max_entries, 1);
30 __uint(type, BPF_MAP_TYPE_HASH);
31 __uint(max_entries, MAX_ENTRIES);
34 __uint(map_flags, BPF_F_NO_PREALLOC);
40 __uint(type, BPF_MAP_TYPE_HASH);
41 __uint(max_entries, MAX_ENTRIES);
44 __uint(map_flags, BPF_F_NO_PREALLOC);

1234567