Home
last modified time | relevance | path

Searched refs:coroutine_fn (Results 1 – 25 of 152) sorted by relevance

1234567

/qemu/hw/9pfs/
H A Dcoth.h67 off_t coroutine_fn v9fs_co_telldir(V9fsPDU *, V9fsFidState *);
69 void coroutine_fn v9fs_co_rewinddir(V9fsPDU *, V9fsFidState *);
72 int coroutine_fn v9fs_co_chmod(V9fsPDU *, V9fsPath *, mode_t);
77 int coroutine_fn v9fs_co_lgetxattr(V9fsPDU *, V9fsPath *,
83 int coroutine_fn v9fs_co_remove(V9fsPDU *, V9fsPath *);
90 int coroutine_fn v9fs_co_opendir(V9fsPDU *, V9fsFidState *);
91 int coroutine_fn v9fs_co_open(V9fsPDU *, V9fsFidState *, int);
102 int coroutine_fn v9fs_co_link(V9fsPDU *, V9fsFidState *,
104 int coroutine_fn v9fs_co_pwritev(V9fsPDU *, V9fsFidState *,
106 int coroutine_fn v9fs_co_preadv(V9fsPDU *, V9fsFidState *,
[all …]
H A Dcofs.c77 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_chown(V9fsPDU *pdu, V9fsPath *path, uid_t uid, in v9fs_co_chown()
187 int coroutine_fn v9fs_co_mknod(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_mknod()
227 int coroutine_fn v9fs_co_remove(V9fsPDU *pdu, V9fsPath *path) in v9fs_co_remove()
247 int coroutine_fn v9fs_co_unlinkat(V9fsPDU *pdu, V9fsPath *path, in v9fs_co_unlinkat()
269 int coroutine_fn v9fs_co_rename(V9fsPDU *pdu, V9fsPath *oldpath, in v9fs_co_rename()
288 int coroutine_fn v9fs_co_renameat(V9fsPDU *pdu, V9fsPath *olddirpath, in v9fs_co_renameat()
309 int coroutine_fn v9fs_co_symlink(V9fsPDU *pdu, V9fsFidState *dfidp, in v9fs_co_symlink()
[all …]
H A Dcofile.c25 int coroutine_fn v9fs_co_st_gen(V9fsPDU *pdu, V9fsPath *path, mode_t st_mode, in v9fs_co_st_gen()
49 int coroutine_fn v9fs_co_lstat(V9fsPDU *pdu, V9fsPath *path, struct stat *stbuf) in v9fs_co_lstat()
69 int coroutine_fn v9fs_co_fstat(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_fstat()
102 int coroutine_fn v9fs_co_open(V9fsPDU *pdu, V9fsFidState *fidp, int flags) in v9fs_co_open()
130 int coroutine_fn v9fs_co_open2(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_open2()
185 int coroutine_fn v9fs_co_close(V9fsPDU *pdu, V9fsFidOpenState *fs) in v9fs_co_close()
206 int coroutine_fn v9fs_co_fsync(V9fsPDU *pdu, V9fsFidState *fidp, int datasync) in v9fs_co_fsync()
224 int coroutine_fn v9fs_co_link(V9fsPDU *pdu, V9fsFidState *oldfid, in v9fs_co_link()
246 int coroutine_fn v9fs_co_pwritev(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_pwritev()
266 int coroutine_fn v9fs_co_preadv(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_preadv()
H A Dcodir.c52 int coroutine_fn v9fs_co_readdir(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_readdir()
71 static int coroutine_fn
216 int coroutine_fn v9fs_co_readdir_many(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_readdir_many()
250 void coroutine_fn v9fs_co_seekdir(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_seekdir()
263 void coroutine_fn v9fs_co_rewinddir(V9fsPDU *pdu, V9fsFidState *fidp) in v9fs_co_rewinddir()
275 int coroutine_fn v9fs_co_mkdir(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_mkdir()
313 int coroutine_fn v9fs_co_opendir(V9fsPDU *pdu, V9fsFidState *fidp) in v9fs_co_opendir()
341 int coroutine_fn v9fs_co_closedir(V9fsPDU *pdu, V9fsFidOpenState *fs) in v9fs_co_closedir()
/qemu/include/qemu/
H A Dcoroutine.h130 bool coroutine_fn qemu_co_queue_next(CoQueue *queue);
137 void coroutine_fn qemu_co_queue_restart_all(CoQueue *queue);
193 void coroutine_fn qemu_co_rwlock_rdlock(CoRwlock *lock);
202 void coroutine_fn qemu_co_rwlock_upgrade(CoRwlock *lock);
210 void coroutine_fn qemu_co_rwlock_downgrade(CoRwlock *lock);
217 void coroutine_fn qemu_co_rwlock_wrlock(CoRwlock *lock);
223 void coroutine_fn qemu_co_rwlock_unlock(CoRwlock *lock);
234 void coroutine_fn qemu_co_sleep_ns_wakeable(QemuCoSleep *w,
240 void coroutine_fn qemu_co_sleep(QemuCoSleep *w);
258 int coroutine_fn qemu_co_timeout(CoroutineEntry *entry, void *opaque,
[all …]
H A Dcoroutine-core.h69 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 Dblock-io.h62 int coroutine_fn GRAPH_RDLOCK
72 int coroutine_fn GRAPH_RDLOCK
76 int coroutine_fn GRAPH_RDLOCK
95 int coroutine_fn GRAPH_RDLOCK
98 void coroutine_fn GRAPH_RDLOCK
106 int coroutine_fn GRAPH_RDLOCK
130 int coroutine_fn GRAPH_RDLOCK
137 int coroutine_fn GRAPH_RDLOCK
146 int coroutine_fn GRAPH_RDLOCK
153 int coroutine_fn GRAPH_RDLOCK
[all …]
H A Dblock_int-common.h256 int coroutine_fn GRAPH_UNLOCKED_PTR (*bdrv_co_create)(
496 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_amend)(
538 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_preadv_part)(
561 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_pwritev)(
578 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_pdiscard)(
679 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_delete_file)(
710 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_truncate)(
731 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_get_info)(
756 void coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_eject)(
766 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_ioctl)(
[all …]
H A Dblock_int-io.h38 int coroutine_fn GRAPH_RDLOCK bdrv_co_preadv_snapshot(BdrvChild *child,
40 int coroutine_fn GRAPH_RDLOCK bdrv_co_snapshot_block_status(
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()
80 void coroutine_fn bdrv_make_request_serialising(BdrvTrackedRequest *req,
116 int coroutine_fn GRAPH_RDLOCK
121 int coroutine_fn GRAPH_RDLOCK
[all …]
H A Daio_task.h30 typedef int coroutine_fn (*AioTaskFunc)(AioTask *task);
37 AioTaskPool *coroutine_fn aio_task_pool_new(int max_busy_tasks);
46 void coroutine_fn aio_task_pool_start_task(AioTaskPool *pool, AioTask *task);
48 void coroutine_fn aio_task_pool_wait_slot(AioTaskPool *pool);
49 void coroutine_fn aio_task_pool_wait_one(AioTaskPool *pool);
50 void coroutine_fn aio_task_pool_wait_all(AioTaskPool *pool);
H A Dreqlist.h53 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/sysemu/
H A Dblock-backend-io.h68 bool coroutine_fn GRAPH_RDLOCK blk_co_is_inserted(BlockBackend *blk);
74 void coroutine_fn blk_co_lock_medium(BlockBackend *blk, bool locked);
77 void coroutine_fn blk_co_eject(BlockBackend *blk, bool eject_flag);
80 int64_t coroutine_fn blk_co_getlength(BlockBackend *blk);
83 void coroutine_fn blk_co_get_geometry(BlockBackend *blk,
87 int64_t coroutine_fn blk_co_nb_sectors(BlockBackend *blk);
120 int coroutine_fn blk_co_block_status_above(BlockBackend *blk,
125 int coroutine_fn blk_co_is_allocated_above(BlockBackend *blk,
147 int coroutine_fn blk_co_preadv(BlockBackend *blk, int64_t offset,
168 int coroutine_fn blk_co_pwritev(BlockBackend *blk, int64_t offset,
[all …]
/qemu/tests/unit/
H A Dtest-coroutine.c21 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()
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()
346 static void coroutine_fn rwlock_rdlock(void *opaque) in rwlock_rdlock()
428 static void coroutine_fn set_and_exit(void *opaque) in set_and_exit()
[all …]
/qemu/util/
H A Dqemu-coroutine-lock.c94 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()
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()
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()
[all …]
/qemu/block/
H A Dcoroutines.h40 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 Dqed-table.c24 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 Dfilter-compress.c60 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 Daio_task.c37 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 Dqcow2.h916 int coroutine_fn GRAPH_RDLOCK
923 int coroutine_fn GRAPH_RDLOCK
935 int coroutine_fn GRAPH_RDLOCK
940 int coroutine_fn GRAPH_RDLOCK
947 int coroutine_fn GRAPH_RDLOCK
957 int coroutine_fn GRAPH_RDLOCK
985 int coroutine_fn GRAPH_RDLOCK
1061 ssize_t coroutine_fn
1064 ssize_t coroutine_fn
1067 int coroutine_fn
[all …]
H A Dqed.h203 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 Draw-format.c209 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
396 static int coroutine_fn GRAPH_RDLOCK
414 static int coroutine_fn GRAPH_RDLOCK
[all …]
H A Dcopy-on-read.c128 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 Dblkreplay.c43 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 Dqed.c198 static int coroutine_fn GRAPH_RDLOCK
399 static int coroutine_fn GRAPH_RDLOCK
834 static int coroutine_fn GRAPH_RDLOCK
890 static int coroutine_fn GRAPH_RDLOCK
909 static int coroutine_fn GRAPH_RDLOCK
1034 static int coroutine_fn GRAPH_RDLOCK
1169 static int coroutine_fn GRAPH_RDLOCK
1233 static int coroutine_fn GRAPH_RDLOCK
1276 static int coroutine_fn GRAPH_RDLOCK
1309 static int coroutine_fn GRAPH_RDLOCK
[all …]
H A Dsnapshot-access.c29 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

1234567