Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/threads/
H A Dtls.c88 ulwp_t *oldself = __curthread(); in __tls_static_mods() local
108 if (oldself != NULL) { in __tls_static_mods()
110 &oldself->ul_uberdata->tls_metadata, sizeof (*tlsm)); in __tls_static_mods()
155 if (oldself != NULL) in __tls_static_mods()
156 (void) memcpy(&oldself->ul_uberdata->tls_metadata, in __tls_static_mods()
H A Dthr.c1255 ulwp_t *oldself = __curthread(); in libc_init() local
1295 if (oldself != NULL && (oldself->ul_primarymap || !primary_link_map)) { in libc_init()
1296 __tdb_bootstrap = oldself->ul_uberdata->tdb_bootstrap; in libc_init()
1367 if (oldself != NULL) { in libc_init()
1371 ASSERT(oldself->ul_main == 1); in libc_init()
1372 self->ul_stsd = oldself->ul_stsd; in libc_init()
1374 self->ul_ftsd[i] = oldself->ul_ftsd[i]; in libc_init()
1375 self->ul_tls = oldself->ul_tls; in libc_init()
1385 (void) memcpy(udp, oldself->ul_uberdata, sizeof (*udp)); in libc_init()
1438 if (oldself != NULL) { in libc_init()
[all …]