Lines Matching defs:moduleid
51 tls_modinfo_alloc(tls_metadata_t *tlsm, ulong_t moduleid)
58 tls_modinfo->tls_size <= moduleid) {
61 while (mod_slots <= moduleid)
127 * We do not assume any order for the moduleid's; we only assume
169 ulong_t moduleid = tlsp->tm_modid;
175 modinfo = tls_modinfo_alloc(tlsm, moduleid);
176 (void) memcpy(&modinfo[moduleid], tlsp, sizeof (*tlsp));
187 ulong_t moduleid = tlsp->tm_modid;
192 moduleid < tlsm->tls_modinfo.tls_size);
194 (void) memset(&modinfo[moduleid], 0, sizeof (TLS_modinfo));
221 ulong_t moduleid;
233 if ((moduleid = tls_index->ti_moduleid) < self->ul_ntlsent)
236 ASSERT(moduleid < tlsm->tls_modinfo.tls_size);
247 tlsent += moduleid;
249 tlsp = (TLS_modinfo *)tlsm->tls_modinfo.tls_data + moduleid;
301 ulong_t moduleid;
304 if ((moduleid = tls_index->ti_moduleid) < self->ul_ntlsent &&
305 (base = tlsent[moduleid].tls_data) != NULL)
322 long moduleid;
335 for (moduleid = 0; moduleid < nmods; moduleid++) {
342 tlsp = (TLS_modinfo *)tlsm->tls_modinfo.tls_data + moduleid;
378 long moduleid;
389 for (moduleid = nmods - 1; moduleid >= 0; --moduleid) {
396 tlsp = (TLS_modinfo *)tlsm->tls_modinfo.tls_data + moduleid;
404 (moduleid < self->ul_ntlsent &&
406 tlsent[moduleid].tls_data != NULL))) {
435 ulong_t moduleid;
445 for (moduleid = 0; moduleid < ntlsent; moduleid++, tlsent++) {