Home | History | Annotate | Download | only in drd

Lines Matching refs:hb

38 /** Per-thread hb information. */
86 void DRD_(hb_initialize)(struct hb_info* const p, const Addr hb)
88 tl_assert(hb != 0);
89 tl_assert(p->a1 == hb);
94 p->oset = VG_(OSetGen_Create)(0, 0, VG_(malloc), "drd.hb",
130 struct hb_info* DRD_(hb_get_or_allocate)(const Addr hb)
134 tl_assert(offsetof(DrdClientobj, hb) == 0);
135 p = &(DRD_(clientobj_get)(hb, ClientHbvar)->hb);
139 if (DRD_(clientobj_present)(hb, hb + 1))
141 wrong_type(hb);
145 p = &(DRD_(clientobj_add)(hb, ClientHbvar)->hb);
146 DRD_(hb_initialize)(p, hb);
150 struct hb_info* DRD_(hb_get)(const Addr hb)
152 tl_assert(offsetof(DrdClientobj, hb) == 0);
153 return &(DRD_(clientobj_get)(hb, ClientHbvar)->hb);
157 void DRD_(hb_happens_before)(const DrdThreadId tid, Addr const hb)
165 p = DRD_(hb_get_or_allocate)(hb);
168 DRD_(thread_get_running_tid)(), hb);
192 void DRD_(hb_happens_after)(const DrdThreadId tid, const Addr hb)
198 p = DRD_(hb_get_or_allocate)(hb);
202 DRD_(thread_get_running_tid)(), hb);
228 void DRD_(hb_happens_done)(const DrdThreadId tid, const Addr hb)
234 DRD_(thread_get_running_tid)(), hb);
236 p = DRD_(hb_get)(hb);
241 .addr = hb,