Lines Matching refs:scn
2401 Elf_Scn *scn; in _libelf_load_extended() local
2417 if ((scn = _libelf_allocate_scn(e, (size_t) 0)) == NULL) in _libelf_load_extended()
2421 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr), in _libelf_load_extended()
2426 scn->s_shdr.s_shdr64.M) in _libelf_load_extended()
2598 Elf_Scn *scn; in _libelf_load_section_headers() local
2663 if ((scn = _libelf_allocate_scn(e, i)) == NULL) in _libelf_load_section_headers()
2666 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr), in _libelf_load_section_headers()
2671 scn->s_offset = scn->s_rawoff = in _libelf_load_section_headers()
2672 scn->s_shdr.s_shdr32.sh_offset; in _libelf_load_section_headers()
2673 scn->s_size = scn->s_shdr.s_shdr32.sh_size; in _libelf_load_section_headers()
2677 scn->s_offset = scn->s_rawoff = in _libelf_load_section_headers()
2678 scn->s_shdr.s_shdr64.sh_offset; in _libelf_load_section_headers()
2679 scn->s_size = scn->s_shdr.s_shdr64.sh_size; in _libelf_load_section_headers()
3128 Elf_Scn *scn, *tscn; in elf_end() local
3154 STAILQ_FOREACH_SAFE(scn, &e->e_u.e_elf.e_scn, s_next, in elf_end()
3156 scn = _libelf_release_scn(scn); in elf_end()
3235 Elf_Scn *scn; in gelf_getsym() local
3246 (scn = d->d_scn) == NULL || in gelf_getsym()
3247 (e = scn->s_elf) == NULL) { in gelf_getsym()
3257 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getsym()
3260 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getsym()