Searched refs:qemu_lockcnt_cmpxchg_or_wait (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/util/ |
H A D | lockcnt.c | 57 static bool qemu_lockcnt_cmpxchg_or_wait(QemuLockCnt *lockcnt, int *val, in qemu_lockcnt_cmpxchg_or_wait() function 127 if (qemu_lockcnt_cmpxchg_or_wait(lockcnt, &val, QEMU_LOCKCNT_COUNT_STEP, in qemu_lockcnt_inc() 172 if (qemu_lockcnt_cmpxchg_or_wait(lockcnt, &val, locked_state, &waited)) { in qemu_lockcnt_dec_and_lock() 213 if (qemu_lockcnt_cmpxchg_or_wait(lockcnt, &val, locked_state, &waited)) { in qemu_lockcnt_dec_if_lock() 247 while (!qemu_lockcnt_cmpxchg_or_wait(lockcnt, &val, val + step, &waited)) { in qemu_lockcnt_lock()
|