Searched refs:wait_lock (Results 1 – 3 of 3) sorted by relevance
13 spin_init(&lock->wait_lock); in mutex_init()38 spin_lock(&lock->wait_lock); in mutex_lock()45 spin_unlock(&lock->wait_lock); in mutex_lock()53 spin_unlock(&lock->wait_lock); in mutex_lock()60 spin_unlock(&lock->wait_lock); in mutex_lock()76 spin_lock(&lock->wait_lock); in mutex_unlock()88 spin_unlock(&lock->wait_lock); in mutex_unlock()109 spin_lock(&lock->wait_lock); in mutex_trylock()112 spin_unlock(&lock->wait_lock); in mutex_trylock()118 spin_unlock(&lock->wait_lock); in mutex_trylock()
20 spinlock_t wait_lock; // mutex操作锁,用于对mutex的list的操作进行加锁 member
63 spinlock_t wait_lock; // mutex操作锁,用于对mutex的list的操作进行加锁