Lines Matching refs:th
26 td_thr_get_info (const td_thrhandle_t *th, td_thrinfo_t *infop) in td_thr_get_info() argument
34 if (th->th_unique == 0) in td_thr_get_info()
49 (void) DB_GET_VALUE (report_events, th->th_ta_p, in td_thr_get_info()
58 err = DB_GET_STRUCT (copy, th->th_ta_p, th->th_unique, pthread); in td_thr_get_info()
62 err = DB_GET_FIELD_ADDRESS (tls, th->th_ta_p, th->th_unique, in td_thr_get_info()
67 err = DB_GET_FIELD_LOCAL (schedpolicy, th->th_ta_p, copy, pthread, in td_thr_get_info()
71 err = DB_GET_FIELD_LOCAL (schedprio, th->th_ta_p, copy, pthread, in td_thr_get_info()
75 err = DB_GET_FIELD_LOCAL (tid, th->th_ta_p, copy, pthread, tid, 0); in td_thr_get_info()
78 err = DB_GET_FIELD_LOCAL (cancelhandling, th->th_ta_p, copy, pthread, in td_thr_get_info()
82 err = DB_GET_FIELD_LOCAL (report_events, th->th_ta_p, copy, pthread, in td_thr_get_info()
92 infop->ti_tid = (thread_t) th->th_unique; in td_thr_get_info()
107 infop->ti_ta_p = th->th_ta_p; in td_thr_get_info()
108 infop->ti_lid = tid == 0 ? ps_getpid (th->th_ta_p->ph) : (uintptr_t) tid; in td_thr_get_info()
112 err = DB_GET_FIELD_LOCAL (infop->ti_startfunc, th->th_ta_p, copy, pthread, in td_thr_get_info()
120 err = DB_GET_FIELD_LOCAL (word, th->th_ta_p, copy, pthread, in td_thr_get_info()