Searched refs:__uint (Results 101 - 125 of 312) sorted by relevance

1234567891011>>

/linux-master/tools/perf/util/bpf_skel/
H A Dbperf_cgroup.bpf.c17 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
18 __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_siz
[all...]
H A Dkwork_top.bpf.c51 __uint(type, BPF_MAP_TYPE_TASK_STORAGE);
52 __uint(map_flags, BPF_F_NO_PREALLOC);
58 __uint(type, BPF_MAP_TYPE_PERCPU_HASH);
59 __uint(key_size, sizeof(struct work_key));
60 __uint(value_size, sizeof(struct time_data));
61 __uint(max_entries, MAX_ENTRIES);
65 __uint(type, BPF_MAP_TYPE_HASH);
66 __uint(key_size, sizeof(struct task_key));
67 __uint(value_size, sizeof(struct task_data));
68 __uint(max_entrie
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A 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);
141 __uint(type, BPF_MAP_TYPE_ARRAY);
142 __uint(max_entries, MAX_ENTRIES);
173 __uint(type, BPF_MAP_TYPE_PROG_ARRAY);
174 __uint(max_entries, MAX_ENTRIES);
190 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
191 __uint(max_entries, MAX_ENTRIES);
207 __uint(typ
[all...]
H A Dtest_sockmap_kern.h33 __uint(type, TEST_MAP_TYPE);
34 __uint(max_entries, 20);
35 __uint(key_size, sizeof(int));
36 __uint(value_size, sizeof(int));
40 __uint(type, TEST_MAP_TYPE);
41 __uint(max_entries, 20);
42 __uint(key_size, sizeof(int));
43 __uint(value_size, sizeof(int));
47 __uint(type, TEST_MAP_TYPE);
48 __uint(max_entrie
[all...]
H A Dtest_perf_buffer.c10 __uint(type, BPF_MAP_TYPE_ARRAY);
13 __uint(max_entries, 1);
17 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
H A Dtest_ringbuf_map_key.c18 __uint(type, BPF_MAP_TYPE_RINGBUF);
22 __uint(type, BPF_MAP_TYPE_HASH);
23 __uint(max_entries, 1000);
H A Darena_htab.c10 __uint(type, BPF_MAP_TYPE_ARENA);
11 __uint(map_flags, BPF_F_MMAPABLE);
12 __uint(max_entries, 100); /* number of pages */
H A Dtimer_mim.c16 __uint(type, BPF_MAP_TYPE_HASH);
17 __uint(max_entries, 1024);
26 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
27 __uint(max_entries, 2);
28 __uint(key_size, sizeof(int));
29 __uint(value_size, sizeof(int));
H A Dbpf_iter_bpf_hash_map.c15 __uint(type, BPF_MAP_TYPE_HASH);
16 __uint(max_entries, 3);
22 __uint(type, BPF_MAP_TYPE_HASH);
23 __uint(max_entries, 3);
29 __uint(type, BPF_MAP_TYPE_HASH);
30 __uint(max_entries, 3);
H A Dtest_map_ops.c10 __uint(type, BPF_MAP_TYPE_HASH);
11 __uint(max_entries, 1);
17 __uint(type, BPF_MAP_TYPE_STACK);
18 __uint(max_entries, 1);
23 __uint(type, BPF_MAP_TYPE_ARRAY);
24 __uint(max_entries, 1);
H A Dsockopt_inherit.c19 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
20 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
26 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
27 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
33 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
34 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dtest_skb_helpers.c9 __uint(type, BPF_MAP_TYPE_CGROUP_ARRAY);
10 __uint(max_entries, 1);
H A Dfreplace_cls_redirect.c11 __uint(type, BPF_MAP_TYPE_SOCKMAP);
14 __uint(max_entries, 2);
H A Dtest_btf_newkv.c13 __uint(type, BPF_MAP_TYPE_ARRAY);
14 __uint(max_entries, 4);
H A Dtask_local_storage_exit_creds.c11 __uint(type, BPF_MAP_TYPE_TASK_STORAGE);
12 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Djeq_infer_not_null_fail.c10 __uint(type, BPF_MAP_TYPE_HASH);
11 __uint(max_entries, 1);
H A Drcu_tasks_trace_gp.c7 __uint(type, BPF_MAP_TYPE_TASK_STORAGE);
8 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dfreplace_attach_probe.c17 __uint(type, BPF_MAP_TYPE_HASH);
18 __uint(max_entries, 1);
H A Dverifier_value_adj_spill.c16 __uint(type, BPF_MAP_TYPE_HASH);
17 __uint(max_entries, 1);
H A Dnested_trust_success.c14 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
15 __uint(map_flags, BPF_F_NO_PREALLOC);
/linux-master/samples/bpf/
H A Dxdp_router_ipv4.bpf.c43 __uint(type, BPF_MAP_TYPE_LPM_TRIE);
44 __uint(key_size, 8);
45 __uint(value_size, sizeof(struct trie_value));
46 __uint(max_entries, 50);
47 __uint(map_flags, BPF_F_NO_PREALLOC);
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(typ
[all...]
H A Dtest_cgrp2_tc.bpf.c20 __uint(type, BPF_MAP_TYPE_CGROUP_ARRAY);
23 __uint(pinning, LIBBPF_PIN_BY_NAME);
24 __uint(max_entries, 1);
H A Dtrace_event_kern.c21 __uint(type, BPF_MAP_TYPE_HASH);
24 __uint(max_entries, 10000);
28 __uint(type, BPF_MAP_TYPE_STACK_TRACE);
29 __uint(key_size, sizeof(u32));
30 __uint(value_size, PERF_MAX_STACK_DEPTH * sizeof(u64));
31 __uint(max_entries, 10000);
H A Dtracex2.bpf.c14 __uint(type, BPF_MAP_TYPE_HASH);
17 __uint(max_entries, 1024);
73 __uint(type, BPF_MAP_TYPE_PERCPU_HASH);
74 __uint(key_size, sizeof(struct hist_key));
75 __uint(value_size, sizeof(long));
76 __uint(max_entries, 1024);
H A Dtracex3.bpf.c19 __uint(type, BPF_MAP_TYPE_HASH);
22 __uint(max_entries, 4096);
51 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
52 __uint(key_size, sizeof(u32));
53 __uint(value_size, sizeof(u64));
54 __uint(max_entries, SLOTS);

Completed in 293 milliseconds

1234567891011>>