Lines Matching refs:scn
1207 Elf_Scn *scn;
1225 scn = NULL;
1226 while ((scn = elf_nextscn(elf, scn)) != NULL) {
1227 if (gelf_getshdr(scn, &shdr) != NULL &&
1234 if ((data = elf_getdata(scn, NULL)) == NULL)
1595 Elf_Scn *scn;
1603 (scn = elf_getscn(elf, shstrndx)) == NULL ||
1604 (*shdata = elf_getdata(scn, NULL)) == NULL) {
1627 Elf_Scn *scn;
1706 (scn = elf_getscn(elf, shstrndx)) == NULL ||
1707 (shdata = elf_getdata(scn, NULL)) == NULL) {
1755 for (cp = cache + 1, scn = NULL; scn = elf_nextscn(elf, scn); cp++) {
1756 if (gelf_getshdr(scn, &cp->c_shdr) == NULL) {
1762 if ((cp->c_data = elf_getdata(scn, NULL)) == NULL) {