Lines Matching defs:rec
147 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec, bool try_lock) {
148 DPrintf("#%d: MutexLock %zx rec=%d\n", thr->tid, addr, rec);
149 CHECK_GT(rec, 0);
173 s->recursion += rec;
175 if (flags()->detect_deadlocks && (s->recursion - rec) == 0) {
199 int rec = 0;
207 rec = all ? s->recursion : 1;
208 s->recursion -= rec;
231 return rec;