Searched refs:QemuLockCnt (Results 1 – 7 of 7) sorted by relevance
31 void qemu_lockcnt_init(QemuLockCnt *lockcnt) in qemu_lockcnt_init()36 void qemu_lockcnt_destroy(QemuLockCnt *lockcnt) in qemu_lockcnt_destroy()105 static void lockcnt_wake(QemuLockCnt *lockcnt) in lockcnt_wake()111 void qemu_lockcnt_inc(QemuLockCnt *lockcnt) in qemu_lockcnt_inc()144 void qemu_lockcnt_dec(QemuLockCnt *lockcnt) in qemu_lockcnt_dec()236 void qemu_lockcnt_lock(QemuLockCnt *lockcnt) in qemu_lockcnt_lock()274 void qemu_lockcnt_unlock(QemuLockCnt *lockcnt) in qemu_lockcnt_unlock()297 void qemu_lockcnt_init(QemuLockCnt *lockcnt) in qemu_lockcnt_init()308 void qemu_lockcnt_inc(QemuLockCnt *lockcnt) in qemu_lockcnt_inc()325 void qemu_lockcnt_dec(QemuLockCnt *lockcnt) in qemu_lockcnt_dec()[all …]
11 typedef struct QemuLockCnt QemuLockCnt; typedef296 struct QemuLockCnt { struct310 void qemu_lockcnt_init(QemuLockCnt *lockcnt); argument318 void qemu_lockcnt_destroy(QemuLockCnt *lockcnt);340 void qemu_lockcnt_inc(QemuLockCnt *lockcnt);346 void qemu_lockcnt_dec(QemuLockCnt *lockcnt);356 bool qemu_lockcnt_dec_and_lock(QemuLockCnt *lockcnt);366 bool qemu_lockcnt_dec_if_lock(QemuLockCnt *lockcnt);376 void qemu_lockcnt_lock(QemuLockCnt *lockcnt);382 void qemu_lockcnt_unlock(QemuLockCnt *lockcnt);[all …]
1 DOCUMENTATION FOR LOCKED COUNTERS (aka QemuLockCnt)73 This file documents QemuLockCnt, an abstraction for using reference77 QemuLockCnt concepts80 A QemuLockCnt comprises both a counter and a mutex; it has primitives87 - Data protected by the QemuLockCnt must not be freed unless the138 them for each modification of the counter. QemuLockCnt ensures that145 - on some platforms, one can implement QemuLockCnt to hold the lock174 QemuLockCnt API177 The QemuLockCnt API is described in include/qemu/thread.h.180 QemuLockCnt usage[all …]
38 primitives (such as RCU, ``QemuEvent`` or ``QemuLockCnt``). Bare use of
33 static QemuLockCnt accel_in_ioctl_lock;
178 QemuLockCnt list_lock;
535 QemuLockCnt in_ioctl_lock;