Home
last modified time | relevance | path

Searched refs:BPF_PSEUDO_MAP_FD (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Ddirect_value_access.c311 BPF_LD_IMM64_RAW_FULL(BPF_REG_1, BPF_PSEUDO_MAP_FD, ~0, 0, 0, 0),
322 BPF_LD_IMM64_RAW_FULL(BPF_REG_1, BPF_PSEUDO_MAP_FD, 0, ~0, 0, 0),
333 BPF_LD_IMM64_RAW_FULL(BPF_REG_1, BPF_PSEUDO_MAP_FD, ~0, ~0, 0, 0),
344 BPF_LD_IMM64_RAW_FULL(BPF_REG_1, BPF_PSEUDO_MAP_FD, 0, 0, 0, 47),
H A Dld_imm64.c139 BPF_PSEUDO_MAP_FD, 0, 0),
/openbmc/linux/samples/bpf/
H A Dbpf_insn.h98 #ifndef BPF_PSEUDO_MAP_FD
99 # define BPF_PSEUDO_MAP_FD 1 macro
104 BPF_LD_IMM64_RAW(DST, BPF_PSEUDO_MAP_FD, MAP_FD)
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_cgroup_storage.c84 … __imm_insn(ld_map_fd, BPF_RAW_INSN(BPF_LD | BPF_DW | BPF_IMM, BPF_REG_1, BPF_PSEUDO_MAP_FD, 0, 1)) in invalid_cgroup_storage_access_2()
223 … __imm_insn(ld_map_fd, BPF_RAW_INSN(BPF_LD | BPF_DW | BPF_IMM, BPF_REG_1, BPF_PSEUDO_MAP_FD, 0, 1)) in cpu_cgroup_storage_access_2()
H A Dverifier_map_ret_val.c33 … __imm_insn(ld_map_fd, BPF_RAW_INSN(BPF_LD | BPF_DW | BPF_IMM, BPF_REG_1, BPF_PSEUDO_MAP_FD, 0, 0)) in map_fd_for_function_call()
/openbmc/linux/tools/include/linux/
H A Dfilter.h314 BPF_LD_IMM64_RAW_FULL(DST, BPF_PSEUDO_MAP_FD, 0, 0, \
/openbmc/linux/tools/testing/selftests/bpf/
H A Ddisasm.c289 bool is_ptr = insn->src_reg == BPF_PSEUDO_MAP_FD || in print_bpf_insn()
/openbmc/linux/kernel/bpf/
H A Ddisasm.c289 bool is_ptr = insn->src_reg == BPF_PSEUDO_MAP_FD || in print_bpf_insn()
H A Dcore.c308 (dst[i].src_reg == BPF_PSEUDO_MAP_FD || in bpf_prog_calc_tag()
H A Dsyscall.c4272 *type = BPF_PSEUDO_MAP_FD; in bpf_map_from_imm()
H A Dverifier.c14808 } else if (insn->src_reg == BPF_PSEUDO_MAP_FD || in check_ld_imm()
17649 case BPF_PSEUDO_MAP_FD: in resolve_pseudo_ldimm64()
17690 if (insn[0].src_reg == BPF_PSEUDO_MAP_FD || in resolve_pseudo_ldimm64()
/openbmc/linux/tools/bpf/bpftool/
H A Dxlated_dumper.c200 if (insn->src_reg == BPF_PSEUDO_MAP_FD) in print_imm()
/openbmc/linux/include/linux/
H A Dfilter.h216 BPF_LD_IMM64_RAW(DST, BPF_PSEUDO_MAP_FD, MAP_FD)
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1235 #define BPF_PSEUDO_MAP_FD 1 macro
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1235 #define BPF_PSEUDO_MAP_FD 1 macro
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c4416 meta1->insn.src_reg != BPF_PSEUDO_MAP_FD) in nfp_bpf_replace_map_ptrs()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.c5978 insn[0].src_reg = BPF_PSEUDO_MAP_FD; in bpf_object__relocate_data()