Home
last modified time | relevance | path

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

/optee_os/core/kernel/
A Dwait_queue.c63 wqe->done = false; in wq_wait_init_condvar()
65 wqe->cv = cv; in wq_wait_init_condvar()
69 slist_add_tail(wq, wqe); in wq_wait_init_condvar()
86 done = wqe->done; in wq_wait_final()
114 if (wqe->cv) in wq_wake_next()
116 if (wqe->done) in wq_wake_next()
126 wqe->done = true; in wq_wake_next()
127 handle = wqe->handle; in wq_wake_next()
163 if (wqe->cv == cv) { in wq_promote_condvar()
171 wqe->cv = NULL; in wq_promote_condvar()
[all …]
A Dmutex.c36 struct wait_queue_elem wqe; in __mutex_lock() local
51 wq_wait_init(&m->wq, &wqe, false /* wait_read */); in __mutex_lock()
63 wq_wait_final(&m->wq, &wqe, m, fname, lineno); in __mutex_lock()
181 struct wait_queue_elem wqe; in __mutex_read_lock() local
196 wq_wait_init(&m->wq, &wqe, true /* wait_read */); in __mutex_read_lock()
208 wq_wait_final(&m->wq, &wqe, m, fname, lineno); in __mutex_read_lock()
400 struct wait_queue_elem wqe; in __condvar_wait() local
420 wq_wait_init_condvar(&m->wq, &wqe, cv, m->state > 0); in __condvar_wait()
437 wq_wait_final(&m->wq, &wqe, m, fname, lineno); in __condvar_wait()
/optee_os/core/include/kernel/
A Dwait_queue.h38 void wq_wait_init_condvar(struct wait_queue *wq, struct wait_queue_elem *wqe,
42 struct wait_queue_elem *wqe, bool wait_read) in wq_wait_init() argument
44 wq_wait_init_condvar(wq, wqe, NULL, wait_read); in wq_wait_init()
48 void wq_wait_final(struct wait_queue *wq, struct wait_queue_elem *wqe,

Completed in 5 milliseconds