Home
last modified time | relevance | path

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

1234567

/openbmc/qemu/hw/9pfs/
H A Dcoth.h62 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 Dcofs.c57 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_chown(V9fsPDU *pdu, V9fsPath *path, uid_t uid, in v9fs_co_chown()
167 int coroutine_fn v9fs_co_truncate(V9fsPDU *pdu, V9fsPath *path, off_t size) in v9fs_co_truncate()
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()
[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()
/openbmc/qemu/include/qemu/
H A Dcoroutine.h74 static inline coroutine_fn void qemu_co_mutex_assert_locked(CoMutex *mutex) in qemu_co_mutex_assert_locked()
121 void coroutine_fn qemu_co_queue_wait_impl(CoQueue *queue, QemuLockable *lock,
130 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,
[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);
/openbmc/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
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 Dblock_int-common.h253 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)(
493 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_amend)(
513 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_readv)(BlockDriverState *bs,
531 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_preadv)(BlockDriverState *bs,
535 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_preadv_part)(
540 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_writev)(BlockDriverState *bs,
558 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_pwritev)(
561 int coroutine_fn GRAPH_RDLOCK_PTR (*bdrv_co_pwritev_part)(
[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(
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 Daio_task.h30 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 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);
/openbmc/qemu/include/sysemu/
H A Dblock-backend-io.h68 bool coroutine_fn GRAPH_RDLOCK blk_co_is_inserted(BlockBackend *blk);
71 bool coroutine_fn GRAPH_RDLOCK blk_co_is_available(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);
115 int coroutine_fn blk_co_copy_range(BlockBackend *blk_in, int64_t off_in,
120 int coroutine_fn blk_co_block_status_above(BlockBackend *blk,
125 int coroutine_fn blk_co_is_allocated_above(BlockBackend *blk,
[all …]
/openbmc/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()
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 …]
/openbmc/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 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 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 Dqcow2.h852 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 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
344 static int64_t coroutine_fn GRAPH_RDLOCK
396 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 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
H A Dqed.c103 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()
399 static int coroutine_fn GRAPH_RDLOCK
561 static void coroutine_fn bdrv_qed_open_entry(void *opaque) in bdrv_qed_open_entry()
642 static int coroutine_fn GRAPH_UNLOCKED
763 static int coroutine_fn GRAPH_UNLOCKED
[all …]
/openbmc/qemu/util/
H A Dqemu-coroutine-lock.c41 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 …]

1234567