Lines Matching defs:self
126 * total size we are given and that they are self-consistent.
218 ulwp_t *self = curthread;
219 tls_metadata_t *tlsm = &self->ul_uberdata->tls_metadata;
231 sigoff(self);
233 if ((moduleid = tls_index->ti_moduleid) < self->ul_ntlsent)
234 tlsent = self->ul_tlsent;
238 if (self->ul_tlsent != NULL) {
239 (void) memcpy(tlsent, self->ul_tlsent,
240 self->ul_ntlsent * sizeof (tls_t));
241 lfree(self->ul_tlsent,
242 self->ul_ntlsent * sizeof (tls_t));
244 self->ul_tlsent = tlsent;
245 self->ul_ntlsent = tlsm->tls_modinfo.tls_size;
254 base = (caddr_t)self - tlsp->tm_stattlsoffset;
285 base = (caddr_t)self - 512;
287 sigon(self);
299 ulwp_t *self = curthread;
300 tls_t *tlsent = self->ul_tlsent;
304 if ((moduleid = tls_index->ti_moduleid) < self->ul_ntlsent &&
319 ulwp_t *self = curthread;
320 tls_metadata_t *tlsm = &self->ul_uberdata->tls_metadata;
329 (void) memcpy((caddr_t)self - tlsm->static_tls.tls_size,
374 ulwp_t *self = curthread;
375 tls_metadata_t *tlsm = &self->ul_uberdata->tls_metadata;
381 if (tlsm->static_tls.tls_size == 0 && self->ul_ntlsent == 0)
404 (moduleid < self->ul_ntlsent &&
405 (tlsent = self->ul_tlsent) != NULL &&
425 tls_free(self);