Lines Matching refs:s_elf
39 (((Dnode *)(edata))->db_scn->s_elf->ed_class)
42 (((Dnode *)(edata))->db_scn->s_elf)
336 if (scn->s_elf->ed_class == ELFCLASS32) { in gelf_getshdr()
342 READLOCKS(scn->s_elf, scn); in gelf_getshdr()
353 READUNLOCKS(scn->s_elf, scn); in gelf_getshdr()
356 } else if (scn->s_elf->ed_class == ELFCLASS64) { in gelf_getshdr()
362 READLOCKS(scn->s_elf, scn); in gelf_getshdr()
364 READUNLOCKS(scn->s_elf, scn); in gelf_getshdr()
380 if (scn->s_elf->ed_class == ELFCLASS32) { in gelf_update_shdr()
386 ELFWLOCK(scn->s_elf); in gelf_update_shdr()
404 ELFUNLOCK(scn->s_elf); in gelf_update_shdr()
406 } else if (scn->s_elf->ed_class == ELFCLASS64) { in gelf_update_shdr()
412 ELFWLOCK(scn->s_elf); in gelf_update_shdr()
414 ELFUNLOCK(scn->s_elf); in gelf_update_shdr()