Lines Matching refs:scns
91 sort_sections (Elf_Scn **scns, Elf_ScnList *list) in sort_sections() argument
93 Elf_Scn **scnp = scns; in sort_sections()
99 qsort (scns, scnp - scns, sizeof (*scns), compare_sections); in sort_sections()
220 Elf_ScnList *list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2()
221 Elf_Scn **scns = (Elf_Scn **) malloc (shnum * sizeof (Elf_Scn *)); in __elfw2() local
222 if (unlikely (scns == NULL)) in __elfw2()
236 sort_sections (scns, list); in __elfw2()
242 Elf_Scn *scn = scns[cnt]; in __elfw2()
257 free (scns); in __elfw2()
284 free (scns); in __elfw2()
298 Elf_Scn *scn = scns[cnt]; in __elfw2()
381 free (scns); in __elfw2()
445 Elf_Scn *scn = scns[cnt]; in __elfw2()
472 free (scns); in __elfw2()
690 Elf_ScnList *list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2()
691 Elf_Scn **scns = (Elf_Scn **) malloc (shnum * sizeof (Elf_Scn *)); in __elfw2() local
692 if (unlikely (scns == NULL)) in __elfw2()
698 sort_sections (scns, list); in __elfw2()
702 Elf_Scn *scn = scns[cnt]; in __elfw2()
735 free (scns); in __elfw2()
848 free (scns); in __elfw2()