Lines Matching refs:scn

1196 	Elf_Scn *scn;  in file_differs()  local
1214 scn = NULL; in file_differs()
1215 while ((scn = elf_nextscn(elf, scn)) != NULL) { in file_differs()
1216 if (gelf_getshdr(scn, &shdr) != NULL && in file_differs()
1223 if ((data = elf_getdata(scn, NULL)) == NULL) in file_differs()
1584 Elf_Scn *scn; in build_fake_elf() local
1592 (scn = elf_getscn(elf, shstrndx)) == NULL || in build_fake_elf()
1593 (*shdata = elf_getdata(scn, NULL)) == NULL) { in build_fake_elf()
1620 Elf_Scn *scn; in build_alt_debug() local
1683 scn = NULL; in build_alt_debug()
1685 for (scn = elf_nextscn(elf, scn); data != NULL && scn != NULL; in build_alt_debug()
1686 scn = elf_nextscn(elf, scn)) { in build_alt_debug()
1690 if (gelf_getshdr(scn, &hdr) == NULL) in build_alt_debug()
1696 if ((ntdata = elf_getdata(scn, NULL)) == NULL) in build_alt_debug()
1724 scn = NULL; in build_alt_debug()
1725 for (scn = elf_nextscn(elf, scn); scn != NULL; in build_alt_debug()
1726 scn = elf_nextscn(elf, scn)) { in build_alt_debug()
1728 if (gelf_getshdr(scn, &symshdr) == NULL) in build_alt_debug()
1734 if ((symdata = elf_getdata(scn, NULL)) == NULL) in build_alt_debug()
1739 if (scn == NULL) in build_alt_debug()
1742 if ((scn = elf_getscn(elf, symshdr.sh_link)) == NULL) in build_alt_debug()
1745 if (gelf_getshdr(scn, &strshdr) == NULL) in build_alt_debug()
1748 if ((strdata = elf_getdata(scn, NULL)) == NULL) in build_alt_debug()
1835 Elf_Scn *scn; in Pbuild_file_symtab() local
1915 (scn = elf_getscn(elf, shstrndx)) == NULL || in Pbuild_file_symtab()
1916 (shdata = elf_getdata(scn, NULL)) == NULL) { in Pbuild_file_symtab()
1979 for (cp = cache + 1, scn = NULL; scn = elf_nextscn(elf, scn); cp++) { in Pbuild_file_symtab()
1980 if (gelf_getshdr(scn, &cp->c_shdr) == NULL) { in Pbuild_file_symtab()
1986 if ((cp->c_data = elf_getdata(scn, NULL)) == NULL) { in Pbuild_file_symtab()