Home | History | Annotate | Download | only in helgrind

Lines Matching refs:cvi

2284       CVInfo* cvi = HG_(zalloc)("hg.mctCloa.1", sizeof(CVInfo));
2285 cvi->so = so;
2286 cvi->mx_ga = 0;
2287 VG_(addToFM)( map_cond_to_CVInfo, (UWord)cond, (UWord)cvi );
2288 return cvi;
2313 CVInfo* cvi = (CVInfo*)valW;
2315 tl_assert(cvi);
2316 tl_assert(cvi->so);
2317 if (cvi->nWaiters > 0) {
2327 libhb_so_dealloc(cvi->so);
2328 cvi->mx_ga = 0;
2329 HG_(free)(cvi);
2351 CVInfo* cvi;
2361 cvi = map_cond_to_CVInfo_lookup_or_alloc( cond );
2362 tl_assert(cvi);
2363 tl_assert(cvi->so);
2387 if (cvi->mx_ga != 0) {
2388 lk = map_locks_maybe_lookup( (Addr)cvi->mx_ga );
2418 libhb_so_send( thr->hbthr, cvi->so, True/*strong_send*/ );
2429 CVInfo* cvi;
2472 cvi = map_cond_to_CVInfo_lookup_or_alloc(cond);
2473 tl_assert(cvi);
2474 tl_assert(cvi->so);
2475 if (cvi->nWaiters == 0) {
2477 cvi->mx_ga = mutex;
2480 if (cvi->mx_ga != mutex) {
2485 cvi->nWaiters++;
2498 CVInfo* cvi;
2510 cvi = map_cond_to_CVInfo_lookup_NO_alloc( cond );
2511 if (!cvi) {
2521 tl_assert(cvi);
2522 tl_assert(cvi->so);
2523 tl_assert(cvi->nWaiters > 0);
2525 if (!timeout && !libhb_so_everSent(cvi->so)) {
2535 libhb_so_recv( thr->hbthr, cvi->so, True/*strong_recv*/ );
2537 cvi->nWaiters--;
2543 CVInfo* cvi;
2550 cvi = map_cond_to_CVInfo_lookup_or_alloc( cond );
2551 tl_assert (cvi);
2552 tl_assert (cvi->so);