Home
last modified time | relevance | path

Searched refs:BDRV_O_INACTIVE (Results 1 – 11 of 11) sorted by relevance

/qemu/include/block/
H A Dblock-common.h234 #define BDRV_O_INACTIVE 0x0800 /* consistency hint for migration handoff */ macro
/qemu/block/
H A Dcopy-on-read.c122 if (!(bs->open_flags & BDRV_O_INACTIVE)) { in cor_child_perm()
H A Dparallels.c1351 if ((flags & BDRV_O_RDWR) && !(flags & BDRV_O_INACTIVE)) { in parallels_open()
1394 if ((flags & (BDRV_O_CHECK | BDRV_O_INACTIVE)) || !(flags & BDRV_O_RDWR)) { in parallels_open()
1433 if ((bs->open_flags & BDRV_O_RDWR) && !(bs->open_flags & BDRV_O_INACTIVE)) { in parallels_close()
H A Dreplication.c173 if ((bs->open_flags & (BDRV_O_INACTIVE | BDRV_O_RDWR)) == BDRV_O_RDWR) { in replication_child_perm()
H A Dqed.c502 !bdrv_is_read_only(bs->file->bs) && !(flags & BDRV_O_INACTIVE)) { in bdrv_qed_do_open()
532 !(flags & BDRV_O_INACTIVE)) { in bdrv_qed_do_open()
H A Dqcow2-bitmap.c105 return !bdrv_is_read_only(bs) && !(bdrv_get_flags(bs) & BDRV_O_INACTIVE); in can_write()
H A Dio.c1193 skip_write = (bs->open_flags & BDRV_O_INACTIVE); in bdrv_co_do_copy_on_readv()
1967 assert(!(bs->open_flags & BDRV_O_INACTIVE)); in bdrv_co_write_req_prepare()
H A Dqcow2.c1829 if (!(bdrv_get_flags(bs) & BDRV_O_INACTIVE)) { in qcow2_do_open()
2787 if (!(s->flags & BDRV_O_INACTIVE)) { in qcow2_do_close()
2862 flags &= ~BDRV_O_INACTIVE; in qcow2_co_invalidate_cache()
H A Dfile-posix.c975 if (bdrv_get_flags(bs) & BDRV_O_INACTIVE) { in raw_handle_perm_lock()
/qemu/
H A Dblock.c1225 assert(bs->open_flags & BDRV_O_INACTIVE); in bdrv_child_cb_inactivate()
2790 if (bs->open_flags & BDRV_O_INACTIVE) { in bdrv_default_perms_for_cow()
2870 if (bs->open_flags & BDRV_O_INACTIVE) { in bdrv_default_perms_for_storage()
6841 if (bs->open_flags & BDRV_O_INACTIVE) { in bdrv_activate()
6842 bs->open_flags &= ~BDRV_O_INACTIVE; in bdrv_activate()
6845 bs->open_flags |= BDRV_O_INACTIVE; in bdrv_activate()
6851 bs->open_flags |= BDRV_O_INACTIVE; in bdrv_activate()
6861 bs->open_flags |= BDRV_O_INACTIVE; in bdrv_activate()
6886 assert(!(bs->open_flags & BDRV_O_INACTIVE)); in bdrv_co_invalidate_cache()
6955 assert(!(bs->open_flags & BDRV_O_INACTIVE)); in bdrv_inactivate_recurse()
[all …]
H A Dblockdev.c609 bdrv_flags |= BDRV_O_INACTIVE; in blockdev_init()
676 bdrv_flags |= BDRV_O_INACTIVE; in bds_tree_init()