Lines Matching refs:imap

262       struct link_map *imap = new->l_searchlist.r_list[i];  in resize_scopes()  local
266 if (imap->l_init_called && imap->l_type == lt_loaded) in resize_scopes()
268 if (scope_has_map (imap, new)) in resize_scopes()
272 size_t cnt = scope_size (imap); in resize_scopes()
273 if (__glibc_unlikely (cnt + 1 >= imap->l_scope_max)) in resize_scopes()
280 if (imap->l_scope != imap->l_scope_mem in resize_scopes()
281 && imap->l_scope_max < array_length (imap->l_scope_mem)) in resize_scopes()
288 new_size = array_length (imap->l_scope_mem); in resize_scopes()
289 newp = imap->l_scope_mem; in resize_scopes()
293 new_size = imap->l_scope_max * 2; in resize_scopes()
302 memcpy (newp, imap->l_scope, in resize_scopes()
303 (cnt + 1) * sizeof (imap->l_scope[0])); in resize_scopes()
304 struct r_scope_elem **old = imap->l_scope; in resize_scopes()
306 imap->l_scope = newp; in resize_scopes()
308 if (old != imap->l_scope_mem) in resize_scopes()
311 imap->l_scope_max = new_size; in resize_scopes()
327 struct link_map *imap = new->l_searchlist.r_list[i]; in update_scopes() local
330 if (imap->l_init_called && imap->l_type == lt_loaded) in update_scopes()
332 if (scope_has_map (imap, new)) in update_scopes()
336 size_t cnt = scope_size (imap); in update_scopes()
339 assert (cnt + 1 < imap->l_scope_max); in update_scopes()
344 imap->l_scope[cnt + 1] = NULL; in update_scopes()
346 imap->l_scope[cnt] = &new->l_searchlist; in update_scopes()
353 _dl_show_scope (imap, from_scope); in update_scopes()
367 struct link_map *imap = new->l_searchlist.r_list[i]; in resize_tls_slotinfo() local
371 if (! imap->l_init_called && imap->l_tls_blocksize > 0) in resize_tls_slotinfo()
373 _dl_add_to_slotinfo (imap, false); in resize_tls_slotinfo()
389 struct link_map *imap = new->l_searchlist.r_list[i]; in update_tls_slotinfo() local
393 if (! imap->l_init_called && imap->l_tls_blocksize > 0) in update_tls_slotinfo()
395 _dl_add_to_slotinfo (imap, true); in update_tls_slotinfo()
397 if (imap->l_need_tls_init in update_tls_slotinfo()
415 struct link_map *imap = new->l_searchlist.r_list[i]; in update_tls_slotinfo() local
417 if (imap->l_need_tls_init in update_tls_slotinfo()
418 && ! imap->l_init_called in update_tls_slotinfo()
419 && imap->l_tls_blocksize > 0) in update_tls_slotinfo()
423 imap->l_need_tls_init = 0; in update_tls_slotinfo()
434 _dl_update_slotinfo (imap->l_tls_modid); in update_tls_slotinfo()
437 dl_init_static_tls (imap); in update_tls_slotinfo()
438 assert (imap->l_need_tls_init == 0); in update_tls_slotinfo()