Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c621 int btf_maps_shndx; member
1282 obj->efile.btf_maps_shndx = -1; in bpf_object__new()
2624 if (obj->efile.btf_maps_shndx < 0) in bpf_object__init_user_btf_maps()
2627 scn = elf_sec_by_idx(obj, obj->efile.btf_maps_shndx); in bpf_object__init_user_btf_maps()
2656 obj->efile.btf_maps_shndx, in bpf_object__init_user_btf_maps()
2811 return obj->efile.btf_maps_shndx >= 0 || in libbpf_needs_btf()
3481 obj->efile.btf_maps_shndx = idx; in bpf_object__elf_collect()
4026 return shndx == obj->efile.btf_maps_shndx; in bpf_object__shndx_is_maps()
4345 if (map->sec_idx == obj->efile.btf_maps_shndx || bpf_map__is_struct_ops(map)) in map_fill_btf_type_info()
6640 if (map->sec_idx != obj->efile.btf_maps_shndx) in bpf_object__collect_map_relos()
[all …]