Home
last modified time | relevance | path

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

/optee_os/core/kernel/
A Dmutex.c35 bool can_lock; in __mutex_lock() local
49 can_lock = !m->state; in __mutex_lock()
50 if (!can_lock) { in __mutex_lock()
58 if (!can_lock) { in __mutex_lock()
180 bool can_lock; in __mutex_read_lock() local
195 if (!can_lock) { in __mutex_read_lock()
203 if (!can_lock) { in __mutex_read_lock()
218 bool can_lock; in __mutex_read_trylock() local
226 can_lock = m->state != -1; in __mutex_read_trylock()
227 if (can_lock) in __mutex_read_trylock()
[all …]

Completed in 3 milliseconds