Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqed.c563 QEDOpenCo *qoc = opaque; in bdrv_qed_open_entry() local
564 BDRVQEDState *s = qoc->bs->opaque; in bdrv_qed_open_entry()
569 qoc->ret = bdrv_qed_do_open(qoc->bs, qoc->options, qoc->flags, qoc->errp); in bdrv_qed_open_entry()
576 QEDOpenCo qoc = { in bdrv_qed_open() local
593 qemu_coroutine_enter(qemu_coroutine_create(bdrv_qed_open_entry, &qoc)); in bdrv_qed_open()
594 BDRV_POLL_WHILE(bs, qoc.ret == -EINPROGRESS); in bdrv_qed_open()
596 return qoc.ret; in bdrv_qed_open()
H A Dqcow2.c1931 QCow2OpenCo *qoc = opaque; in qcow2_open_entry() local
1932 BDRVQcow2State *s = qoc->bs->opaque; in qcow2_open_entry()
1937 qoc->ret = qcow2_do_open(qoc->bs, qoc->options, qoc->flags, true, in qcow2_open_entry()
1938 qoc->errp); in qcow2_open_entry()
1948 QCow2OpenCo qoc = { in qcow2_open() local
1969 qemu_coroutine_create(qcow2_open_entry, &qoc)); in qcow2_open()
1970 AIO_WAIT_WHILE_UNLOCKED(NULL, qoc.ret == -EINPROGRESS); in qcow2_open()
1972 return qoc.ret; in qcow2_open()