Lines Matching refs:dm_elf
509 if (elf_getshdrstrndx(dmp->dm_elf, &shstrs) == -1) in dt_module_load_sect()
512 for (sp = NULL; (sp = elf_nextscn(dmp->dm_elf, sp)) != NULL; ) { in dt_module_load_sect()
514 (s = elf_strptr(dmp->dm_elf, shstrs, sh.sh_name)) == NULL) in dt_module_load_sect()
921 (void) elf_end(dmp->dm_elf); in dt_module_unload()
922 dmp->dm_elf = NULL; in dt_module_unload()
1076 dmp->dm_elf = elf_begin(fd, ELF_C_READ, NULL); in dt_module_update()
1077 err = elf_cntl(dmp->dm_elf, ELF_C_FDREAD); in dt_module_update()
1080 if (dmp->dm_elf == NULL || err == -1 || in dt_module_update()
1081 elf_getshdrstrndx(dmp->dm_elf, &shstrs) == -1) { in dt_module_update()
1088 switch (gelf_getclass(dmp->dm_elf)) { in dt_module_update()
1107 for (sp = NULL; (sp = elf_nextscn(dmp->dm_elf, sp)) != NULL; ) { in dt_module_update()
1109 (s = elf_strptr(dmp->dm_elf, shstrs, sh.sh_name)) == NULL) in dt_module_update()