Lines Matching refs:lookup_module
80 if (dwfl->lookup_module != NULL) in insert()
83 Dwfl_Module **old = dwfl->lookup_module; in insert()
84 dwfl->lookup_module = realloc (dwfl->lookup_module, in insert()
85 sizeof dwfl->lookup_module[0] * n); in insert()
86 if (unlikely (dwfl->lookup_module == NULL)) in insert()
101 if (dwfl->lookup_module != NULL) in insert()
102 memmove (&dwfl->lookup_module[i + need], &dwfl->lookup_module[i], in insert()
103 move * sizeof dwfl->lookup_module[0]); in insert()
110 if (dwfl->lookup_module != NULL) in insert()
111 dwfl->lookup_module[i] = NULL; in insert()
121 if (dwfl->lookup_module != NULL) in insert()
122 dwfl->lookup_module[i] = NULL; in insert()
208 if (dwfl->lookup_module == NULL) in reify_segments()
210 dwfl->lookup_module = calloc (dwfl->lookup_alloc, in reify_segments()
211 sizeof dwfl->lookup_module[0]); in reify_segments()
212 if (unlikely (dwfl->lookup_module == NULL)) in reify_segments()
221 dwfl->lookup_module[idx++] = mod; in reify_segments()
224 assert (dwfl->lookup_module[mod->segment] == mod); in reify_segments()
238 if (dwfl->lookup_module[idx] != NULL) in reify_segments()
239 dwfl->lookup_module[idx]->segment = idx; in reify_segments()
250 if (unlikely (dwfl->lookup_module == NULL) in dwfl_addrsegment()
261 if (unlikely (idx < 0) || unlikely (dwfl->lookup_module == NULL)) in dwfl_addrsegment()
265 *mod = dwfl->lookup_module[idx]; in dwfl_addrsegment()
271 *mod = dwfl->lookup_module[idx - 1]; in dwfl_addrsegment()
304 if (unlikely (dwfl->lookup_module != NULL)) in INTDEF()
306 free (dwfl->lookup_module); in INTDEF()
307 dwfl->lookup_module = NULL; in INTDEF()