Home
last modified time | relevance | path

Searched refs:qoc (Results 1 – 2 of 2) sorted by relevance

/qemu/block/
H A Dqed.c564 QEDOpenCo *qoc = opaque; in bdrv_qed_open_entry() local
565 BDRVQEDState *s = qoc->bs->opaque; in bdrv_qed_open_entry()
570 qoc->ret = bdrv_qed_do_open(qoc->bs, qoc->options, qoc->flags, qoc->errp); in bdrv_qed_open_entry()
577 QEDOpenCo qoc = { in bdrv_qed_open() local
594 qemu_coroutine_enter(qemu_coroutine_create(bdrv_qed_open_entry, &qoc)); in bdrv_qed_open()
595 BDRV_POLL_WHILE(bs, qoc.ret == -EINPROGRESS); in bdrv_qed_open()
597 return qoc.ret; in bdrv_qed_open()
H A Dqcow2.c1933 QCow2OpenCo *qoc = opaque; in qcow2_open_entry() local
1934 BDRVQcow2State *s = qoc->bs->opaque; in qcow2_open_entry()
1939 qoc->ret = qcow2_do_open(qoc->bs, qoc->options, qoc->flags, true, in qcow2_open_entry()
1940 qoc->errp); in qcow2_open_entry()
1950 QCow2OpenCo qoc = { in qcow2_open() local
1971 qemu_coroutine_create(qcow2_open_entry, &qoc)); in qcow2_open()
1972 AIO_WAIT_WHILE_UNLOCKED(NULL, qoc.ret == -EINPROGRESS); in qcow2_open()
1974 return qoc.ret; in qcow2_open()