Symbol: bpf_array
arch/arm/net/bpf_jit_32.c
1413
BUILD_BUG_ON(offsetof(struct bpf_array, map.max_entries) >
arch/arm/net/bpf_jit_32.c
1415
off = offsetof(struct bpf_array, map.max_entries);
arch/arm/net/bpf_jit_32.c
1446
BUILD_BUG_ON(imm8m(offsetof(struct bpf_array, ptrs)) < 0);
arch/arm/net/bpf_jit_32.c
1447
off = imm8m(offsetof(struct bpf_array, ptrs));
arch/arm64/net/bpf_jit_comp.c
641
off = offsetof(struct bpf_array, map.max_entries);
arch/arm64/net/bpf_jit_comp.c
666
off = offsetof(struct bpf_array, ptrs);
arch/loongarch/net/bpf_jit.c
303
off = offsetof(struct bpf_array, map.max_entries);
arch/loongarch/net/bpf_jit.c
327
off = offsetof(struct bpf_array, ptrs);
arch/mips/net/bpf_jit_comp32.c
1307
off = offsetof(struct bpf_array, map.max_entries);
arch/mips/net/bpf_jit_comp32.c
1323
off = offsetof(struct bpf_array, ptrs);
arch/mips/net/bpf_jit_comp64.c
493
off = offsetof(struct bpf_array, map.max_entries);
arch/mips/net/bpf_jit_comp64.c
505
off = offsetof(struct bpf_array, ptrs);
arch/parisc/net/bpf_jit_comp32.c
953
struct bpf_array bpfa;
arch/parisc/net/bpf_jit_comp32.c
960
off = offsetof(struct bpf_array, map.max_entries);
arch/parisc/net/bpf_jit_comp32.c
987
off = offsetof(struct bpf_array, ptrs);
arch/parisc/net/bpf_jit_comp64.c
352
struct bpf_array bpfa;
arch/parisc/net/bpf_jit_comp64.c
362
off = offsetof(struct bpf_array, map.max_entries);
arch/parisc/net/bpf_jit_comp64.c
389
off = offsetof(struct bpf_array, ptrs);
arch/powerpc/net/bpf_jit_comp32.c
241
EMIT(PPC_RAW_LWZ(_R0, b2p_bpf_array, offsetof(struct bpf_array, map.max_entries)));
arch/powerpc/net/bpf_jit_comp32.c
258
EMIT(PPC_RAW_LWZ(_R3, _R3, offsetof(struct bpf_array, ptrs)));
arch/powerpc/net/bpf_jit_comp64.c
598
EMIT(PPC_RAW_LWZ(bpf_to_ppc(TMP_REG_1), b2p_bpf_array, offsetof(struct bpf_array, map.max_entries)));
arch/powerpc/net/bpf_jit_comp64.c
627
offsetof(struct bpf_array, ptrs)));
arch/riscv/net/bpf_jit_comp32.c
789
off = offsetof(struct bpf_array, map.max_entries);
arch/riscv/net/bpf_jit_comp32.c
815
off = offsetof(struct bpf_array, ptrs);
arch/riscv/net/bpf_jit_comp64.c
371
off = offsetof(struct bpf_array, map.max_entries);
arch/riscv/net/bpf_jit_comp64.c
390
off = offsetof(struct bpf_array, ptrs);
arch/s390/net/bpf_jit_comp.c
1857
offsetof(struct bpf_array, map.max_entries));
arch/s390/net/bpf_jit_comp.c
1892
REG_1, offsetof(struct bpf_array, ptrs));
arch/sparc/net/bpf_jit_comp_64.c
852
const u8 bpf_array = bpf2sparc[BPF_REG_2];
arch/sparc/net/bpf_jit_comp_64.c
859
off = offsetof(struct bpf_array, map.max_entries);
arch/sparc/net/bpf_jit_comp_64.c
860
emit(LD32 | IMMED | RS1(bpf_array) | S13(off) | RD(tmp), ctx);
arch/sparc/net/bpf_jit_comp_64.c
878
emit_alu(ADD, bpf_array, tmp, ctx);
arch/sparc/net/bpf_jit_comp_64.c
879
off = offsetof(struct bpf_array, ptrs);
arch/x86/net/bpf_jit_comp.c
747
offsetof(struct bpf_array, map.max_entries));
arch/x86/net/bpf_jit_comp.c
764
offsetof(struct bpf_array, ptrs));
arch/x86/net/bpf_jit_comp.c
874
struct bpf_array *array;
arch/x86/net/bpf_jit_comp.c
888
array = container_of(poke->tail_call.map, struct bpf_array, map);
arch/x86/net/bpf_jit_comp32.c
1321
offsetof(struct bpf_array, map.max_entries));
arch/x86/net/bpf_jit_comp32.c
1355
EMIT3_off32(0x8B, 0x94, 0x90, offsetof(struct bpf_array, ptrs));
kernel/bpf/arraymap.c
1015
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
1057
aux = container_of(map, struct bpf_array, map)->aux;
kernel/bpf/arraymap.c
1089
aux = container_of(map, struct bpf_array, map)->aux;
kernel/bpf/arraymap.c
1114
aux = container_of(map, struct bpf_array, map)->aux;
kernel/bpf/arraymap.c
1166
struct bpf_array_aux *aux = container_of(map, struct bpf_array,
kernel/bpf/arraymap.c
1191
container_of(map, struct bpf_array, map)->aux = aux;
kernel/bpf/arraymap.c
1202
aux = container_of(map, struct bpf_array, map)->aux;
kernel/bpf/arraymap.c
1299
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
139
array = data + PAGE_ALIGN(sizeof(struct bpf_array))
kernel/bpf/arraymap.c
140
- offsetof(struct bpf_array, value);
kernel/bpf/arraymap.c
1416
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
1423
*insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value));
kernel/bpf/arraymap.c
161
static void *array_map_elem_ptr(struct bpf_array* array, u32 index)
kernel/bpf/arraymap.c
169
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
181
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
192
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
206
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
222
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
23
static void bpf_array_free_percpu(struct bpf_array *array)
kernel/bpf/arraymap.c
232
*insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value));
kernel/bpf/arraymap.c
255
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
267
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
276
BUILD_BUG_ON(offsetof(struct bpf_array, map) != 0);
kernel/bpf/arraymap.c
277
*insn++ = BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct bpf_array, pptrs));
kernel/bpf/arraymap.c
298
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
312
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
33
static int bpf_array_alloc_percpu(struct bpf_array *array)
kernel/bpf/arraymap.c
366
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
405
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
457
static void *array_map_vmalloc_addr(struct bpf_array *array)
kernel/bpf/arraymap.c
464
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
478
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
531
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
580
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
613
struct bpf_array *array;
kernel/bpf/arraymap.c
621
array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
632
struct bpf_array *array;
kernel/bpf/arraymap.c
640
array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
652
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
703
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
751
struct bpf_array *array;
kernel/bpf/arraymap.c
762
array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
782
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
802
BTF_ID_LIST_SINGLE(array_map_btf_ids, struct, bpf_array)
kernel/bpf/arraymap.c
864
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
903
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
91
struct bpf_array *array;
kernel/bpf/arraymap.c
934
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/core.c
2080
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/helpers.c
1090
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/helpers.c
2700
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/map_in_map.c
30
inner_map_meta_size = sizeof(struct bpf_array);
kernel/bpf/map_in_map.c
65
struct bpf_array *inner_array_meta =
kernel/bpf/map_in_map.c
66
container_of(inner_map_meta, struct bpf_array, map);
kernel/bpf/map_in_map.c
67
struct bpf_array *inner_array = container_of(inner_map, struct bpf_array, map);
kernel/bpf/verifier.c
23830
struct bpf_array,
kernel/trace/bpf_trace.c
540
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/trace/bpf_trace.c
619
struct bpf_array *array = container_of(map, struct bpf_array, map);
lib/test_bpf.c
15447
static void __init destroy_tail_call_tests(struct bpf_array *progs)
lib/test_bpf.c
15457
static __init int prepare_tail_call_tests(struct bpf_array **pprogs)
lib/test_bpf.c
15460
struct bpf_array *progs;
lib/test_bpf.c
15575
static __init int test_tail_calls(struct bpf_array *progs)
lib/test_bpf.c
15715
struct bpf_array *progs = NULL;
net/core/filter.c
4981
struct bpf_array *array = container_of(map, struct bpf_array, map);
tools/lib/bpf/skel_internal.h
170
addr = ((struct bpf_array *)map)->value;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
149
struct bpf_array *array = (struct bpf_array *)&m_array;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
181
struct bpf_array *prog_array = (struct bpf_array *)&m_prog_array;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
198
struct bpf_array *perf_event_array = (struct bpf_array *)&m_perf_event_array;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
232
struct bpf_array *percpu_array = (struct bpf_array *)&m_percpu_array;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
272
struct bpf_array *cgroup_array = (struct bpf_array *)&m_cgroup_array;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
368
struct bpf_array *array_of_maps = (struct bpf_array *)&m_array_of_maps;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
370
struct bpf_array *inner_map;