Lines Matching refs:nsid
56 Lmid_t nsid; member
501 if (dst != NULL || args->nsid == __LM_ID_CALLER in dl_open_worker_begin()
515 if (args->nsid == __LM_ID_CALLER) in dl_open_worker_begin()
516 args->nsid = call_map->l_ns; in dl_open_worker_begin()
522 args->libc_already_loaded = GL(dl_ns)[args->nsid].libc_map != NULL; in dl_open_worker_begin()
526 = GL (dl_ns)[args->nsid]._ns_global_scope_pending_adds; in dl_open_worker_begin()
530 _dl_debug_initialize (0, args->nsid); in dl_open_worker_begin()
535 mode | __RTLD_CALLMAP, args->nsid); in dl_open_worker_begin()
581 assert (_dl_debug_update (args->nsid)->r_state == RT_CONSISTENT); in dl_open_worker_begin()
619 struct r_debug *r = _dl_debug_update (args->nsid); in dl_open_worker_begin()
622 LIBC_PROBE (map_complete, 3, args->nsid, r, new); in dl_open_worker_begin()
675 LIBC_PROBE (reloc_start, 2, args->nsid, r); in dl_open_worker_begin()
754 LIBC_PROBE (reloc_complete, 3, args->nsid, r, new); in dl_open_worker_begin()
763 struct link_map *libc_map = GL(dl_ns)[args->nsid].libc_map; in dl_open_worker_begin()
822 _dl_open (const char *file, int mode, const void *caller_dlopen, Lmid_t nsid, in _dl_open() argument
832 if (__glibc_unlikely (nsid == LM_ID_NEWLM)) in _dl_open()
835 for (nsid = 1; DL_NNS > 1 && nsid < GL(dl_nns); ++nsid) in _dl_open()
836 if (GL(dl_ns)[nsid]._ns_loaded == NULL) in _dl_open()
839 if (__glibc_unlikely (nsid == DL_NNS)) in _dl_open()
847 else if (nsid == GL(dl_nns)) in _dl_open()
849 __rtld_lock_initialize (GL(dl_ns)[nsid]._ns_unique_sym_table.lock); in _dl_open()
853 _dl_debug_update (nsid)->r_state = RT_CONSISTENT; in _dl_open()
858 else if (__glibc_unlikely (nsid != LM_ID_BASE && nsid != __LM_ID_CALLER) in _dl_open()
859 && (__glibc_unlikely (nsid < 0 || nsid >= GL(dl_nns)) in _dl_open()
865 || GL(dl_ns)[nsid]._ns_nloaded == 0 in _dl_open()
866 || GL(dl_ns)[nsid]._ns_loaded->l_auditing)) in _dl_open()
875 args.nsid = nsid; in _dl_open()
899 if (args.nsid >= 0) in _dl_open()
900 GL (dl_ns)[args.nsid]._ns_global_scope_pending_adds in _dl_open()
909 GL(dl_ns)[args.nsid].libc_map = NULL; in _dl_open()
929 assert (_dl_debug_update (args.nsid)->r_state == RT_CONSISTENT); in _dl_open()