Home
last modified time | relevance | path

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

/openbmc/qemu/util/
H A Dlockcnt.c31 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 …]
/openbmc/qemu/include/qemu/
H A Dthread.h11 typedef struct QemuLockCnt QemuLockCnt; typedef
296 struct QemuLockCnt { struct
310 void qemu_lockcnt_init(QemuLockCnt *lockcnt); argument
318 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 …]
/openbmc/qemu/docs/devel/
H A Dlockcnt.txt1 DOCUMENTATION FOR LOCKED COUNTERS (aka QemuLockCnt)
73 This file documents QemuLockCnt, an abstraction for using reference
77 QemuLockCnt concepts
80 A QemuLockCnt comprises both a counter and a mutex; it has primitives
87 - Data protected by the QemuLockCnt must not be freed unless the
138 them for each modification of the counter. QemuLockCnt ensures that
145 - on some platforms, one can implement QemuLockCnt to hold the lock
174 QemuLockCnt API
177 The QemuLockCnt API is described in include/qemu/thread.h.
180 QemuLockCnt usage
[all …]
H A Datomics.rst38 primitives (such as RCU, ``QemuEvent`` or ``QemuLockCnt``). Bare use of
/openbmc/qemu/accel/
H A Daccel-blocker.c33 static QemuLockCnt accel_in_ioctl_lock;
/openbmc/qemu/include/block/
H A Daio.h178 QemuLockCnt list_lock;
/openbmc/qemu/include/hw/core/
H A Dcpu.h535 QemuLockCnt in_ioctl_lock;