Home
last modified time | relevance | path

Searched refs:mod_slots (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/threads/
H A Dtls.c55 size_t mod_slots; in tls_modinfo_alloc() local
59 if ((mod_slots = tls_modinfo->tls_size) == 0) in tls_modinfo_alloc()
60 mod_slots = MIN_MOD_SLOTS; in tls_modinfo_alloc()
61 while (mod_slots <= moduleid) in tls_modinfo_alloc()
62 mod_slots *= 2; in tls_modinfo_alloc()
63 modinfo = lmalloc(mod_slots * sizeof (TLS_modinfo)); in tls_modinfo_alloc()
71 tls_modinfo->tls_size = mod_slots; in tls_modinfo_alloc()