Lines Matching refs:heldW
199 lock->heldW = False; in mk_LockN()
260 tl_assert(!lk->heldW); in lockN_acquire_writer()
261 lk->heldW = True; in lockN_acquire_writer()
269 tl_assert(lk->heldW); in lockN_acquire_writer()
278 tl_assert(lk->heldBy == NULL && !lk->heldW); /* must be unheld */ in lockN_acquire_writer()
294 || (lk->heldBy != NULL && !lk->heldW)); in lockN_acquire_reader()
315 lk->heldW = False; in lockN_acquire_reader()
319 tl_assert(!lk->heldW); in lockN_acquire_reader()
344 lk->heldW = False; in lockN_release()
354 tl_assert(!lk->heldW); in remove_Lock_from_locksets_of_all_owning_Threads()
366 if (lk->heldW) { in remove_Lock_from_locksets_of_all_owning_Threads()
469 space(d+3); VG_(printf)("heldW %s\n", lk->heldW ? "yes" : "no"); in pp_Lock()
886 if (lk->heldW in locks__sanity_check()
889 if ((!lk->heldW) in locks__sanity_check()
896 if (lk->heldW) BAD("9"); /* should be False if !heldBy */ in locks__sanity_check()
1050 tl_assert(!lk->heldW); in evhH__post_thread_w_acquires_lock()
1060 if (!lk->heldW) { in evhH__post_thread_w_acquires_lock()
1149 tl_assert(!lk->heldW); in evhH__post_thread_r_acquires_lock()
1159 if (lk->heldW) { in evhH__post_thread_r_acquires_lock()
1235 tl_assert(!lock->heldW); in evhH__pre_thread_releases_lock()
1244 was_heldW = lock->heldW; in evhH__pre_thread_releases_lock()
1278 || (lock->kind == LK_rdwr && !lock->heldW)); in evhH__pre_thread_releases_lock()
1280 if (lock->heldW) in evhH__pre_thread_releases_lock()
1296 tl_assert(lock->heldW == False); in evhH__pre_thread_releases_lock()
1306 tl_assert(lock->heldW == False); in evhH__pre_thread_releases_lock()
1908 lk->heldW = False; in evh__HG_PTHREAD_MUTEX_DESTROY_PRE()
1950 && lk->heldW in evh__HG_PTHREAD_MUTEX_LOCK_PRE()
2405 lk->heldW = False; in evh__HG_PTHREAD_RWLOCK_DESTROY_PRE()