Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/threads/
H A Dtsd.c214 tsd_t *stsd; in pthread_getspecific() local
227 if ((stsd = curthread->ul_stsd) != NULL && key < stsd->tsd_nalloc) in pthread_getspecific()
228 return (stsd->tsd_data[key]); in pthread_getspecific()
236 tsd_t *stsd; in thr_getspecific() local
250 else if ((stsd = curthread->ul_stsd) != NULL && key < stsd->tsd_nalloc) in thr_getspecific()
251 *valuep = stsd->tsd_data[key]; in thr_getspecific()
269 tsd_t *stsd; in thr_setspecific_slow() local
294 nkeys = ((stsd = self->ul_stsd) != NULL)? stsd->tsd_nalloc : 8; in thr_setspecific_slow()
304 if (stsd != NULL) { in thr_setspecific_slow()
308 (void) memcpy(ntsd, stsd, stsd->tsd_nalloc * sizeof (void *)); in thr_setspecific_slow()
[all …]
/illumos-gate/usr/src/lib/libc_db/common/
H A Dthread_db.c2159 tsd_t stsd; in __td_thr_tsd() local
2169 ps_pdread(ph_p, tsd_paddr, &stsd, sizeof (stsd)) != PS_OK) in __td_thr_tsd()
2173 nkey = tsd_paddr == 0 ? TSD_NFAST : stsd.tsd_nalloc; in __td_thr_tsd()
2182 tsd32_t stsd; in __td_thr_tsd() local
2193 ps_pdread(ph_p, addr, &stsd, sizeof (stsd)) != PS_OK) in __td_thr_tsd()
2197 nkey = addr == 0 ? TSD_NFAST : stsd.tsd_nalloc; in __td_thr_tsd()