Home
last modified time | relevance | path

Searched refs:new_context (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/qemu/include/block/
H A Draw-aio.h68 void laio_attach_aio_context(LinuxAioState *s, AioContext *new_context);
85 void luring_attach_aio_context(LuringState *s, AioContext *new_context);
106 AioContext *new_context);
H A Dthrottle-groups.h83 AioContext *new_context);
H A Dblockjob_int.h67 void (*attached_aio_context)(BlockJob *job, AioContext *new_context);
H A Dblock_int-global-state.h303 void (*attached_aio_context)(AioContext *new_context, void *opaque),
H A Dblock_int-common.h365 AioContext *new_context);
915 void (*attached_aio_context)(AioContext *new_context, void *opaque);
/openbmc/qemu/block/
H A Dwin32-aio.c182 AioContext *new_context) in win32_aio_attach_aio_context() argument
184 aio->aio_ctx = new_context; in win32_aio_attach_aio_context()
185 aio_set_event_notifier(new_context, &aio->e, win32_aio_completion_cb, in win32_aio_attach_aio_context()
H A Dlinux-aio.c453 void laio_attach_aio_context(LinuxAioState *s, AioContext *new_context) in laio_attach_aio_context() argument
455 s->aio_context = new_context; in laio_attach_aio_context()
456 s->completion_bh = aio_bh_new(new_context, qemu_laio_completion_bh, s); in laio_attach_aio_context()
457 aio_set_event_notifier(new_context, &s->e, in laio_attach_aio_context()
H A Dio_uring.c436 void luring_attach_aio_context(LuringState *s, AioContext *new_context) in luring_attach_aio_context() argument
438 s->aio_context = new_context; in luring_attach_aio_context()
439 s->completion_bh = aio_bh_new(new_context, qemu_luring_completion_bh, s); in luring_attach_aio_context()
H A Dthrottle.c178 AioContext *new_context) in throttle_attach_aio_context() argument
181 throttle_group_attach_aio_context(tgm, new_context); in throttle_attach_aio_context()
H A Dthrottle-groups.c625 AioContext *new_context) in throttle_group_attach_aio_context() argument
628 throttle_timers_attach_aio_context(tt, new_context); in throttle_group_attach_aio_context()
629 tgm->aio_context = new_context; in throttle_group_attach_aio_context()
H A Dblock-backend.c37 void (*attached_aio_context)(AioContext *new_context, void *opaque);
2390 int blk_set_aio_context(BlockBackend *blk, AioContext *new_context, in blk_set_aio_context() argument
2400 qatomic_set(&blk->ctx, new_context); in blk_set_aio_context()
2409 ret = bdrv_try_change_aio_context(bs, new_context, NULL, errp); in blk_set_aio_context()
2426 AioContext *new_context = s->new_ctx; in blk_root_set_aio_ctx_commit() local
2429 qatomic_set(&blk->ctx, new_context); in blk_root_set_aio_ctx_commit()
2432 throttle_group_attach_aio_context(tgm, new_context); in blk_root_set_aio_ctx_commit()
2472 void (*attached_aio_context)(AioContext *new_context, void *opaque), in blk_add_aio_context_notifier() argument
H A Dcurl.c607 AioContext *new_context) in curl_attach_aio_context() argument
611 aio_timer_init(new_context, &s->timer, in curl_attach_aio_context()
617 s->aio_context = new_context; in curl_attach_aio_context()
H A Dnvme.c1582 AioContext *new_context) in nvme_attach_aio_context() argument
1586 s->aio_context = new_context; in nvme_attach_aio_context()
1587 aio_set_event_notifier(new_context, &s->irq_notifier[MSIX_SHARED_IRQ_IDX], in nvme_attach_aio_context()
1595 aio_bh_new(new_context, nvme_process_completion_bh, q); in nvme_attach_aio_context()
H A Dfile-win32.c222 AioContext *new_context) in raw_attach_aio_context() argument
227 win32_aio_attach_aio_context(s->aio, new_context); in raw_attach_aio_context()
H A Dblkio.c300 AioContext *new_context) in blkio_attach_aio_context() argument
304 aio_set_fd_handler(new_context, s->completion_fd, in blkio_attach_aio_context()
H A Dnfs.c371 AioContext *new_context) in nfs_attach_aio_context() argument
375 client->aio_context = new_context; in nfs_attach_aio_context()
H A Dqed.c360 AioContext *new_context) in bdrv_qed_attach_aio_context() argument
364 s->need_check_timer = aio_timer_new(new_context, in bdrv_qed_attach_aio_context()
H A Discsi.c1557 AioContext *new_context) in iscsi_attach_aio_context() argument
1561 iscsilun->aio_context = new_context; in iscsi_attach_aio_context()
/openbmc/qemu/stubs/
H A Dio_uring.c19 void luring_attach_aio_context(LuringState *s, AioContext *new_context) in luring_attach_aio_context() argument
H A Dlinux-aio.c19 void laio_attach_aio_context(LinuxAioState *s, AioContext *new_context) in laio_attach_aio_context() argument
/openbmc/qemu/include/system/
H A Dblock-backend-global-state.h89 int blk_set_aio_context(BlockBackend *blk, AioContext *new_context,
92 void (*attached_aio_context)(AioContext *new_context, void *opaque),
/openbmc/qemu/include/qemu/
H A Dthrottle.h137 AioContext *new_context);
/openbmc/qemu/util/
H A Dthrottle.c201 AioContext *new_context) in throttle_timers_attach_aio_context() argument
208 aio_timer_new(new_context, tt->clock_type, SCALE_NS, in throttle_timers_attach_aio_context()
/openbmc/qemu/
H A Dblockdev.c3657 AioContext *new_context; in qmp_x_blockdev_set_iothread() local
3684 new_context = iothread_get_aio_context(obj); in qmp_x_blockdev_set_iothread()
3686 new_context = qemu_get_aio_context(); in qmp_x_blockdev_set_iothread()
3689 bdrv_try_change_aio_context_locked(bs, new_context, NULL, errp); in qmp_x_blockdev_set_iothread()
H A Dblock.c7548 AioContext *new_context) in bdrv_attach_aio_context() argument
7553 bs->aio_context = new_context; in bdrv_attach_aio_context()
7556 bs->drv->bdrv_attach_aio_context(bs, new_context); in bdrv_attach_aio_context()
7565 ban->attached_aio_context(new_context, ban->opaque); in bdrv_attach_aio_context()
7649 AioContext *new_context = state->new_ctx; in bdrv_set_aio_context_commit() local
7652 bdrv_attach_aio_context(bs, new_context); in bdrv_set_aio_context_commit()
7783 void (*attached_aio_context)(AioContext *new_context, void *opaque), in bdrv_add_aio_context_notifier() argument

12