/qemu/hw/9pfs/ |
H A D | coth.h | 62 int coroutine_fn v9fs_co_readlink(V9fsPDU *, V9fsPath *, V9fsString *); 63 int coroutine_fn v9fs_co_readdir(V9fsPDU *, V9fsFidState *, struct dirent **); 64 int coroutine_fn v9fs_co_readdir_many(V9fsPDU *, V9fsFidState *, 67 off_t coroutine_fn v9fs_co_telldir(V9fsPDU *, V9fsFidState *); 68 void coroutine_fn v9fs_co_seekdir(V9fsPDU *, V9fsFidState *, off_t); 69 void coroutine_fn v9fs_co_rewinddir(V9fsPDU *, V9fsFidState *); 70 int coroutine_fn v9fs_co_statfs(V9fsPDU *, V9fsPath *, struct statfs *); 71 int coroutine_fn v9fs_co_lstat(V9fsPDU *, V9fsPath *, struct stat *); 72 int coroutine_fn v9fs_co_chmod(V9fsPDU *, V9fsPath *, mode_t); 73 int coroutine_fn v9fs_co_utimensat(V9fsPDU *, V9fsPath *, struct timespec [2]); [all …]
|
H A D | cofs.c | 57 int coroutine_fn v9fs_co_readlink(V9fsPDU *pdu, V9fsPath *path, V9fsString *buf) in v9fs_co_readlink() 77 int coroutine_fn v9fs_co_statfs(V9fsPDU *pdu, V9fsPath *path, in v9fs_co_statfs() 98 int coroutine_fn v9fs_co_chmod(V9fsPDU *pdu, V9fsPath *path, mode_t mode) in v9fs_co_chmod() 121 int coroutine_fn v9fs_co_utimensat(V9fsPDU *pdu, V9fsPath *path, in v9fs_co_utimensat() 142 int coroutine_fn v9fs_co_futimens(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_futimens() 161 int coroutine_fn v9fs_co_chown(V9fsPDU *pdu, V9fsPath *path, uid_t uid, in v9fs_co_chown() 186 int coroutine_fn v9fs_co_truncate(V9fsPDU *pdu, V9fsPath *path, off_t size) in v9fs_co_truncate() 206 int coroutine_fn v9fs_co_ftruncate(V9fsPDU *pdu, V9fsFidState *fidp, off_t size) in v9fs_co_ftruncate() 224 int coroutine_fn v9fs_co_mknod(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_mknod() 264 int coroutine_fn v9fs_co_remove(V9fsPDU *pdu, V9fsPath *path) in v9fs_co_remove() [all …]
|
H A D | cofile.c | 26 int coroutine_fn v9fs_co_st_gen(V9fsPDU *pdu, V9fsPath *path, mode_t st_mode, in v9fs_co_st_gen() 50 int coroutine_fn v9fs_co_lstat(V9fsPDU *pdu, V9fsPath *path, struct stat *stbuf) in v9fs_co_lstat() 70 int coroutine_fn v9fs_co_fstat(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_fstat() 103 int coroutine_fn v9fs_co_open(V9fsPDU *pdu, V9fsFidState *fidp, int flags) in v9fs_co_open() 131 int coroutine_fn v9fs_co_open2(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_open2() 186 int coroutine_fn v9fs_co_close(V9fsPDU *pdu, V9fsFidOpenState *fs) in v9fs_co_close() 211 int coroutine_fn v9fs_co_fsync(V9fsPDU *pdu, V9fsFidState *fidp, int datasync) in v9fs_co_fsync() 229 int coroutine_fn v9fs_co_link(V9fsPDU *pdu, V9fsFidState *oldfid, in v9fs_co_link() 251 int coroutine_fn v9fs_co_pwritev(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_pwritev() 271 int coroutine_fn v9fs_co_preadv(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_preadv()
|
H A D | codir.c | 53 int coroutine_fn v9fs_co_readdir(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_readdir() 72 static int coroutine_fn 217 int coroutine_fn v9fs_co_readdir_many(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_readdir_many() 251 void coroutine_fn v9fs_co_seekdir(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_seekdir() 264 void coroutine_fn v9fs_co_rewinddir(V9fsPDU *pdu, V9fsFidState *fidp) in v9fs_co_rewinddir() 276 int coroutine_fn v9fs_co_mkdir(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_mkdir() 314 int coroutine_fn v9fs_co_opendir(V9fsPDU *pdu, V9fsFidState *fidp) in v9fs_co_opendir() 342 int coroutine_fn v9fs_co_closedir(V9fsPDU *pdu, V9fsFidOpenState *fs) in v9fs_co_closedir()
|
/qemu/include/qemu/ |
H A D | coroutine.h | 75 static inline coroutine_fn void qemu_co_mutex_assert_locked(CoMutex *mutex) in qemu_co_mutex_assert_locked() 122 void coroutine_fn qemu_co_queue_wait_impl(CoQueue *queue, QemuLockable *lock, 131 bool coroutine_fn qemu_co_queue_next(CoQueue *queue); 138 void coroutine_fn qemu_co_queue_restart_all(CoQueue *queue); 194 void coroutine_fn qemu_co_rwlock_rdlock(CoRwlock *lock); 203 void coroutine_fn qemu_co_rwlock_upgrade(CoRwlock *lock); 211 void coroutine_fn qemu_co_rwlock_downgrade(CoRwlock *lock); 218 void coroutine_fn qemu_co_rwlock_wrlock(CoRwlock *lock); 224 void coroutine_fn qemu_co_rwlock_unlock(CoRwlock *lock); 235 void coroutine_fn qemu_co_sleep_ns_wakeable(QemuCoSleep *w, [all …]
|
H A D | coroutine-core.h | 69 typedef void coroutine_fn CoroutineEntry(void *opaque); 101 void coroutine_fn qemu_coroutine_yield(void); 146 void coroutine_fn qemu_co_mutex_lock(CoMutex *mutex); 152 void coroutine_fn qemu_co_mutex_unlock(CoMutex *mutex);
|
/qemu/include/block/ |
H A D | block_int-common.h | 253 int coroutine_fn GRAPH_UNLOCKED_PTR (*bdrv_co_create)( 256 int coroutine_fn GRAPH_UNLOCKED_PTR (*bdrv_co_create_opts)( 331 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_change_backing_file)( 507 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_amend)( 523 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_readv)(BlockDriverState *bs, 541 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_preadv)(BlockDriverState *bs, 545 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_preadv_part)( 550 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_writev)(BlockDriverState *bs, 568 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_pwritev)( 571 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_pwritev_part)( [all …]
|
H A D | block-io.h | 62 int coroutine_fn GRAPH_RDLOCK 72 int coroutine_fn GRAPH_RDLOCK 76 int coroutine_fn GRAPH_RDLOCK 80 int64_t coroutine_fn GRAPH_RDLOCK bdrv_co_nb_sectors(BlockDriverState *bs); 83 int64_t coroutine_fn GRAPH_RDLOCK bdrv_co_getlength(BlockDriverState *bs); 86 int64_t coroutine_fn GRAPH_RDLOCK 95 int coroutine_fn GRAPH_RDLOCK 98 void coroutine_fn GRAPH_RDLOCK 106 int coroutine_fn GRAPH_RDLOCK 110 int coroutine_fn GRAPH_RDLOCK bdrv_co_flush(BlockDriverState *bs); [all …]
|
H A D | block_int-io.h | 38 int coroutine_fn GRAPH_RDLOCK bdrv_co_preadv_snapshot(BdrvChild *child, 40 int coroutine_fn GRAPH_RDLOCK bdrv_co_snapshot_block_status( 43 int coroutine_fn GRAPH_RDLOCK bdrv_co_pdiscard_snapshot(BlockDriverState *bs, 47 int coroutine_fn GRAPH_RDLOCK bdrv_co_preadv(BdrvChild *child, 50 int coroutine_fn GRAPH_RDLOCK bdrv_co_preadv_part(BdrvChild *child, 53 int coroutine_fn GRAPH_RDLOCK bdrv_co_pwritev(BdrvChild *child, 56 int coroutine_fn GRAPH_RDLOCK bdrv_co_pwritev_part(BdrvChild *child, 60 static inline int coroutine_fn GRAPH_RDLOCK bdrv_co_pread(BdrvChild *child, in bdrv_co_pread() 70 static inline int coroutine_fn GRAPH_RDLOCK bdrv_co_pwrite(BdrvChild *child, in bdrv_co_pwrite() 80 void coroutine_fn bdrv_make_request_serialising(BdrvTrackedRequest *req, [all …]
|
H A D | aio_task.h | 30 typedef int coroutine_fn (*AioTaskFunc)(AioTask *task); 37 AioTaskPool *coroutine_fn aio_task_pool_new(int max_busy_tasks); 44 void coroutine_fn aio_task_pool_start_task(AioTaskPool *pool, AioTask *task); 46 void coroutine_fn aio_task_pool_wait_slot(AioTaskPool *pool); 47 void coroutine_fn aio_task_pool_wait_one(AioTaskPool *pool); 48 void coroutine_fn aio_task_pool_wait_all(AioTaskPool *pool);
|
H A D | reqlist.h | 53 bool coroutine_fn reqlist_wait_one(BlockReqList *reqs, int64_t offset, 61 void coroutine_fn reqlist_wait_all(BlockReqList *reqs, int64_t offset, 68 void coroutine_fn reqlist_shrink_req(BlockReq *req, int64_t new_bytes); 73 void coroutine_fn reqlist_remove_req(BlockReq *req);
|
/qemu/include/system/ |
H A D | block-backend-io.h | 75 bool coroutine_fn GRAPH_RDLOCK blk_co_is_inserted(BlockBackend *blk); 78 bool coroutine_fn GRAPH_RDLOCK blk_co_is_available(BlockBackend *blk); 81 void coroutine_fn blk_co_lock_medium(BlockBackend *blk, bool locked); 84 void coroutine_fn blk_co_eject(BlockBackend *blk, bool eject_flag); 87 int64_t coroutine_fn blk_co_getlength(BlockBackend *blk); 90 void coroutine_fn blk_co_get_geometry(BlockBackend *blk, 94 int64_t coroutine_fn blk_co_nb_sectors(BlockBackend *blk); 122 int coroutine_fn blk_co_copy_range(BlockBackend *blk_in, int64_t off_in, 127 int coroutine_fn blk_co_block_status_above(BlockBackend *blk, 132 int coroutine_fn blk_co_is_allocated_above(BlockBackend *blk, [all …]
|
/qemu/tests/unit/ |
H A D | test-coroutine.c | 21 static void coroutine_fn verify_in_coroutine(void *opaque) in verify_in_coroutine() 40 static void coroutine_fn verify_self(void *opaque) in verify_self() 58 static void coroutine_fn verify_entered_step_2(void *opaque) in verify_entered_step_2() 71 static void coroutine_fn verify_entered_step_1(void *opaque) in verify_entered_step_1() 104 static void coroutine_fn nest(void *opaque) in nest() 141 static void coroutine_fn yield_5_times(void *opaque) in yield_5_times() 166 static void coroutine_fn c2_fn(void *opaque) in c2_fn() 171 static void coroutine_fn c1_fn(void *opaque) in c1_fn() 200 static void coroutine_fn mutex_fn(void *opaque) in mutex_fn() 212 static void coroutine_fn lockable_fn(void *opaque) in lockable_fn() [all …]
|
/qemu/util/ |
H A D | qemu-coroutine-lock.c | 41 void coroutine_fn qemu_co_queue_wait_impl(CoQueue *queue, QemuLockable *lock, in qemu_co_queue_wait_impl() 94 bool coroutine_fn qemu_co_queue_next(CoQueue *queue) in qemu_co_queue_next() 107 void coroutine_fn qemu_co_queue_restart_all(CoQueue *queue) in qemu_co_queue_restart_all() 142 static void coroutine_fn push_waiter(CoMutex *mutex, CoWaitRecord *w) in push_waiter() 184 static void coroutine_fn qemu_co_mutex_wake(CoMutex *mutex, Coroutine *co) in qemu_co_mutex_wake() 194 static void coroutine_fn qemu_co_mutex_lock_slowpath(AioContext *ctx, in qemu_co_mutex_lock_slowpath() 236 void coroutine_fn qemu_co_mutex_lock(CoMutex *mutex) in qemu_co_mutex_lock() 276 void coroutine_fn qemu_co_mutex_unlock(CoMutex *mutex) in qemu_co_mutex_unlock() 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() [all …]
|
/qemu/block/ |
H A D | coroutines.h | 40 int coroutine_fn GRAPH_RDLOCK 43 int coroutine_fn GRAPH_RDLOCK 46 int coroutine_fn GRAPH_RDLOCK 58 int coroutine_fn GRAPH_RDLOCK 61 int coroutine_fn GRAPH_RDLOCK 64 int coroutine_fn GRAPH_RDLOCK
|
H A D | qed-table.c | 24 static int coroutine_fn GRAPH_RDLOCK 66 static int coroutine_fn GRAPH_RDLOCK 116 int coroutine_fn qed_read_l1_table_sync(BDRVQEDState *s) in qed_read_l1_table_sync() 122 int coroutine_fn qed_write_l1_table(BDRVQEDState *s, unsigned int index, in qed_write_l1_table() 130 int coroutine_fn qed_write_l1_table_sync(BDRVQEDState *s, unsigned int index, in qed_write_l1_table_sync() 137 int coroutine_fn qed_read_l2_table(BDRVQEDState *s, QEDRequest *request, in qed_read_l2_table() 175 int coroutine_fn qed_read_l2_table_sync(BDRVQEDState *s, QEDRequest *request, in qed_read_l2_table_sync() 182 int coroutine_fn qed_write_l2_table(BDRVQEDState *s, QEDRequest *request, in qed_write_l2_table() 191 int coroutine_fn qed_write_l2_table_sync(BDRVQEDState *s, QEDRequest *request, in qed_write_l2_table_sync()
|
H A D | aio_task.c | 37 static void coroutine_fn aio_task_co(void *opaque) in aio_task_co() 61 void coroutine_fn aio_task_pool_wait_one(AioTaskPool *pool) in aio_task_pool_wait_one() 73 void coroutine_fn aio_task_pool_wait_slot(AioTaskPool *pool) in aio_task_pool_wait_slot() 82 void coroutine_fn aio_task_pool_wait_all(AioTaskPool *pool) in aio_task_pool_wait_all() 89 void coroutine_fn aio_task_pool_start_task(AioTaskPool *pool, AioTask *task) in aio_task_pool_start_task() 97 AioTaskPool *coroutine_fn aio_task_pool_new(int max_busy_tasks) in aio_task_pool_new()
|
H A D | filter-compress.c | 60 static int64_t coroutine_fn GRAPH_RDLOCK 67 static int coroutine_fn GRAPH_RDLOCK 77 static int coroutine_fn GRAPH_RDLOCK 87 static int coroutine_fn GRAPH_RDLOCK 95 static int coroutine_fn GRAPH_RDLOCK 121 static void coroutine_fn GRAPH_RDLOCK 128 static void coroutine_fn GRAPH_RDLOCK
|
H A D | qcow2.h | 852 int coroutine_fn GRAPH_RDLOCK qcow2_refcount_init(BlockDriverState *bs); 872 int64_t GRAPH_RDLOCK coroutine_fn 876 int64_t coroutine_fn GRAPH_RDLOCK qcow2_alloc_bytes(BlockDriverState *bs, int size); 890 int coroutine_fn qcow2_check_refcounts(BlockDriverState *bs, BdrvCheckResult *res, 902 int coroutine_fn qcow2_inc_refcounts_imrt(BlockDriverState *bs, BdrvCheckResult *res, 911 int coroutine_fn GRAPH_RDLOCK qcow2_shrink_reftable(BlockDriverState *bs); 913 int64_t coroutine_fn GRAPH_RDLOCK 916 int coroutine_fn GRAPH_RDLOCK 923 int coroutine_fn GRAPH_RDLOCK 935 int coroutine_fn GRAPH_RDLOCK [all …]
|
H A D | qed.h | 203 int coroutine_fn GRAPH_RDLOCK qed_read_l1_table_sync(BDRVQEDState *s); 205 int coroutine_fn GRAPH_RDLOCK 208 int coroutine_fn GRAPH_RDLOCK 211 int coroutine_fn GRAPH_RDLOCK 214 int coroutine_fn GRAPH_RDLOCK 217 int coroutine_fn GRAPH_RDLOCK 221 int coroutine_fn GRAPH_RDLOCK 228 int coroutine_fn GRAPH_RDLOCK 235 int coroutine_fn GRAPH_RDLOCK
|
H A D | raw-format.c | 209 static int coroutine_fn GRAPH_RDLOCK 224 static int coroutine_fn GRAPH_RDLOCK 285 static int coroutine_fn GRAPH_RDLOCK 297 static int coroutine_fn GRAPH_RDLOCK 310 static int coroutine_fn GRAPH_RDLOCK 322 static int coroutine_fn GRAPH_RDLOCK 330 static int coroutine_fn GRAPH_RDLOCK 337 static int coroutine_fn GRAPH_RDLOCK 344 static int64_t coroutine_fn GRAPH_RDLOCK 396 static int coroutine_fn GRAPH_RDLOCK [all …]
|
H A D | copy-on-read.c | 128 static int64_t coroutine_fn GRAPH_RDLOCK cor_co_getlength(BlockDriverState *bs) in cor_co_getlength() 134 static int coroutine_fn GRAPH_RDLOCK 186 static int coroutine_fn GRAPH_RDLOCK 196 static int coroutine_fn GRAPH_RDLOCK 204 static int coroutine_fn GRAPH_RDLOCK 211 static int coroutine_fn GRAPH_RDLOCK 220 static void coroutine_fn GRAPH_RDLOCK 227 static void coroutine_fn GRAPH_RDLOCK
|
H A D | blkreplay.c | 43 static int64_t coroutine_fn GRAPH_RDLOCK 73 static int coroutine_fn GRAPH_RDLOCK 85 static int coroutine_fn GRAPH_RDLOCK 97 static int coroutine_fn GRAPH_RDLOCK 109 static int coroutine_fn GRAPH_RDLOCK 120 static int coroutine_fn GRAPH_RDLOCK blkreplay_co_flush(BlockDriverState *bs) in blkreplay_co_flush()
|
H A D | qed.c | 103 static int coroutine_fn GRAPH_RDLOCK qed_write_header(BDRVQEDState *s) in qed_write_header() 198 static int coroutine_fn GRAPH_RDLOCK 258 static bool coroutine_fn qed_plug_allocating_write_reqs(BDRVQEDState *s) in qed_plug_allocating_write_reqs() 277 static void coroutine_fn qed_unplug_allocating_write_reqs(BDRVQEDState *s) in qed_unplug_allocating_write_reqs() 286 static void coroutine_fn GRAPH_RDLOCK qed_need_check_timer(BDRVQEDState *s) in qed_need_check_timer() 314 static void coroutine_fn qed_need_check_timer_entry(void *opaque) in qed_need_check_timer_entry() 400 static int coroutine_fn GRAPH_RDLOCK 562 static void coroutine_fn bdrv_qed_open_entry(void *opaque) in bdrv_qed_open_entry() 643 static int coroutine_fn GRAPH_UNLOCKED 764 static int coroutine_fn GRAPH_UNLOCKED [all …]
|
H A D | snapshot-access.c | 29 static int coroutine_fn GRAPH_RDLOCK 42 static int coroutine_fn GRAPH_RDLOCK 52 static int coroutine_fn GRAPH_RDLOCK 58 static int coroutine_fn 66 static coroutine_fn int
|