Lines Matching defs:ulwp
1009 * Read the ulwp struct.
1012 ulwp_t ulwp;
1015 &ulwp, sizeof (ulwp)) != PS_OK &&
1016 ((void) memset(&ulwp, 0, sizeof (ulwp)),
1018 &ulwp, REPLACEMENT_SIZE)) != PS_OK) {
1022 next_lwp_addr = (psaddr_t)ulwp.ul_forw;
1024 ts_state = ulwp.ul_dead? TD_THR_ZOMBIE :
1025 ulwp.ul_stop? TD_THR_STOPPED :
1026 ulwp.ul_wchan? TD_THR_SLEEP :
1028 userpri = ulwp.ul_pri;
1029 userflags = ulwp.ul_usropts;
1030 if (ulwp.ul_dead)
1033 mask = *(sigset_t *)&ulwp.ul_sigmask;
1036 ulwp32_t ulwp;
1039 &ulwp, sizeof (ulwp)) != PS_OK &&
1040 ((void) memset(&ulwp, 0, sizeof (ulwp)),
1042 &ulwp, REPLACEMENT_SIZE32)) != PS_OK) {
1046 next_lwp_addr = (psaddr_t)ulwp.ul_forw;
1048 ts_state = ulwp.ul_dead? TD_THR_ZOMBIE :
1049 ulwp.ul_stop? TD_THR_STOPPED :
1050 ulwp.ul_wchan? TD_THR_SLEEP :
1052 userpri = ulwp.ul_pri;
1053 userflags = ulwp.ul_usropts;
1054 if (ulwp.ul_dead)
1057 mask = *(sigset_t *)&ulwp.ul_sigmask;
1302 ulwp_t *ulwp, td_thrinfo_t *ti_p)
1306 if ((lwpid = ulwp->ul_lwpid) == 0)
1310 ti_p->ti_user_flags = ulwp->ul_usropts;
1312 ti_p->ti_exitval = ulwp->ul_rval;
1313 ti_p->ti_startfunc = (psaddr_t)ulwp->ul_startpc;
1314 if (!ulwp->ul_dead) {
1318 ti_p->ti_stkbase = (psaddr_t)ulwp->ul_stktop;
1319 ti_p->ti_stksize = ulwp->ul_stksiz;
1322 ti_p->ti_ro_size = ulwp->ul_replace?
1324 ti_p->ti_state = ulwp->ul_dead? TD_THR_ZOMBIE :
1325 ulwp->ul_stop? TD_THR_STOPPED :
1326 ulwp->ul_wchan? TD_THR_SLEEP :
1330 ti_p->ti_sp = ulwp->ul_sp;
1332 ti_p->ti_pri = ulwp->ul_pri;
1334 if (!ulwp->ul_dead)
1335 ti_p->ti_sigmask = ulwp->ul_sigmask;
1340 ti_p->ti_events = ulwp->ul_td_evbuf.eventmask;
1346 ulwp32_t *ulwp, td_thrinfo_t *ti_p)
1350 if ((lwpid = ulwp->ul_lwpid) == 0)
1354 ti_p->ti_user_flags = ulwp->ul_usropts;
1356 ti_p->ti_exitval = (void *)(uintptr_t)ulwp->ul_rval;
1357 ti_p->ti_startfunc = (psaddr_t)ulwp->ul_startpc;
1358 if (!ulwp->ul_dead) {
1362 ti_p->ti_stkbase = (psaddr_t)ulwp->ul_stktop;
1363 ti_p->ti_stksize = ulwp->ul_stksiz;
1366 ti_p->ti_ro_size = ulwp->ul_replace?
1368 ti_p->ti_state = ulwp->ul_dead? TD_THR_ZOMBIE :
1369 ulwp->ul_stop? TD_THR_STOPPED :
1370 ulwp->ul_wchan? TD_THR_SLEEP :
1374 ti_p->ti_sp = (uint32_t)ulwp->ul_sp;
1376 ti_p->ti_pri = ulwp->ul_pri;
1378 if (!ulwp->ul_dead)
1379 ti_p->ti_sigmask = *(sigset_t *)&ulwp->ul_sigmask;
1384 ti_p->ti_events = ulwp->ul_td_evbuf.eventmask;
1413 * Read the ulwp struct from the process.
1414 * Transfer the ulwp struct to the thread information struct.
1418 ulwp_t ulwp;
1420 if (ps_pdread(ph_p, psaddr, &ulwp, sizeof (ulwp)) != PS_OK &&
1421 ((void) memset(&ulwp, 0, sizeof (ulwp)),
1422 ps_pdread(ph_p, psaddr, &ulwp, REPLACEMENT_SIZE)) != PS_OK)
1425 td_thr2to(ta_p, psaddr, &ulwp, ti_p);
1428 ulwp32_t ulwp;
1430 if (ps_pdread(ph_p, psaddr, &ulwp, sizeof (ulwp)) != PS_OK &&
1431 ((void) memset(&ulwp, 0, sizeof (ulwp)),
1432 ps_pdread(ph_p, psaddr, &ulwp, REPLACEMENT_SIZE32)) !=
1436 td_thr2to32(ta_p, psaddr, &ulwp, ti_p);
1509 ulwp_t *ulwp = (ulwp_t *)th_p->th_unique;
1510 psaddr_evset = (psaddr_t)&ulwp->ul_td_evbuf.eventmask;
1511 psaddr_enab = (psaddr_t)&ulwp->ul_td_events_enable;
1514 ulwp32_t *ulwp = (ulwp32_t *)th_p->th_unique;
1515 psaddr_evset = (psaddr_t)&ulwp->ul_td_evbuf.eventmask;
1516 psaddr_enab = (psaddr_t)&ulwp->ul_td_events_enable;
1677 ulwp_t *ulwp = (ulwp_t *)th_p->th_unique;
1680 psaddr = (psaddr_t)&ulwp->ul_td_evbuf;
1698 ulwp32_t *ulwp = (ulwp32_t *)th_p->th_unique;
1701 psaddr = (psaddr_t)&ulwp->ul_td_evbuf;
1796 ulwp_t *ulwp = (ulwp_t *)th_p->th_unique;
1798 if (ps_pdread(ph_p, (psaddr_t)&ulwp->ul_lwpid,
1805 ulwp32_t *ulwp = (ulwp32_t *)th_p->th_unique;
1807 if (ps_pdread(ph_p, (psaddr_t)&ulwp->ul_lwpid,
2163 ulwp_t *ulwp = (ulwp_t *)th_p->th_unique;
2171 else if (ps_pdread(ph_p, (psaddr_t)&ulwp->ul_stsd,
2182 tsd_paddr = (psaddr_t)&ulwp->ul_ftsd[0];
2186 ulwp32_t *ulwp = (ulwp32_t *)th_p->th_unique;
2195 else if (ps_pdread(ph_p, (psaddr_t)&ulwp->ul_stsd,
2206 tsd_paddr = (psaddr_t)&ulwp->ul_ftsd[0];
2277 ulwp_t *ulwp = (ulwp_t *)th_p->th_unique;
2296 *base = (psaddr_t)ulwp - tlsmod.tm_stattlsoffset;
2297 else if (ps_pdread(ph_p, (psaddr_t)&ulwp->ul_tls,
2312 ulwp32_t *ulwp = (ulwp32_t *)th_p->th_unique;
2331 *base = (psaddr_t)ulwp - tlsmod.tm_stattlsoffset;
2332 else if (ps_pdread(ph_p, (psaddr_t)&ulwp->ul_tls,
2452 ulwp_t *ulwp = (ulwp_t *)th_p->th_unique;
2454 if (ps_pdread(ph_p, (psaddr_t)&ulwp->ul_wchan,
2459 ulwp32_t *ulwp = (ulwp32_t *)th_p->th_unique;
2462 if (ps_pdread(ph_p, (psaddr_t)&ulwp->ul_wchan,
3004 ulwp_t *ulwp = (ulwp_t *)th_p->th_unique;
3006 if (ps_pdread(ph_p, (psaddr_t)&ulwp->ul_wchan,
3013 ulwp32_t *ulwp = (ulwp32_t *)th_p->th_unique;
3016 if (ps_pdread(ph_p, (psaddr_t)&ulwp->ul_wchan,