Lines Matching refs:thrid
195 ThrID thrid : SCALARTS_N_THRBITS; member
307 ThrID thrid : SCALARTS_N_THRBITS; member
2002 static Thr* Thr__from_ThrID ( ThrID thrid ); /* fwds */
2184 if (st1->thrid >= st2->thrid) in is_sane_VTS()
2239 ThrID thrid = vts->ts[i].thrid; in VTS__subtract() local
2240 if (VG_(lookupXA)(thridsToDel, &thrid, NULL, NULL)) in VTS__subtract()
2248 ThrID thrid = vts->ts[i].thrid; in VTS__subtract() local
2249 if (VG_(lookupXA)(thridsToDel, &thrid, NULL, NULL)) in VTS__subtract()
2282 out->ts[hi].thrid = Thr__to_ThrID(thr); in VTS__singleton()
2312 if (UNLIKELY(here->thrid >= me_thrid)) in VTS__tick()
2331 out->ts[hi].thrid = me_thrid; in VTS__tick()
2336 if (me_thrid == here->thrid) { /* case (c) */ in VTS__tick()
2342 out->ts[hi].thrid = here->thrid; in VTS__tick()
2348 out->ts[hi].thrid = me_thrid; in VTS__tick()
2372 ThrID thrid; in VTS__join() local
2408 thrid = tmpb->thrid; in VTS__join()
2416 thrid = tmpa->thrid; in VTS__join()
2425 if (tmpa->thrid < tmpb->thrid) { in VTS__join()
2427 thrid = tmpa->thrid; in VTS__join()
2431 } else if (tmpa->thrid > tmpb->thrid) { in VTS__join()
2433 thrid = tmpb->thrid; in VTS__join()
2439 tl_assert(tmpa->thrid == tmpb->thrid); in VTS__join()
2440 thrid = tmpa->thrid; /* == tmpb->thrid */ in VTS__join()
2454 out->ts[hi].thrid = thrid; in VTS__join()
2490 ThrID thrid; in VTS__cmpLEQ() local
2504 thrid = tmpb->thrid; in VTS__cmpLEQ()
2511 thrid = tmpa->thrid; in VTS__cmpLEQ()
2519 if (tmpa->thrid < tmpb->thrid) { in VTS__cmpLEQ()
2522 thrid = tmpa->thrid; in VTS__cmpLEQ()
2527 if (tmpa->thrid > tmpb->thrid) { in VTS__cmpLEQ()
2531 thrid = tmpb->thrid; in VTS__cmpLEQ()
2535 tl_assert(tmpa->thrid == tmpb->thrid); in VTS__cmpLEQ()
2537 thrid = tmpa->thrid; in VTS__cmpLEQ()
2549 tl_assert(thrid >= 1024); in VTS__cmpLEQ()
2550 return thrid; in VTS__cmpLEQ()
2590 && tmpa->thrid == tmpb->thrid)) in VTS__cmp_structural()
2602 if (tmpa->thrid < tmpb->thrid) return -1; in VTS__cmp_structural()
2603 if (tmpa->thrid > tmpb->thrid) return 1; in VTS__cmp_structural()
2628 VG_(printf)(i < n-1 ? "%u:%llu " : "%u:%llu", st->thrid, (ULong)st->tym); in VTS__show()
2645 if (st->thrid == idx_thrid) in VTS__indexAt_SLOW()
3196 ThrID thrid = in vts_tab__do_GC() local
3198 VG_(addToXA)( verydead_thread_table, &thrid ); in vts_tab__do_GC()
4013 return thr->thrid; in Thr__to_ThrID()
4015 static Thr* Thr__from_ThrID ( UInt thrid ) { in Thr__from_ThrID() argument
4016 Thr* thr = *(Thr**)VG_(indexXA)( thrid_to_thr_map, thrid - 1024 ); in Thr__from_ThrID()
4017 tl_assert(thr->thrid == thrid); in Thr__from_ThrID()
4047 thr->thrid = thrid_counter++; in Thr__new()
4049 tl_assert(ix + 1024 == thr->thrid); in Thr__new()
4444 UInt thrid : SCALARTS_N_THRBITS; member
4589 ThrID thrid = thr->thrid; in event_map_bind() local
4590 tl_assert(thrid != 0); /* zero is used to denote an empty slot. */ in event_map_bind()
4603 example.acc.tsw = (TSW) {.thrid = thrid, in event_map_bind()
4622 tl_assert(ref->acc.tsw.thrid == thrid); in event_map_bind()
4635 ref->acc.tsw = (TSW) {.thrid = thrid, in event_map_bind()
4673 ThrID thrid = thr->thrid; in libhb_event_map_lookup() local
4699 if (cand_ref->acc.tsw.thrid == thrid) in libhb_event_map_lookup()
4731 tl_assert(ref->acc.tsw.thrid); in libhb_event_map_lookup()
4742 *resThr = Thr__from_ThrID(ref->acc.tsw.thrid); in libhb_event_map_lookup()
4775 Thr__from_ThrID(ref->acc.tsw.thrid), in libhb_event_map_access_history()
4826 mru.acc = (Thr_n_RCEC) {.tsw = {.thrid = 0, in event_map_init()
4863 tl_assert (oldref->acc.tsw.thrid); in event_map__check_reference_counts()