/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 134 .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 D | test_btf_map_in_map.c | 7 __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 D | test_global_data.c | 11 __uint(type, BPF_MAP_TYPE_ARRAY); 18 __uint(type, BPF_MAP_TYPE_ARRAY); 31 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | test_select_reuseport_kern.c | 30 __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 D | test_core_retro.c | 12 __uint(type, BPF_MAP_TYPE_ARRAY); 19 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | get_cgroup_id_kern.c | 8 __uint(type, BPF_MAP_TYPE_ARRAY); 15 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | test_mmap.c | 11 __uint(type, BPF_MAP_TYPE_ARRAY); 18 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | test_legacy_printk.c | 11 __uint(type, BPF_MAP_TYPE_ARRAY); 18 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | twfw.c | 23 __uint(type, BPF_MAP_TYPE_ARRAY); 30 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | test_log_fixup.c | 39 __uint(type, BPF_MAP_TYPE_ARRAY); 46 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | linked_maps2.c | 20 __uint(type, BPF_MAP_TYPE_ARRAY); 28 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | linked_maps1.c | 25 __uint(type, BPF_MAP_TYPE_ARRAY); 34 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | test_stacktrace_build_id.c | 12 __uint(type, BPF_MAP_TYPE_ARRAY); 36 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | test_helper_restricted.c | 15 __uint(type, BPF_MAP_TYPE_ARRAY); 22 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | test_stacktrace_map.c | 12 __uint(type, BPF_MAP_TYPE_ARRAY); 35 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | test_sockmap_kern.h | 54 __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 D | test_sockmap_listen.c | 25 __uint(type, BPF_MAP_TYPE_ARRAY); 32 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | verifier_helper_restricted.c | 14 __uint(type, BPF_MAP_TYPE_ARRAY); 25 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | sock_destroy_prog.c | 14 __uint(type, BPF_MAP_TYPE_ARRAY); 21 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | core_kern.c | 13 __uint(type, BPF_MAP_TYPE_ARRAY); 20 __uint(type, BPF_MAP_TYPE_ARRAY);
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_array.rst | 5 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 D | syscall_tp_kern.c | 22 __uint(type, BPF_MAP_TYPE_ARRAY); 29 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | cpustat_kern.c | 55 __uint(type, BPF_MAP_TYPE_ARRAY); 63 __uint(type, BPF_MAP_TYPE_ARRAY); 71 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | lathist_kern.c | 22 __uint(type, BPF_MAP_TYPE_ARRAY); 65 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | ibumad_kern.c | 20 __uint(type, BPF_MAP_TYPE_ARRAY); 27 __uint(type, BPF_MAP_TYPE_ARRAY);
|