Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dlibbpf.c448 int btf_maps_shndx; member
1067 obj->efile.btf_maps_shndx = -1; in bpf_object__new()
2157 map->inner_map->sec_idx = obj->efile.btf_maps_shndx; in parse_btf_map_def()
2292 if (obj->efile.btf_maps_shndx < 0) in bpf_object__init_user_btf_maps()
2295 scn = elf_sec_by_idx(obj, obj->efile.btf_maps_shndx); in bpf_object__init_user_btf_maps()
2324 obj->efile.btf_maps_shndx, in bpf_object__init_user_btf_maps()
2436 return obj->efile.btf_maps_shndx >= 0 || in libbpf_needs_btf()
2871 obj->efile.btf_maps_shndx = idx; in bpf_object__elf_collect()
3317 shndx == obj->efile.btf_maps_shndx; in bpf_object__shndx_is_maps()
3594 if (map->sec_idx == obj->efile.btf_maps_shndx || in bpf_map_find_btf_info()
[all...]
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dlibbpf.c622 int btf_maps_shndx; member
1283 obj->efile.btf_maps_shndx = -1; in bpf_object__new()
2625 if (obj->efile.btf_maps_shndx < 0) in bpf_object__init_user_btf_maps()
2628 scn = elf_sec_by_idx(obj, obj->efile.btf_maps_shndx); in bpf_object__init_user_btf_maps()
2657 obj->efile.btf_maps_shndx, in bpf_object__init_user_btf_maps()
2812 return obj->efile.btf_maps_shndx >= 0 || in libbpf_needs_btf()
3482 obj->efile.btf_maps_shndx = idx; in bpf_object__elf_collect()
4027 return shndx == obj->efile.btf_maps_shndx; in bpf_object__shndx_is_maps()
4346 if (map->sec_idx == obj->efile.btf_maps_shndx || bpf_map__is_struct_ops(map)) in map_fill_btf_type_info()
6644 if (map->sec_idx != obj->efile.btf_maps_shndx) in bpf_object__collect_map_relos()
[all...]

Completed in 22 milliseconds