Home | History | Annotate | Download | only in helgrind

Lines Matching refs:cvi

2282       CVInfo* cvi = HG_(zalloc)("hg.mctCloa.1", sizeof(CVInfo));
2283 cvi->so = so;
2284 cvi->mx_ga = 0;
2285 VG_(addToFM)( map_cond_to_CVInfo, (UWord)cond, (UWord)cvi );
2286 return cvi;
2311 CVInfo* cvi = (CVInfo*)valW;
2313 tl_assert(cvi);
2314 tl_assert(cvi->so);
2315 if (cvi->nWaiters > 0) {
2325 libhb_so_dealloc(cvi->so);
2326 cvi->mx_ga = 0;
2327 HG_(free)(cvi);
2349 CVInfo* cvi;
2359 cvi = map_cond_to_CVInfo_lookup_or_alloc( cond );
2360 tl_assert(cvi);
2361 tl_assert(cvi->so);
2385 if (cvi->mx_ga != 0) {
2386 lk = map_locks_maybe_lookup( (Addr)cvi->mx_ga );
2416 libhb_so_send( thr->hbthr, cvi->so, True/*strong_send*/ );
2427 CVInfo* cvi;
2470 cvi = map_cond_to_CVInfo_lookup_or_alloc(cond);
2471 tl_assert(cvi);
2472 tl_assert(cvi->so);
2473 if (cvi->nWaiters == 0) {
2475 cvi->mx_ga = mutex;
2478 if (cvi->mx_ga != mutex) {
2483 cvi->nWaiters++;
2496 CVInfo* cvi;
2508 cvi = map_cond_to_CVInfo_lookup_NO_alloc( cond );
2509 if (!cvi) {
2519 tl_assert(cvi);
2520 tl_assert(cvi->so);
2521 tl_assert(cvi->nWaiters > 0);
2523 if (!timeout && !libhb_so_everSent(cvi->so)) {
2533 libhb_so_recv( thr->hbthr, cvi->so, True/*strong_recv*/ );
2535 cvi->nWaiters--;
2541 CVInfo* cvi;
2548 cvi = map_cond_to_CVInfo_lookup_or_alloc( cond );
2549 tl_assert (cvi);
2550 tl_assert (cvi->so);