Lines Matching refs:oset

134       p->oset[i] = VG_(OSetGen_Create)(0, 0, VG_(malloc), "drd.barrier.bi.1",  in DRD_()
149 OSet* oset; in barrier_cleanup() local
166 oset = p->oset[1 - (p->pre_iteration & 1)]; in barrier_cleanup()
167 VG_(OSetGen_ResetIter)(oset); in barrier_cleanup()
168 for ( ; (q = VG_(OSetGen_Next)(oset)) != 0; ) { in barrier_cleanup()
179 VG_(OSetGen_Destroy)(p->oset[i]); in barrier_cleanup()
180 p->oset[i] = NULL; in barrier_cleanup()
334 OSet* oset; in DRD_() local
360 oset = p->oset[p->pre_iteration & 1]; in DRD_()
361 tl_assert(oset); in DRD_()
362 VG_(OSetGen_ResetIter)(oset); in DRD_()
363 for ( ; (q = VG_(OSetGen_Next)(oset)) != 0; ) { in DRD_()
365 void* r = VG_(OSetGen_Remove)(oset, &q->tid); in DRD_()
368 VG_(OSetGen_FreeNode)(oset, q); in DRD_()
369 VG_(OSetGen_ResetIterAt)(oset, &word_tid); in DRD_()
373 q = VG_(OSetGen_Lookup)(oset, &word_tid); in DRD_()
375 q = VG_(OSetGen_AllocNode)(oset, sizeof(*q)); in DRD_()
377 VG_(OSetGen_Insert)(oset, q); in DRD_()
378 tl_assert(VG_(OSetGen_Lookup)(oset, &word_tid) == q); in DRD_()
411 OSet* oset; in DRD_() local
434 oset = p->oset[p->post_iteration & 1]; in DRD_()
435 q = VG_(OSetGen_Lookup)(oset, &word_tid); in DRD_()
456 q = VG_(OSetGen_AllocNode)(oset, sizeof(*q)); in DRD_()
458 VG_(OSetGen_Insert)(oset, q); in DRD_()
459 tl_assert(VG_(OSetGen_Lookup)(oset, &word_tid) == q); in DRD_()
476 VG_(OSetGen_ResetIter)(oset); in DRD_()
477 for ( ; (r = VG_(OSetGen_Next)(oset)) != 0; ) in DRD_()
510 q = VG_(OSetGen_Lookup)(p->oset[i], &word_tid); in barrier_delete_thread()