Searched refs:BDRV_O_INACTIVE (Results 1 – 11 of 11) sorted by relevance
234 #define BDRV_O_INACTIVE 0x0800 /* consistency hint for migration handoff */ macro
122 if (!(bs->open_flags & BDRV_O_INACTIVE)) { in cor_child_perm()
1351 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()
173 if ((bs->open_flags & (BDRV_O_INACTIVE | BDRV_O_RDWR)) == BDRV_O_RDWR) { in replication_child_perm()
502 !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()
105 return !bdrv_is_read_only(bs) && !(bdrv_get_flags(bs) & BDRV_O_INACTIVE); in can_write()
1193 skip_write = (bs->open_flags & BDRV_O_INACTIVE); in bdrv_co_do_copy_on_readv()1972 assert(!(bs->open_flags & BDRV_O_INACTIVE)); in bdrv_co_write_req_prepare()
1844 if (!(bdrv_get_flags(bs) & BDRV_O_INACTIVE)) { in qcow2_do_open()2802 if (!(s->flags & BDRV_O_INACTIVE)) { in qcow2_do_close()2877 flags &= ~BDRV_O_INACTIVE; in qcow2_co_invalidate_cache()
975 if (bdrv_get_flags(bs) & BDRV_O_INACTIVE) { in raw_handle_perm_lock()
1225 assert(bs->open_flags & BDRV_O_INACTIVE); in bdrv_child_cb_inactivate()2180 return (flags & (BDRV_O_RDWR | BDRV_O_INACTIVE)) == BDRV_O_RDWR; in bdrv_is_writable_after_reopen()2789 if (bs->open_flags & BDRV_O_INACTIVE) { in bdrv_default_perms_for_cow()2869 if (bs->open_flags & BDRV_O_INACTIVE) { in bdrv_default_perms_for_storage()6862 if (bs->open_flags & BDRV_O_INACTIVE) { in bdrv_activate()6863 bs->open_flags &= ~BDRV_O_INACTIVE; in bdrv_activate()6866 bs->open_flags |= BDRV_O_INACTIVE; in bdrv_activate()6872 bs->open_flags |= BDRV_O_INACTIVE; in bdrv_activate()6882 bs->open_flags |= BDRV_O_INACTIVE; in bdrv_activate()6892 bs->open_flags |= BDRV_O_INACTIVE; in bdrv_activate()[all …]
609 bdrv_flags |= BDRV_O_INACTIVE; in blockdev_init()676 bdrv_flags |= BDRV_O_INACTIVE; in bds_tree_init()