Home
last modified time | relevance | path

Searched refs:wait_lock (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Dmutex.c13 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()
/DragonOS-0.1.8/kernel/src/common/
Dmutex.h20 spinlock_t wait_lock; // mutex操作锁,用于对mutex的list的操作进行加锁 member
/DragonOS-0.1.8/docs/kernel/locking/
Dmutex.md136 spinlock_t wait_lock; // mutex操作锁,用于对mutex的list的操作进行加锁