Lines Matching refs:shndx
3305 int shndx) in bpf_object__shndx_is_data() argument
3307 return shndx == obj->efile.data_shndx || in bpf_object__shndx_is_data()
3308 shndx == obj->efile.bss_shndx || in bpf_object__shndx_is_data()
3309 shndx == obj->efile.rodata_shndx; in bpf_object__shndx_is_data()
3313 int shndx) in bpf_object__shndx_is_maps() argument
3315 return shndx == obj->efile.maps_shndx || in bpf_object__shndx_is_maps()
3316 shndx == obj->efile.btf_maps_shndx; in bpf_object__shndx_is_maps()
3320 bpf_object__section_to_libbpf_map_type(const struct bpf_object *obj, int shndx) in bpf_object__section_to_libbpf_map_type() argument
3322 if (shndx == obj->efile.data_shndx) in bpf_object__section_to_libbpf_map_type()
3324 else if (shndx == obj->efile.bss_shndx) in bpf_object__section_to_libbpf_map_type()
3326 else if (shndx == obj->efile.rodata_shndx) in bpf_object__section_to_libbpf_map_type()
3328 else if (shndx == obj->efile.symbols_shndx) in bpf_object__section_to_libbpf_map_type()