/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | gen_loader.c | 565 struct ksym_relo_desc *relo; in bpf_gen__record_extern() local 584 get_ksym_desc(struct bpf_gen *gen, struct ksym_relo_desc *relo) get_ksym_desc() argument 616 emit_bpf_find_by_name_kind(struct bpf_gen *gen, struct ksym_relo_desc *relo) emit_bpf_find_by_name_kind() argument 635 emit_bpf_kallsyms_lookup_name(struct bpf_gen *gen, struct ksym_relo_desc *relo) emit_bpf_kallsyms_lookup_name() argument 664 emit_relo_kfunc_btf(struct bpf_gen *gen, struct ksym_relo_desc *relo, int insn) emit_relo_kfunc_btf() argument 735 emit_ksym_relo_log(struct bpf_gen *gen, struct ksym_relo_desc *relo, int ref) emit_ksym_relo_log() argument 754 emit_relo_ksym_typeless(struct bpf_gen *gen, struct ksym_relo_desc *relo, int insn) emit_relo_ksym_typeless() argument 801 emit_relo_ksym_btf(struct bpf_gen *gen, struct ksym_relo_desc *relo, int insn) emit_relo_ksym_btf() argument 867 emit_relo(struct bpf_gen *gen, struct ksym_relo_desc *relo, int insns) emit_relo() argument [all...] |
H A D | relo_core.c | 263 bpf_core_parse_spec(const char *prog_name, const struct btf *btf, const struct bpf_core_relo *relo, struct bpf_core_spec *spec) bpf_core_parse_spec() argument 678 bpf_core_calc_field_relo(const char *prog_name, const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u64 *val, __u32 *field_sz, __u32 *type_id, bool *validate) bpf_core_calc_field_relo() argument 803 bpf_core_calc_type_relo(const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u64 *val, bool *validate) bpf_core_calc_type_relo() argument 847 bpf_core_calc_enumval_relo(const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u64 *val) bpf_core_calc_enumval_relo() argument 879 bpf_core_calc_relo(const char *prog_name, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_spec *local_spec, const struct bpf_core_spec *targ_spec, struct bpf_core_relo_res *res) bpf_core_calc_relo() argument 1024 bpf_core_patch_insn(const char *prog_name, struct bpf_insn *insn, int insn_idx, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_relo_res *res) bpf_core_patch_insn() argument 1280 bpf_core_calc_relo_insn(const char *prog_name, const struct bpf_core_relo *relo, int relo_idx, const struct btf *local_btf, struct bpf_core_cand_list *cands, struct bpf_core_spec *specs_scratch, struct bpf_core_relo_res *targ_res) bpf_core_calc_relo_insn() argument [all...] |
H A D | linker.c | 840 Elf64_Rel *relo; in linker_sanity_check_elf_relos() local [all...] |
H A D | libbpf.c | 5708 struct reloc_desc *relos, *relo; record_relo_core() local 5725 struct reloc_desc *relo; find_relo_core() local 5739 bpf_core_resolve_relo(struct bpf_program *prog, const struct bpf_core_relo *relo, int relo_idx, const struct btf *local_btf, struct hashmap *cand_cache, struct bpf_core_relo_res *targ_res) bpf_core_resolve_relo() argument 5966 struct reloc_desc *relo = &prog->reloc_desc[i]; bpf_object__relocate_data() local 6199 const struct reloc_desc *relo = elem; cmp_relo_by_insn_idx() local 6250 struct reloc_desc *relo; bpf_object__reloc_code() local 6545 struct reloc_desc *relo = &prog->reloc_desc[j]; bpf_object__relocate() local 7118 const struct bpf_core_relo *relo; fixup_log_failed_core_relo() local 7265 struct reloc_desc *relo = &prog->reloc_desc[i]; bpf_program_record_relos() local [all...] |
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | gen.c | 2044 const struct bpf_core_relo *relo; in btfgen_record_obj() local
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | jit.c | 162 emit_br_relo(struct nfp_prog *nfp_prog, enum br_mask mask, u16 addr, u8 defer, enum nfp_relo_type relo) emit_br_relo() argument 208 emit_br_bit_relo(struct nfp_prog *nfp_prog, swreg src, u8 bit, u16 addr, u8 defer, bool set, enum nfp_relo_type relo) emit_br_bit_relo() argument 633 wrp_immed_relo(struct nfp_prog *nfp_prog, swreg dst, u32 imm, enum nfp_relo_type relo) wrp_immed_relo() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | jit.c | 162 emit_br_relo(struct nfp_prog *nfp_prog, enum br_mask mask, u16 addr, u8 defer, enum nfp_relo_type relo) emit_br_relo() argument 208 emit_br_bit_relo(struct nfp_prog *nfp_prog, swreg src, u8 bit, u16 addr, u8 defer, bool set, enum nfp_relo_type relo) emit_br_bit_relo() argument 633 wrp_immed_relo(struct nfp_prog *nfp_prog, swreg dst, u32 imm, enum nfp_relo_type relo) wrp_immed_relo() argument
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | libbpf.c | 5105 bpf_core_calc_field_relo(const struct bpf_program *prog, const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u32 *val, __u32 *field_sz, __u32 *type_id, bool *validate) bpf_core_calc_field_relo() argument 5231 bpf_core_calc_type_relo(const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u32 *val) bpf_core_calc_type_relo() argument 5265 bpf_core_calc_enumval_relo(const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u32 *val) bpf_core_calc_enumval_relo() argument 5321 bpf_core_calc_relo(const struct bpf_program *prog, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_spec *local_spec, const struct bpf_core_spec *targ_spec, struct bpf_core_relo_res *res) bpf_core_calc_relo() argument 5471 bpf_core_patch_insn(struct bpf_program *prog, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_relo_res *res) bpf_core_patch_insn() argument 5725 bpf_core_apply_relo(struct bpf_program *prog, const struct bpf_core_relo *relo, int relo_idx, const struct btf *local_btf, const struct btf *targ_btf, struct hashmap *cand_cache) bpf_core_apply_relo() argument 6009 struct reloc_desc *relo = &prog->reloc_desc[i]; bpf_object__relocate_data() local 6199 const struct reloc_desc *relo = elem; cmp_relo_by_insn_idx() local 6219 struct reloc_desc *relo; bpf_object__reloc_code() local [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | btf.c | 8417 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo, in bpf_core_apply() argument
|