Lines Matching defs:mod
163 for (Dwfl_Module *mod = dwfl->modulelist; mod != NULL; mod = mod->next)
164 if (! mod->gc)
166 const GElf_Addr start = __libdwfl_segment_start (dwfl, mod->low_addr);
167 const GElf_Addr end = __libdwfl_segment_end (dwfl, mod->high_addr);
217 mod->segment = idx;
221 dwfl->lookup_module[idx++] = mod;
224 assert (dwfl->lookup_module[mod->segment] == mod);
245 dwfl_addrsegment (Dwfl *dwfl, Dwarf_Addr address, Dwfl_Module **mod)
251 && mod != NULL
259 if (likely (mod != NULL))
262 *mod = NULL;
265 *mod = dwfl->lookup_module[idx];
269 if (*mod == NULL && idx > 0 && dwfl->lookup_addr[idx] == address)
271 *mod = dwfl->lookup_module[idx - 1];
272 if (*mod != NULL && (*mod)->high_addr != address)
273 *mod = NULL;