Searched refs:btf_relocate (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/lib/bpf/ |
| H A D | btf_relocate.c | 38 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 D | libbpf_internal.h | 252 int btf_relocate(struct btf *btf, const struct btf *base_btf, __u32 **id_map);
|
| H A D | btf.c | 6239 int err = btf_relocate(btf, base_btf, NULL); in btf__relocate()
|
| /linux/kernel/bpf/ |
| H A D | Makefile | 65 obj-$(CONFIG_BPF_SYSCALL) += btf_relocate.o
|
| H A D | btf.c | 6552 err = btf_relocate(btf, vmlinux_btf, &btf->base_id_map); in btf_parse_module()
|
| /linux/include/linux/ |
| H A D | btf.h | 575 int btf_relocate(struct btf *btf, const struct btf *base_btf, __u32 **map_ids); 625 static inline int btf_relocate(void *log, struct btf *btf, const struct btf *base_btf, in btf_relocate() function
|