Lines Matching refs:check_locks
202 static void check_locks(THR_LOCK *lock, const char *where, in check_locks() function
326 #define check_locks(A,B,C) macro
510 check_locks(data->lock, "killed or timed out wait_for_lock", 1); in wait_for_lock()
516 check_locks(data->lock, "aborted wait_for_lock", 0); in wait_for_lock()
524 check_locks(data->lock,"got wait_for_lock",0); in wait_for_lock()
562 check_locks(lock,(uint) lock_type <= (uint) TL_READ_NO_INSERT ? in thr_lock()
608 check_locks(lock,"read lock with old write lock",0); in thr_lock()
634 check_locks(lock,"read lock with no write locks",0); in thr_lock()
739 check_locks(lock,"second write lock",0); in thr_lock()
776 check_locks(lock,"only write lock",0); in thr_lock()
802 check_locks(lock,"before freeing read locks",1); in free_all_read_locks()
844 check_locks(lock,"after giving read locks",0); in free_all_read_locks()
857 check_locks(lock,"start of release lock",0); in thr_unlock()
886 check_locks(lock,"after releasing lock",1); in thr_unlock()
1013 check_locks(lock, "after waking up waiters", 0); in wake_up_waiters()
1306 check_locks(lock,"after downgrading lock",0); in thr_downgrade_write_lock()
1327 check_locks(lock,"before upgrading lock",0); in thr_upgrade_write_delay_lock()
1353 check_locks(lock,"upgrading lock",0); in thr_upgrade_write_delay_lock()
1357 check_locks(lock,"waiting for lock",0); in thr_upgrade_write_delay_lock()