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
651
off = offsetof(struct bpf_array, map.max_entries);
arch/arm64/net/bpf_jit_comp.c
676
off = offsetof(struct bpf_array, ptrs);
arch/loongarch/net/bpf_jit.c
316
off = offsetof(struct bpf_array, map.max_entries);
arch/loongarch/net/bpf_jit.c
340
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
276
EMIT(PPC_RAW_LWZ(_R0, b2p_bpf_array, offsetof(struct bpf_array, map.max_entries)));
arch/powerpc/net/bpf_jit_comp32.c
293
EMIT(PPC_RAW_LWZ(_R3, _R3, offsetof(struct bpf_array, ptrs)));
arch/powerpc/net/bpf_jit_comp64.c
659
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
688
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
1891
offsetof(struct bpf_array, map.max_entries));
arch/s390/net/bpf_jit_comp.c
1927
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
776
offsetof(struct bpf_array, map.max_entries));
arch/x86/net/bpf_jit_comp.c
793
offsetof(struct bpf_array, ptrs));
arch/x86/net/bpf_jit_comp.c
903
struct bpf_array *array;
arch/x86/net/bpf_jit_comp.c
917
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
1013
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
180
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
190
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
204
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
220
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
230
*insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value));
kernel/bpf/arraymap.c
253
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
265
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
274
BUILD_BUG_ON(offsetof(struct bpf_array, map) != 0);
kernel/bpf/arraymap.c
275
*insn++ = BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct bpf_array, pptrs));
kernel/bpf/arraymap.c
296
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
310
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
364
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
403
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
455
static void *array_map_vmalloc_addr(struct bpf_array *array)
kernel/bpf/arraymap.c
462
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
476
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
529
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
578
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
611
struct bpf_array *array;
kernel/bpf/arraymap.c
619
array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
630
struct bpf_array *array;
kernel/bpf/arraymap.c
638
array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
650
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
701
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
749
struct bpf_array *array;
kernel/bpf/arraymap.c
760
array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
780
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
800
BTF_ID_LIST_SINGLE(array_map_btf_ids, struct, bpf_array)
kernel/bpf/arraymap.c
862
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
901
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/arraymap.c
91
struct bpf_array *array;
kernel/bpf/arraymap.c
932
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/core.c
2156
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/fixups.c
1914
struct bpf_array,
kernel/bpf/helpers.c
1105
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/helpers.c
2942
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/bpf/map_in_map.c
31
inner_map_meta_size = sizeof(struct bpf_array);
kernel/bpf/map_in_map.c
66
struct bpf_array *inner_array_meta =
kernel/bpf/map_in_map.c
67
container_of(inner_map_meta, struct bpf_array, map);
kernel/bpf/map_in_map.c
68
struct bpf_array *inner_array = container_of(inner_map, struct bpf_array, map);
kernel/trace/bpf_trace.c
570
struct bpf_array *array = container_of(map, struct bpf_array, map);
kernel/trace/bpf_trace.c
649
struct bpf_array *array = container_of(map, struct bpf_array, map);
lib/test_bpf.c
15610
static void __init destroy_tail_call_tests(struct bpf_array *progs)
lib/test_bpf.c
15620
static __init int prepare_tail_call_tests(struct bpf_array **pprogs)
lib/test_bpf.c
15623
struct bpf_array *progs;
lib/test_bpf.c
15738
static __init int test_tail_calls(struct bpf_array *progs)
lib/test_bpf.c
15878
struct bpf_array *progs = NULL;
net/core/filter.c
5065
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;