Lines Matching refs:shndx
1690 int shndx) in bpf_object__shndx_is_data() argument
1692 return shndx == obj->efile.data_shndx || in bpf_object__shndx_is_data()
1693 shndx == obj->efile.bss_shndx || in bpf_object__shndx_is_data()
1694 shndx == obj->efile.rodata_shndx; in bpf_object__shndx_is_data()
1698 int shndx) in bpf_object__shndx_is_maps() argument
1700 return shndx == obj->efile.maps_shndx || in bpf_object__shndx_is_maps()
1701 shndx == obj->efile.btf_maps_shndx; in bpf_object__shndx_is_maps()
1705 int shndx) in bpf_object__relo_in_known_section() argument
1707 return shndx == obj->efile.text_shndx || in bpf_object__relo_in_known_section()
1708 bpf_object__shndx_is_maps(obj, shndx) || in bpf_object__relo_in_known_section()
1709 bpf_object__shndx_is_data(obj, shndx); in bpf_object__relo_in_known_section()
1713 bpf_object__section_to_libbpf_map_type(const struct bpf_object *obj, int shndx) in bpf_object__section_to_libbpf_map_type() argument
1715 if (shndx == obj->efile.data_shndx) in bpf_object__section_to_libbpf_map_type()
1717 else if (shndx == obj->efile.bss_shndx) in bpf_object__section_to_libbpf_map_type()
1719 else if (shndx == obj->efile.rodata_shndx) in bpf_object__section_to_libbpf_map_type()