Home
last modified time | relevance | path

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

12345678910>>...13

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_btf_map_in_map.c8 __uint(max_entries, 1);
16 __uint(max_entries, 2);
23 __uint(max_entries, 3);
31 __uint(max_entries, 1);
47 __uint(max_entries, 3);
56 __uint(max_entries, 5);
63 __uint(max_entries, 3);
83 __uint(max_entries, 5);
99 __uint(max_entries, 1);
106 __uint(max_entries, 2);
[all …]
H A Dtest_unpriv_bpf_disabled.c16 __uint(type, BPF_MAP_TYPE_ARRAY);
17 __uint(max_entries, 1);
24 __uint(max_entries, 1);
30 __uint(type, BPF_MAP_TYPE_HASH);
31 __uint(max_entries, 1);
38 __uint(max_entries, 1);
50 __uint(type, BPF_MAP_TYPE_RINGBUF);
51 __uint(max_entries, 1 << 12);
56 __uint(max_entries, 1);
57 __uint(key_size, sizeof(__u32));
[all …]
H A Dlsm.c15 __uint(type, BPF_MAP_TYPE_ARRAY);
16 __uint(max_entries, 1);
22 __uint(type, BPF_MAP_TYPE_HASH);
23 __uint(max_entries, 1);
30 __uint(max_entries, 1);
37 __uint(max_entries, 1);
44 __uint(max_entries, 1);
51 __uint(max_entries, 1);
58 __uint(max_entries, 1);
65 __uint(max_entries, 1);
[all …]
H A Dmap_ptr_kern.c99 __uint(type, BPF_MAP_TYPE_HASH);
101 __uint(max_entries, MAX_ENTRIES);
141 __uint(type, BPF_MAP_TYPE_ARRAY);
142 __uint(max_entries, MAX_ENTRIES);
174 __uint(max_entries, MAX_ENTRIES);
191 __uint(max_entries, MAX_ENTRIES);
208 __uint(max_entries, MAX_ENTRIES);
225 __uint(max_entries, MAX_ENTRIES);
246 __uint(max_entries, MAX_ENTRIES);
265 __uint(max_entries, MAX_ENTRIES);
[all …]
H A 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));
H A 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);
29 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
35 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
36 __uint(max_entries, 1);
43 __uint(type, BPF_MAP_TYPE_HASH_OF_MAPS);
[all …]
H A Dverifier_map_ptr_mixing.c16 __uint(type, BPF_MAP_TYPE_ARRAY);
17 __uint(max_entries, 1);
23 __uint(type, BPF_MAP_TYPE_HASH);
24 __uint(max_entries, 1);
31 __uint(max_entries, 1);
35 __uint(type, BPF_MAP_TYPE_ARRAY);
36 __uint(max_entries, 1);
49 __uint(max_entries, 4);
50 __uint(key_size, sizeof(int));
62 __uint(max_entries, 8);
[all …]
H A 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);
H A Dtest_sockmap_kern.h33 __uint(type, TEST_MAP_TYPE);
34 __uint(max_entries, 20);
40 __uint(type, TEST_MAP_TYPE);
41 __uint(max_entries, 20);
48 __uint(max_entries, 20);
55 __uint(max_entries, 1);
62 __uint(max_entries, 1);
69 __uint(max_entries, 6);
76 __uint(max_entries, 1);
83 __uint(max_entries, 3);
[all …]
H A 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);
H A 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);
H A Dmap_kptr.c13 __uint(type, BPF_MAP_TYPE_ARRAY);
16 __uint(max_entries, 1);
23 __uint(max_entries, 1);
27 __uint(type, BPF_MAP_TYPE_HASH);
30 __uint(max_entries, 1);
37 __uint(max_entries, 1);
41 __uint(type, BPF_MAP_TYPE_HASH);
44 __uint(max_entries, 1);
52 __uint(max_entries, 1);
60 __uint(max_entries, 1);
[all …]
H A 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));
/openbmc/linux/samples/bpf/
H A Dmap_perf_test.bpf.c18 __uint(type, BPF_MAP_TYPE_HASH);
21 __uint(max_entries, MAX_ENTRIES);
28 __uint(max_entries, 10000);
35 __uint(max_entries, 10000);
43 __uint(max_entries, MAX_ENTRIES);
45 __uint(numa_node, 0);
51 __uint(key_size, sizeof(u32));
60 __uint(key_size, sizeof(u32));
75 __uint(key_size, sizeof(u32));
83 __uint(key_size, 8);
[all …]
H A Dtest_map_in_map.bpf.c22 __uint(type, BPF_MAP_TYPE_ARRAY);
30 __uint(type, BPF_MAP_TYPE_HASH);
33 __uint(max_entries, 1);
38 __uint(type, BPF_MAP_TYPE_HASH);
41 __uint(max_entries, 1);
49 __uint(max_entries, 1);
56 __uint(key_size, sizeof(u32));
63 __uint(max_entries, 1);
64 __uint(key_size, sizeof(u32));
71 __uint(max_entries, 1);
[all …]
H A Dspintest.bpf.c17 __uint(type, BPF_MAP_TYPE_HASH);
20 __uint(max_entries, 1024);
23 __uint(type, BPF_MAP_TYPE_PERCPU_HASH);
24 __uint(key_size, sizeof(long));
25 __uint(value_size, sizeof(long));
26 __uint(max_entries, 1024);
30 __uint(type, BPF_MAP_TYPE_STACK_TRACE);
31 __uint(key_size, sizeof(u32));
32 __uint(value_size, PERF_MAX_STACK_DEPTH * sizeof(u64));
33 __uint(max_entries, 10000);
H A Dxdp_router_ipv4.bpf.c43 __uint(type, BPF_MAP_TYPE_LPM_TRIE);
44 __uint(key_size, 8);
46 __uint(max_entries, 50);
52 __uint(type, BPF_MAP_TYPE_HASH);
55 __uint(max_entries, 50);
60 __uint(type, BPF_MAP_TYPE_HASH);
63 __uint(max_entries, 50);
67 __uint(type, BPF_MAP_TYPE_DEVMAP);
68 __uint(key_size, sizeof(int));
69 __uint(value_size, sizeof(int));
[all …]
/openbmc/linux/tools/perf/util/bpf_skel/
H A Dfunc_latency.bpf.c11 __uint(type, BPF_MAP_TYPE_HASH);
12 __uint(key_size, sizeof(__u64));
13 __uint(value_size, sizeof(__u64));
14 __uint(max_entries, 10000);
18 __uint(type, BPF_MAP_TYPE_HASH);
19 __uint(key_size, sizeof(__u32));
20 __uint(value_size, sizeof(__u8));
21 __uint(max_entries, 1);
25 __uint(type, BPF_MAP_TYPE_HASH);
26 __uint(key_size, sizeof(__u32));
[all …]
H A Dlock_contention.bpf.c32 __uint(key_size, sizeof(__u32));
34 __uint(max_entries, MAX_ENTRIES);
39 __uint(type, BPF_MAP_TYPE_HASH);
42 __uint(max_entries, MAX_ENTRIES);
47 __uint(type, BPF_MAP_TYPE_HASH);
54 __uint(type, BPF_MAP_TYPE_HASH);
55 __uint(key_size, sizeof(__u32));
71 __uint(max_entries, 1);
78 __uint(max_entries, 1);
85 __uint(max_entries, 1);
[all …]
H A Dbperf_leader.bpf.c8 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
9 __uint(key_size, sizeof(__u32));
10 __uint(value_size, sizeof(int));
11 __uint(map_flags, BPF_F_PRESERVE_ELEMS);
15 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
16 __uint(key_size, sizeof(__u32));
17 __uint(value_size, sizeof(struct bpf_perf_event_value));
18 __uint(max_entries, 1);
22 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
23 __uint(key_size, sizeof(__u32));
[all …]
H A Doff_cpu.bpf.c37 __uint(key_size, sizeof(__u32));
39 __uint(max_entries, MAX_ENTRIES);
50 __uint(type, BPF_MAP_TYPE_HASH);
57 __uint(type, BPF_MAP_TYPE_HASH);
58 __uint(key_size, sizeof(__u32));
60 __uint(max_entries, 1);
64 __uint(type, BPF_MAP_TYPE_HASH);
65 __uint(key_size, sizeof(__u32));
67 __uint(max_entries, 1);
71 __uint(type, BPF_MAP_TYPE_HASH);
[all …]
H A Dbperf_follower.bpf.c9 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
10 __uint(key_size, sizeof(__u32));
11 __uint(value_size, sizeof(struct bpf_perf_event_value));
12 __uint(max_entries, 1);
16 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
17 __uint(key_size, sizeof(__u32));
18 __uint(value_size, sizeof(struct bpf_perf_event_value));
19 __uint(max_entries, 1);
23 __uint(type, BPF_MAP_TYPE_HASH);
24 __uint(key_size, sizeof(__u32));
[all …]
H A Dbpf_prog_profiler.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));
19 __uint(max_entries, 1);
24 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
25 __uint(key_size, sizeof(__u32));
26 __uint(value_size, sizeof(struct bpf_perf_event_value));
[all …]
H A Dbperf_cgroup.bpf.c18 __uint(key_size, sizeof(__u32));
19 __uint(value_size, sizeof(int));
20 __uint(max_entries, 1);
25 __uint(type, BPF_MAP_TYPE_HASH);
26 __uint(key_size, sizeof(__u64));
27 __uint(value_size, sizeof(__u32));
28 __uint(max_entries, 1);
33 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
34 __uint(key_size, sizeof(__u32));
41 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
[all …]
/openbmc/linux/tools/bpf/bpftool/skeleton/
H A Dprofiler.bpf.c15 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
16 __uint(key_size, sizeof(u32));
17 __uint(value_size, sizeof(int));
22 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
23 __uint(key_size, sizeof(u32));
24 __uint(value_size, sizeof(struct bpf_perf_event_value___local));
29 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
30 __uint(key_size, sizeof(u32));
36 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
37 __uint(key_size, sizeof(u32));
[all …]

12345678910>>...13