Home
last modified time | relevance | path

Searched refs:BDRV_O_RDWR (Results 1 – 6 of 6) sorted by relevance

/external/qemu/block/
Draw-win32.c84 if (flags & BDRV_O_RDWR) { in raw_open()
337 if (flags & BDRV_O_RDWR) { in hdev_open()
Draw-posix.c138 if (bdrv_flags & BDRV_O_RDWR) { in raw_open_common()
Dqcow2.c1035 bdrv_open(bs, filename, BDRV_O_CACHE_WB | BDRV_O_RDWR, drv); in qcow_create2()
/external/qemu/
Dblockdev.c483 bdrv_flags |= ro ? 0 : BDRV_O_RDWR; in drive_init()
594 bdrv_flags = bdrv_is_read_only(bs) ? 0 : BDRV_O_RDWR; in do_change_block()
Dblock.c454 open_flags |= BDRV_O_RDWR; in bdrv_open_common()
471 bs->keep_read_only = bs->read_only = !(open_flags & BDRV_O_RDWR); in bdrv_open_common()
618 flags & ~(BDRV_O_RDWR | BDRV_O_SNAPSHOT | BDRV_O_NO_BACKING); in bdrv_open()
626 bs->backing_hd->keep_read_only = !(flags & BDRV_O_RDWR); in bdrv_open()
777 rw_ret = bdrv_open(bs_rw, filename, open_flags | BDRV_O_RDWR, drv); in bdrv_commit()
782 ret = bdrv_open(bs_ro, filename, open_flags & ~BDRV_O_RDWR, drv); in bdrv_commit()
833 ret = bdrv_open(bs_ro, filename, open_flags & ~BDRV_O_RDWR, drv); in bdrv_commit()
/external/qemu/include/block/
Dblock.h30 #define BDRV_O_RDWR 0x0002 macro