Searched full:corwlock (Results 1 – 4 of 4) sorted by relevance
173 typedef struct CoRwlock { struct181 } CoRwlock; argument184 * Initialises a CoRwlock. This must be called before any other operation185 * is used on the CoRwlock187 void qemu_co_rwlock_init(CoRwlock *lock);190 * Read locks the CoRwlock. If the lock cannot be taken immediately because194 void coroutine_fn qemu_co_rwlock_rdlock(CoRwlock *lock);197 * Write Locks the CoRwlock from a reader. This is a bit more efficient than203 void coroutine_fn qemu_co_rwlock_upgrade(CoRwlock *lock);211 void coroutine_fn qemu_co_rwlock_downgrade(CoRwlock *lock);[all …]
338 void qemu_co_rwlock_init(CoRwlock *lock) in qemu_co_rwlock_init()346 static void coroutine_fn qemu_co_rwlock_maybe_wake_one(CoRwlock *lock) in qemu_co_rwlock_maybe_wake_one()379 void coroutine_fn qemu_co_rwlock_rdlock(CoRwlock *lock) in qemu_co_rwlock_rdlock()404 void coroutine_fn qemu_co_rwlock_unlock(CoRwlock *lock) in qemu_co_rwlock_unlock()422 void coroutine_fn qemu_co_rwlock_downgrade(CoRwlock *lock) in qemu_co_rwlock_downgrade()432 void coroutine_fn qemu_co_rwlock_wrlock(CoRwlock *lock) in qemu_co_rwlock_wrlock()452 void coroutine_fn qemu_co_rwlock_upgrade(CoRwlock *lock) in qemu_co_rwlock_upgrade()
353 CoRwlock rename_lock;
265 static CoRwlock rwlock;