Home
last modified time | relevance | path

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

/openbmc/qemu/util/
H A Dqemu-coroutine-lock.c137 typedef struct CoWaitRecord { struct
139 QSLIST_ENTRY(CoWaitRecord) next; argument
140 } CoWaitRecord; typedef
142 static void coroutine_fn push_waiter(CoMutex *mutex, CoWaitRecord *w) in push_waiter()
150 QSLIST_HEAD(, CoWaitRecord) reversed; in move_waiters()
153 CoWaitRecord *w = QSLIST_FIRST(&reversed); in move_waiters()
159 static CoWaitRecord *pop_waiter(CoMutex *mutex) in pop_waiter()
161 CoWaitRecord *w; in pop_waiter()
198 CoWaitRecord w; in qemu_co_mutex_lock_slowpath()
220 CoWaitRecord *to_wake = pop_waiter(mutex); in qemu_co_mutex_lock_slowpath()
[all …]
/openbmc/qemu/include/qemu/
H A Dcoroutine.h47 struct CoWaitRecord;
64 QSLIST_HEAD(, CoWaitRecord) from_push, to_pop;