Lines Matching refs:shndx
3566 int shndx) in bpf_object__shndx_is_data() argument
3568 return shndx == obj->efile.data_shndx || in bpf_object__shndx_is_data()
3569 shndx == obj->efile.bss_shndx || in bpf_object__shndx_is_data()
3570 shndx == obj->efile.rodata_shndx; in bpf_object__shndx_is_data()
3574 int shndx) in bpf_object__shndx_is_maps() argument
3576 return shndx == obj->efile.maps_shndx || in bpf_object__shndx_is_maps()
3577 shndx == obj->efile.btf_maps_shndx; in bpf_object__shndx_is_maps()
3581 bpf_object__section_to_libbpf_map_type(const struct bpf_object *obj, int shndx) in bpf_object__section_to_libbpf_map_type() argument
3583 if (shndx == obj->efile.data_shndx) in bpf_object__section_to_libbpf_map_type()
3585 else if (shndx == obj->efile.bss_shndx) in bpf_object__section_to_libbpf_map_type()
3587 else if (shndx == obj->efile.rodata_shndx) in bpf_object__section_to_libbpf_map_type()
3589 else if (shndx == obj->efile.symbols_shndx) in bpf_object__section_to_libbpf_map_type()