Searched refs:aio_context (Results 1 – 14 of 14) sorted by relevance
| /openbmc/qemu/block/ |
| H A D | linux-aio.c | 58 AioContext *aio_context; member 107 assert(laiocb->co->ctx == laiocb->ctx->aio_context); in qemu_laio_process_completion() 346 uint64_t max_batch = s->aio_context->aio_max_batch ?: DEFAULT_MAX_BATCH; in laio_max_batch() 450 s->aio_context = NULL; in laio_detach_aio_context() 455 s->aio_context = new_context; in laio_attach_aio_context()
|
| H A D | throttle-groups.c | 446 aio_co_enter(tgm->aio_context, co); in throttle_group_restart_queue() 552 tgm->aio_context = ctx; in throttle_group_register_tgm() 567 tgm->aio_context, in throttle_group_register_tgm() 598 AIO_WAIT_WHILE(tgm->aio_context, qatomic_read(&tgm->restart_pending) > 0); in throttle_group_unregister_tgm() 629 tgm->aio_context = new_context; in throttle_group_attach_aio_context() 655 tgm->aio_context = NULL; in throttle_group_detach_aio_context()
|
| H A D | nfs.c | 60 AioContext *aio_context; member 194 aio_set_fd_handler(client->aio_context, nfs_get_fd(client->context), in nfs_set_events() 365 aio_set_fd_handler(client->aio_context, nfs_get_fd(client->context), in nfs_detach_aio_context() 375 client->aio_context = new_context; in nfs_attach_aio_context() 383 aio_set_fd_handler(client->aio_context, nfs_get_fd(client->context), in nfs_client_close() 606 client->aio_context = bdrv_get_aio_context(bs); in nfs_file_open() 643 client->aio_context = qemu_get_aio_context(); in nfs_file_co_create()
|
| H A D | commit.c | 444 s->base = blk_new(s->common.job.aio_context, in commit_start() 456 s->top = blk_new(s->common.job.aio_context, 0, BLK_PERM_ALL); in commit_start()
|
| H A D | replication.c | 150 assert(commit_job->aio_context == qemu_get_current_aio_context()); in replication_close()
|
| H A D | mirror.c | 1975 s->target = blk_new(s->common.job.aio_context, in mirror_start_job()
|
| /openbmc/qemu/include/block/ |
| H A D | throttle-groups.h | 37 AioContext *aio_context; member
|
| /openbmc/qemu/ |
| H A D | job.c | 380 job->aio_context = ctx; in job_set_aio_context() 421 job->aio_context = ctx; in job_create() 591 next_aio_context = job->aio_context; in job_do_yield_locked() 601 next_aio_context = job->aio_context; in job_do_yield_locked() 1109 assert(job->aio_context == qemu_get_current_aio_context()); in job_co_entry() 1134 aio_co_enter(job->aio_context, job->co); in job_start() 1262 AIO_WAIT_WHILE_UNLOCKED(job->aio_context, in job_finish_sync_locked()
|
| H A D | blockjob.c | 179 return job->job.aio_context; in child_job_get_parent_aio_context() 627 return job->job.aio_context; in block_job_get_aio_context()
|
| /openbmc/qemu/include/qemu/ |
| H A D | throttle.h | 126 AioContext *aio_context,
|
| H A D | job.h | 86 AioContext *aio_context; member
|
| /openbmc/qemu/util/ |
| H A D | qemu-timer.c | 674 AioContext *aio_context; in qemu_clock_advance_virtual_time() local 675 aio_context = qemu_get_aio_context(); in qemu_clock_advance_virtual_time() 684 timerlist_run_timers(aio_context->tlg.tl[QEMU_CLOCK_VIRTUAL]); in qemu_clock_advance_virtual_time()
|
| H A D | throttle.c | 236 AioContext *aio_context, in throttle_timers_init() argument 249 throttle_timers_attach_aio_context(tt, aio_context); in throttle_timers_init()
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-block-iothread.c | 517 g_assert(qemu_get_current_aio_context() == job->aio_context); in test_job_run() 528 g_assert(qemu_get_current_aio_context() == job->aio_context); in test_job_run() 773 g_assert(job->aio_context == ctx); in test_propagate_mirror()
|