Home | History | Annotate | Download | only in libdwfl

Lines Matching refs:mod

170   for (Dwfl_Module *mod = dwfl->modulelist; mod != NULL; mod = mod->next)
171 if (! mod->gc)
173 const GElf_Addr start = segment_start (dwfl, mod->low_addr);
174 const GElf_Addr end = segment_end (dwfl, mod->high_addr);
217 mod->segment = idx;
219 /* Put MOD in the table for each segment that's inside it. */
221 dwfl->lookup_module[idx++] = mod;
231 dwfl_addrsegment (Dwfl *dwfl, Dwarf_Addr address, Dwfl_Module **mod)
237 && mod != NULL
245 if (likely (mod != NULL))
248 *mod = NULL;
251 *mod = dwfl->lookup_module[idx];
255 if (*mod == NULL && idx > 0 && dwfl->lookup_addr[idx] == address)
257 *mod = dwfl->lookup_module[idx - 1];
258 if (*mod != NULL && (*mod)->high_addr != address)
259 *mod = NULL;