Lines Matching refs:mod
60 dwfl_offline_section_address (Dwfl_Module *mod, in dwfl_offline_section_address() argument
69 assert (mod->e_type == ET_REL); in dwfl_offline_section_address()
73 if (mod->debug.elf == NULL) in dwfl_offline_section_address()
81 Elf_Scn *ourscn = elf_getscn (mod->debug.elf, shndx); in dwfl_offline_section_address()
84 while ((scn = elf_nextscn (mod->debug.elf, scn)) != ourscn) in dwfl_offline_section_address()
96 while ((scn = elf_nextscn (mod->main.elf, scn)) != NULL) in dwfl_offline_section_address()
150 Dwfl_Module *mod = __libdwfl_report_elf (dwfl, name, file_name, fd, elf, in process_elf() local
152 if (mod != NULL) in process_elf()
160 if ((dwfl->offline_next_address >= mod->low_addr in process_elf()
161 || mod->low_addr - dwfl->offline_next_address < OFFLINE_REDZONE) in process_elf()
162 && dwfl->offline_next_address < mod->high_addr + OFFLINE_REDZONE) in process_elf()
163 dwfl->offline_next_address = mod->high_addr + OFFLINE_REDZONE; in process_elf()
166 if (mod->main.fd != -1 && elf_cntl (mod->main.elf, ELF_C_FDREAD) == 0) in process_elf()
168 close (mod->main.fd); in process_elf()
169 mod->main.fd = -1; in process_elf()
173 return mod; in process_elf()
181 int fd, Elf *member, Dwfl_Module **mod) in process_archive_member() argument
189 *mod = NULL; in process_archive_member()
208 *mod = NULL; in process_archive_member()
243 *mod = process_file (dwfl, name, member_name, fd, member, predicate); in process_archive_member()
247 if (*mod == NULL) /* process_file called elf_end. */ in process_archive_member()
261 Dwfl_Module *mod = NULL; in process_archive() local
270 fd, member, &mod) != ELF_C_NULL) in process_archive()
277 if (mod != NULL /* If no modules, caller will clean up. */ in process_archive()
281 return mod; in process_archive()
292 Dwfl_Module *mod = process_file (dwfl, name, file_name, fd, elf, predicate); in __libdwfl_report_offline() local
293 if (mod == NULL) in __libdwfl_report_offline()
299 return mod; in __libdwfl_report_offline()