| /Linux-v5.4/kernel/bpf/ | 
| D | arraymap.c | 19 static void bpf_array_free_percpu(struct bpf_array *array)  in bpf_array_free_percpu()29 static int bpf_array_alloc_percpu(struct bpf_array *array)  in bpf_array_alloc_percpu()
 79 	struct bpf_array *array;  in array_map_alloc()
 145 	struct bpf_array *array = container_of(map, struct bpf_array, map);  in array_map_lookup_elem()
 157 	struct bpf_array *array = container_of(map, struct bpf_array, map);  in array_map_direct_value_addr()
 171 	struct bpf_array *array = container_of(map, struct bpf_array, map);  in array_map_direct_value_meta()
 187 	struct bpf_array *array = container_of(map, struct bpf_array, map);  in array_map_gen_lookup()
 194 	*insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value));  in array_map_gen_lookup()
 217 	struct bpf_array *array = container_of(map, struct bpf_array, map);  in percpu_array_map_lookup_elem()
 228 	struct bpf_array *array = container_of(map, struct bpf_array, map);  in bpf_percpu_array_copy()
 [all …]
 
 | 
| D | map_in_map.c | 45 		inner_map_meta_size = sizeof(struct bpf_array);  in bpf_map_meta_alloc()64 		container_of(inner_map_meta, struct bpf_array, map)->index_mask =  in bpf_map_meta_alloc()
 65 		     container_of(inner_map, struct bpf_array, map)->index_mask;  in bpf_map_meta_alloc()
 
 | 
| D | core.c | 1460 		struct bpf_array *array = container_of(map, struct bpf_array, map);  in ___bpf_prog_run()1649 bool bpf_prog_array_compatible(struct bpf_array *array,  in bpf_prog_array_compatible()
 1676 		struct bpf_array *array;  in bpf_check_tail_call()
 1681 		array = container_of(map, struct bpf_array, map);  in bpf_check_tail_call()
 
 | 
| D | syscall.c | 375 	const struct bpf_array *array;  in bpf_map_show_fdinfo()380 		array = container_of(map, struct bpf_array, map);  in bpf_map_show_fdinfo()
 
 | 
| D | verifier.c | 9045 								 struct bpf_array,  in fixup_bpf_calls()
 | 
| /Linux-v5.4/kernel/trace/ | 
| D | bpf_trace.c | 352 	struct bpf_array *array = container_of(map, struct bpf_array, map);  in get_map_perf_counter()425 	struct bpf_array *array = container_of(map, struct bpf_array, map);  in __bpf_perf_event_output()
 567 	struct bpf_array *array = container_of(map, struct bpf_array, map);  in BPF_CALL_2()
 
 | 
| /Linux-v5.4/arch/sparc/net/ | 
| D | bpf_jit_comp_64.c | 852 	const u8 bpf_array = bpf2sparc[BPF_REG_2];  in emit_tail_call()  local859 	off = offsetof(struct bpf_array, map.max_entries);  in emit_tail_call()
 860 	emit(LD32 | IMMED | RS1(bpf_array) | S13(off) | RD(tmp), ctx);  in emit_tail_call()
 878 	emit_alu(ADD, bpf_array, tmp, ctx);  in emit_tail_call()
 879 	off = offsetof(struct bpf_array, ptrs);  in emit_tail_call()
 
 | 
| /Linux-v5.4/arch/x86/net/ | 
| D | bpf_jit_comp.c | 248 	      offsetof(struct bpf_array, map.max_entries));  in emit_bpf_tail_call()267 		    offsetof(struct bpf_array, ptrs));  in emit_bpf_tail_call()
 
 | 
| D | bpf_jit_comp32.c | 1305 	      offsetof(struct bpf_array, map.max_entries));  in emit_bpf_tail_call()1339 	EMIT3_off32(0x8B, 0x94, 0x90, offsetof(struct bpf_array, ptrs));  in emit_bpf_tail_call()
 
 | 
| /Linux-v5.4/include/linux/ | 
| D | bpf.h | 426 struct bpf_array {  struct483 bool bpf_prog_array_compatible(struct bpf_array *array, const struct bpf_prog *fp);
 
 | 
| /Linux-v5.4/arch/arm/net/ | 
| D | bpf_jit_32.c | 1150 	BUILD_BUG_ON(offsetof(struct bpf_array, map.max_entries) >  in emit_bpf_tail_call()1152 	off = offsetof(struct bpf_array, map.max_entries);  in emit_bpf_tail_call()
 1182 	BUILD_BUG_ON(imm8m(offsetof(struct bpf_array, ptrs)) < 0);  in emit_bpf_tail_call()
 1183 	off = imm8m(offsetof(struct bpf_array, ptrs));  in emit_bpf_tail_call()
 
 | 
| /Linux-v5.4/arch/arm64/net/ | 
| D | bpf_jit_comp.c | 260 	off = offsetof(struct bpf_array, map.max_entries);  in emit_bpf_tail_call()280 	off = offsetof(struct bpf_array, ptrs);  in emit_bpf_tail_call()
 
 | 
| /Linux-v5.4/arch/powerpc/net/ | 
| D | bpf_jit_comp64.c | 242 	PPC_LWZ(b2p[TMP_REG_1], b2p_bpf_array, offsetof(struct bpf_array, map.max_entries));  in bpf_jit_emit_tail_call()264 	PPC_BPF_LL(b2p[TMP_REG_1], b2p[TMP_REG_1], offsetof(struct bpf_array, ptrs));  in bpf_jit_emit_tail_call()
 
 | 
| /Linux-v5.4/arch/s390/net/ | 
| D | bpf_jit_comp.c | 1056 			      offsetof(struct bpf_array, map.max_entries));  in bpf_jit_insn()1090 			      REG_1, offsetof(struct bpf_array, ptrs));  in bpf_jit_insn()
 
 | 
| /Linux-v5.4/arch/riscv/net/ | 
| D | bpf_jit_comp.c | 625 	off = offsetof(struct bpf_array, map.max_entries);  in emit_bpf_tail_call()649 	off = offsetof(struct bpf_array, ptrs);  in emit_bpf_tail_call()
 
 | 
| /Linux-v5.4/arch/mips/net/ | 
| D | ebpf_jit.c | 613 	off = offsetof(struct bpf_array, map.max_entries);  in emit_bpf_tail_call()635 	off = offsetof(struct bpf_array, ptrs);  in emit_bpf_tail_call()
 
 | 
| /Linux-v5.4/net/core/ | 
| D | filter.c | 4056 	struct bpf_array *array = container_of(map, struct bpf_array, map);  in BPF_CALL_3()
 |