Home
last modified time | relevance | path

Searched refs:BLK_PERM_WRITE_UNCHANGED (Results 1 – 15 of 15) sorted by relevance

/qemu/tests/unit/
H A Dtest-image-locking.c98 blk3 = open_image(img_path, perm, BLK_PERM_WRITE_UNCHANGED, NULL); in test_image_locking_basic()
110 blk3 = open_image(img_path, perm, BLK_PERM_WRITE_UNCHANGED, &error_abort); in test_image_locking_basic()
137 r = blk_set_perm(blk2, perm | BLK_PERM_RESIZE, BLK_PERM_WRITE_UNCHANGED, in test_set_perm_abort()
/qemu/include/block/
H A Dblock-common.h397 BLK_PERM_WRITE_UNCHANGED = 0x04, enumerator
413 | BLK_PERM_WRITE_UNCHANGED
/qemu/block/
H A Dcommit.c362 iter_shared_perms = BLK_PERM_WRITE_UNCHANGED | BLK_PERM_WRITE; in commit_start()
397 | BLK_PERM_WRITE_UNCHANGED); in commit_start()
494 src = blk_new(ctx, BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE_UNCHANGED, in bdrv_commit()
H A Dcopy-on-read.c123 *nperm |= BLK_PERM_WRITE_UNCHANGED; in cor_child_perm()
H A Dstream.c266 int basic_flags = BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE_UNCHANGED; in stream_start()
H A Dmirror.c1798 BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE_UNCHANGED | in mirror_start_job()
1821 target_shared_perms = BLK_PERM_WRITE_UNCHANGED; in mirror_start_job()
1909 BLK_PERM_WRITE_UNCHANGED | BLK_PERM_WRITE | in mirror_start_job()
1942 iter_shared_perms = BLK_PERM_WRITE_UNCHANGED | BLK_PERM_WRITE; in mirror_start_job()
H A Dreplication.c178 | BLK_PERM_WRITE_UNCHANGED; in replication_child_perm()
H A Dblock-backend.c256 if (!(blk->perm & (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED))) { in blk_can_inactivate()
454 shared = BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE_UNCHANGED; in blk_new_open()
H A Dquorum.c1218 BLK_PERM_WRITE_UNCHANGED)) in quorum_child_perm()
H A Dio.c1995 assert(child->perm & (BLK_PERM_WRITE_UNCHANGED | BLK_PERM_WRITE)); in bdrv_co_write_req_prepare()
3046 if (child->perm & (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED)) { in bdrv_co_flush()
H A Dvvfat.c3227 *nshared = BLK_PERM_WRITE_UNCHANGED; in vvfat_child_perm()
H A Dfile-posix.c1052 (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED | BLK_PERM_RESIZE); in raw_reconfigure_getfd()
/qemu/hw/block/
H A Dblock.c213 shared_perm = BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE_UNCHANGED; in blkconf_apply_backend_options()
/qemu/
H A Dblock.c2512 if ((cumulative_perms & (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED)) && in bdrv_node_refresh_perm()
2530 if ((cumulative_perms & (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED)) && in bdrv_node_refresh_perm()
2650 { BLK_PERM_WRITE_UNCHANGED, "write unchanged" }, in bdrv_perm_names()
2788 shared |= BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE_UNCHANGED; in bdrv_default_perms_for_cow()
2857 if (perm & BLK_PERM_WRITE_UNCHANGED) { in bdrv_default_perms_for_storage()
2906 [BLOCK_PERMISSION_WRITE_UNCHANGED] = BLK_PERM_WRITE_UNCHANGED, in bdrv_qapi_perm_to_blk_perm()
6976 if (cumulative_perms & (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED)) { in bdrv_inactivate_recurse()
8159 assert(c->perm & (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED)); in bdrv_make_empty()
H A Dqemu-io-cmds.c2467 orig_perm & ~(BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED), in reopen_f()