Lines Matching refs:strscn

42 get_zdata (Elf_Scn *strscn)  in get_zdata()  argument
45 void *zdata = __libelf_decompress_elf (strscn, &zsize, &zalign); in get_zdata()
49 strscn->zdata_base = zdata; in get_zdata()
50 strscn->zdata_size = zsize; in get_zdata()
51 strscn->zdata_align = zalign; in get_zdata()
87 Elf_Scn *strscn; in elf_strptr() local
99 strscn = &runp->data[idx]; in elf_strptr()
121 Elf32_Shdr *shdr = strscn->shdr.e32 ?: __elf32_getshdr_rdlock (strscn); in elf_strptr()
133 if (strscn->zdata_base == NULL && get_zdata (strscn) == NULL) in elf_strptr()
135 sh_size = strscn->zdata_size; in elf_strptr()
147 Elf64_Shdr *shdr = strscn->shdr.e64 ?: __elf64_getshdr_rdlock (strscn); in elf_strptr()
159 if (strscn->zdata_base == NULL && get_zdata (strscn) == NULL) in elf_strptr()
161 sh_size = strscn->zdata_size; in elf_strptr()
172 if (strscn->rawdata_base == NULL && ! strscn->data_read) in elf_strptr()
176 if (strscn->rawdata_base == NULL && ! strscn->data_read in elf_strptr()
178 && __libelf_set_rawdata_wrlock (strscn) != 0) in elf_strptr()
182 if (unlikely (strscn->zdata_base != NULL)) in elf_strptr()
186 if (likely (validate_str (strscn->zdata_base, offset, sh_size))) in elf_strptr()
187 result = &strscn->zdata_base[offset]; in elf_strptr()
191 else if (likely (strscn->data_list_rear == NULL)) in elf_strptr()
204 if (likely (validate_str (strscn->rawdata_base, offset, sh_size))) in elf_strptr()
205 result = &strscn->rawdata_base[offset]; in elf_strptr()
213 struct Elf_Data_List *dl = &strscn->data_list; in elf_strptr()