Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libc/port/threads/
H A Dtsd.c53 tsd_metadata_t *tsdm = &curthread->ul_uberdata->tsd_metadata; in thr_keycreate() local
59 lmutex_lock(&tsdm->tsdm_lock); in thr_keycreate()
100 if (tsdm->tsdm_nused == (old_nkeys = tsdm->tsdm_nkeys)) { in thr_keycreate()
109 lmutex_unlock(&tsdm->tsdm_lock); in thr_keycreate()
113 lmutex_unlock(&tsdm->tsdm_lock); in thr_keycreate()
116 if ((old_data = tsdm->tsdm_destro) == NULL) { in thr_keycreate()
119 tsdm->tsdm_nused = 1; in thr_keycreate()
124 tsdm->tsdm_destro = new_data; in thr_keycreate()
125 tsdm->tsdm_nkeys = new_nkeys; in thr_keycreate()
128 *pkey = tsdm->tsdm_nused; in thr_keycreate()
[all …]
/titanic_50/usr/src/lib/libc/port/gen/
H A Datexit.c303 tsd_metadata_t *tsdm = &curthread->ul_uberdata->tsd_metadata; in _preexec_tsd_unload() local
307 lmutex_lock(&tsdm->tsdm_lock); in _preexec_tsd_unload()
308 for (key = 1; key < tsdm->tsdm_nused; key++) { in _preexec_tsd_unload()
309 if ((func = tsdm->tsdm_destro[key]) != NULL && in _preexec_tsd_unload()
312 tsdm->tsdm_destro[key] = NULL; in _preexec_tsd_unload()
314 lmutex_unlock(&tsdm->tsdm_lock); in _preexec_tsd_unload()
/titanic_50/usr/src/lib/libc_db/common/
H A Dthread_db.c789 tsd_metadata_t tsdm; in __td_ta_tsd_iter() local
793 &tsdm, sizeof (tsdm)) != PS_OK) in __td_ta_tsd_iter()
796 numkeys = tsdm.tsdm_nused; in __td_ta_tsd_iter()
797 dest_addr = (psaddr_t)tsdm.tsdm_destro; in __td_ta_tsd_iter()
804 tsd_metadata32_t tsdm; in __td_ta_tsd_iter() local
808 &tsdm, sizeof (tsdm)) != PS_OK) in __td_ta_tsd_iter()
811 numkeys = tsdm.tsdm_nused; in __td_ta_tsd_iter()
812 dest_addr = (psaddr_t)tsdm.tsdm_destro; in __td_ta_tsd_iter()
2164 tsd_metadata_t tsdm; in __td_thr_tsd() local
2169 &tsdm, sizeof (tsdm)) != PS_OK) in __td_thr_tsd()
[all …]