Lines Matching refs:lock_error
86 static void lock_error(struct checked_lock* lock, const char* func,
90 static void lock_error(struct checked_lock* lock, in lock_error() function
137 lock_error(lock, func, file, line, "acquire locklock"); in acquire_locklock()
206 lock_error(lock, func, file, line, in prot_check()
350 lock_error(lock, func, file, line, "wrong lock type"); in checktype()
371 lock_error(e, func, file, line, "delete while locked."); in checklock_destroy()
373 lock_error(e, func, file, line, "delete while waited on."); in checklock_destroy()
461 if(!thr) lock_error(lock, func, file, line, "no thread info"); in checklock_lockit()
467 lock_error(lock, func, file, line, "thread already owns lock"); in checklock_lockit()
469 lock_error(lock, func, file, line, "thread already has wrlock"); in checklock_lockit()
480 lock_error(lock, func, file, line, in checklock_lockit()
492 lock_error(lock, func, file, line, "got nonexclusive lock"); in checklock_lockit()
494 lock_error(lock, func, file, line, "got nonexclusive wrlock"); in checklock_lockit()
614 if(!thr) lock_error(lock, func, file, line, "no thread info"); in checklock_unlock()
620 lock_error(lock, func, file, line, "unlock nonlocked lock"); in checklock_unlock()
623 lock_error(lock, func, file, line, "too many unlocks"); in checklock_unlock()