Searched refs:tsdm (Results 1 – 3 of 3) sorted by relevance
53 tsd_metadata_t *tsdm = &curthread->ul_uberdata->tsd_metadata; in thr_keycreate() local59 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 …]
303 tsd_metadata_t *tsdm = &curthread->ul_uberdata->tsd_metadata; in _preexec_tsd_unload() local307 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()
789 tsd_metadata_t tsdm; in __td_ta_tsd_iter() local793 &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() local808 &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() local2169 &tsdm, sizeof (tsdm)) != PS_OK) in __td_thr_tsd()[all …]