Home
last modified time | relevance | path

Searched refs:BPF_MAP_TYPE_ARRAY (Results 1 – 25 of 147) sorted by relevance

123456

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c134 .map_type = BPF_MAP_TYPE_ARRAY,
189 .map_type = BPF_MAP_TYPE_ARRAY,
214 .map_type = BPF_MAP_TYPE_ARRAY,
255 .map_type = BPF_MAP_TYPE_ARRAY,
300 .map_type = BPF_MAP_TYPE_ARRAY,
322 .map_type = BPF_MAP_TYPE_ARRAY,
344 .map_type = BPF_MAP_TYPE_ARRAY,
366 .map_type = BPF_MAP_TYPE_ARRAY,
391 .map_type = BPF_MAP_TYPE_ARRAY,
416 .map_type = BPF_MAP_TYPE_ARRAY,
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_btf_map_in_map.c7 __uint(type, BPF_MAP_TYPE_ARRAY);
15 __uint(type, BPF_MAP_TYPE_ARRAY);
28 __uint(type, BPF_MAP_TYPE_ARRAY);
45 __uint(type, BPF_MAP_TYPE_ARRAY);
54 __uint(type, BPF_MAP_TYPE_ARRAY);
67 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dtest_global_data.c11 __uint(type, BPF_MAP_TYPE_ARRAY);
18 __uint(type, BPF_MAP_TYPE_ARRAY);
31 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dtest_select_reuseport_kern.c30 __uint(type, BPF_MAP_TYPE_ARRAY);
37 __uint(type, BPF_MAP_TYPE_ARRAY);
44 __uint(type, BPF_MAP_TYPE_ARRAY);
51 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dtest_core_retro.c12 __uint(type, BPF_MAP_TYPE_ARRAY);
19 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dget_cgroup_id_kern.c8 __uint(type, BPF_MAP_TYPE_ARRAY);
15 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dtest_mmap.c11 __uint(type, BPF_MAP_TYPE_ARRAY);
18 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dtest_legacy_printk.c11 __uint(type, BPF_MAP_TYPE_ARRAY);
18 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dtwfw.c23 __uint(type, BPF_MAP_TYPE_ARRAY);
30 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dtest_log_fixup.c39 __uint(type, BPF_MAP_TYPE_ARRAY);
46 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dlinked_maps2.c20 __uint(type, BPF_MAP_TYPE_ARRAY);
28 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dlinked_maps1.c25 __uint(type, BPF_MAP_TYPE_ARRAY);
34 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dtest_stacktrace_build_id.c12 __uint(type, BPF_MAP_TYPE_ARRAY);
36 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dtest_helper_restricted.c15 __uint(type, BPF_MAP_TYPE_ARRAY);
22 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dtest_stacktrace_map.c12 __uint(type, BPF_MAP_TYPE_ARRAY);
35 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dtest_sockmap_kern.h54 __uint(type, BPF_MAP_TYPE_ARRAY);
61 __uint(type, BPF_MAP_TYPE_ARRAY);
68 __uint(type, BPF_MAP_TYPE_ARRAY);
75 __uint(type, BPF_MAP_TYPE_ARRAY);
82 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dtest_sockmap_listen.c25 __uint(type, BPF_MAP_TYPE_ARRAY);
32 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dverifier_helper_restricted.c14 __uint(type, BPF_MAP_TYPE_ARRAY);
25 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dsock_destroy_prog.c14 __uint(type, BPF_MAP_TYPE_ARRAY);
21 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dcore_kern.c13 __uint(type, BPF_MAP_TYPE_ARRAY);
20 __uint(type, BPF_MAP_TYPE_ARRAY);
/openbmc/linux/Documentation/bpf/
H A Dmap_array.rst5 BPF_MAP_TYPE_ARRAY and BPF_MAP_TYPE_PERCPU_ARRAY
9 - ``BPF_MAP_TYPE_ARRAY`` was introduced in kernel version 3.19
12 ``BPF_MAP_TYPE_ARRAY`` and ``BPF_MAP_TYPE_PERCPU_ARRAY`` provide generic array
17 CPU whereas ``BPF_MAP_TYPE_ARRAY`` uses the same memory region. The value
21 Since kernel 5.5, memory mapping may be enabled for ``BPF_MAP_TYPE_ARRAY`` by
66 Values stored in ``BPF_MAP_TYPE_ARRAY`` can be accessed by multiple programs
111 __uint(type, BPF_MAP_TYPE_ARRAY);
142 BPF_MAP_TYPE_ARRAY subsection
158 fd = bpf_map_create(BPF_MAP_TYPE_ARRAY,
/openbmc/linux/samples/bpf/
H A Dsyscall_tp_kern.c22 __uint(type, BPF_MAP_TYPE_ARRAY);
29 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dcpustat_kern.c55 __uint(type, BPF_MAP_TYPE_ARRAY);
63 __uint(type, BPF_MAP_TYPE_ARRAY);
71 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dlathist_kern.c22 __uint(type, BPF_MAP_TYPE_ARRAY);
65 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dibumad_kern.c20 __uint(type, BPF_MAP_TYPE_ARRAY);
27 __uint(type, BPF_MAP_TYPE_ARRAY);

123456