Lines Matching refs:lookup_module
76 if (dwfl->lookup_module != NULL) in insert()
79 Dwfl_Module **old = dwfl->lookup_module; in insert()
80 dwfl->lookup_module = realloc (dwfl->lookup_module, in insert()
81 sizeof dwfl->lookup_module[0] * n); in insert()
82 if (unlikely (dwfl->lookup_module == NULL)) in insert()
97 if (dwfl->lookup_module != NULL) in insert()
98 memmove (&dwfl->lookup_module[i + need], &dwfl->lookup_module[i], in insert()
99 move * sizeof dwfl->lookup_module[0]); in insert()
106 if (dwfl->lookup_module != NULL) in insert()
107 dwfl->lookup_module[i] = NULL; in insert()
117 if (dwfl->lookup_module != NULL) in insert()
118 dwfl->lookup_module[i] = NULL; in insert()
204 if (dwfl->lookup_module == NULL) in reify_segments()
206 dwfl->lookup_module = calloc (dwfl->lookup_alloc, in reify_segments()
207 sizeof dwfl->lookup_module[0]); in reify_segments()
208 if (unlikely (dwfl->lookup_module == NULL)) in reify_segments()
217 dwfl->lookup_module[idx++] = mod; in reify_segments()
220 assert (dwfl->lookup_module[mod->segment] == mod); in reify_segments()
234 if (dwfl->lookup_module[idx] != NULL) in reify_segments()
235 dwfl->lookup_module[idx]->segment = idx; in reify_segments()
246 if (unlikely (dwfl->lookup_module == NULL) in dwfl_addrsegment()
257 if (unlikely (idx < 0) || unlikely (dwfl->lookup_module == NULL)) in dwfl_addrsegment()
261 *mod = dwfl->lookup_module[idx]; in dwfl_addrsegment()
267 *mod = dwfl->lookup_module[idx - 1]; in dwfl_addrsegment()
296 if (unlikely (dwfl->lookup_module != NULL)) in INTDEF()
298 free (dwfl->lookup_module); in INTDEF()
299 dwfl->lookup_module = NULL; in INTDEF()