Home
last modified time | relevance | path

Searched refs:btf_relocate (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/tools/lib/bpf/
H A Dbtf_relocate.c38 struct btf_relocate { struct
66 static int btf_relocate_rewrite_type_id(struct btf_relocate *r, __u32 i) in btf_relocate_rewrite_type_id() argument
132 static int btf_mark_embedded_composite_type_ids(struct btf_relocate *r, __u32 i) in btf_mark_embedded_composite_type_ids()
184 static int btf_relocate_map_distilled_base(struct btf_relocate *r) in btf_relocate_map_distilled_base()
383 static int btf_relocate_validate_distilled_base(struct btf_relocate *r) in btf_relocate_validate_distilled_base()
412 static int btf_relocate_rewrite_strs(struct btf_relocate *r, __u32 i) in btf_relocate_rewrite_strs()
444 int btf_relocate(struct btf *btf, const struct btf *base_btf, __u32 **id_map) in btf_relocate() function
449 struct btf_relocate r = {}; in btf_relocate()
H A DBuild4 usdt.o zip.o elf.o features.o btf_iter.o btf_relocate.o
H A Dlibbpf_internal.h240 int btf_relocate(struct btf *btf, const struct btf *base_btf, __u32 **id_map);
H A Dbtf.c5711 int err = btf_relocate(btf, base_btf, NULL); in btf__relocate()
/linux-6.15/kernel/bpf/
H A DMakefile54 obj-$(CONFIG_BPF_SYSCALL) += btf_relocate.o
H A Dbtf.c6351 err = btf_relocate(btf, vmlinux_btf, &btf->base_id_map); in btf_parse_module()
/linux-6.15/include/linux/
H A Dbtf.h565 int btf_relocate(struct btf *btf, const struct btf *base_btf, __u32 **map_ids);
614 static inline int btf_relocate(void *log, struct btf *btf, const struct btf *base_btf, in btf_relocate() function