Searched refs:BLK_PERM_WRITE_UNCHANGED (Results 1 – 15 of 15) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | test-image-locking.c | 98 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()
|
/openbmc/qemu/include/block/ |
H A D | block-common.h | 397 BLK_PERM_WRITE_UNCHANGED = 0x04, enumerator 413 | BLK_PERM_WRITE_UNCHANGED
|
/openbmc/qemu/block/ |
H A D | commit.c | 362 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 D | copy-on-read.c | 123 *nperm |= BLK_PERM_WRITE_UNCHANGED; in cor_child_perm()
|
H A D | stream.c | 266 int basic_flags = BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE_UNCHANGED; in stream_start()
|
H A D | mirror.c | 1798 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 D | replication.c | 178 | BLK_PERM_WRITE_UNCHANGED; in replication_child_perm()
|
H A D | block-backend.c | 256 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 D | quorum.c | 1218 BLK_PERM_WRITE_UNCHANGED)) in quorum_child_perm()
|
H A D | io.c | 2000 assert(child->perm & (BLK_PERM_WRITE_UNCHANGED | BLK_PERM_WRITE)); in bdrv_co_write_req_prepare() 3047 if (child->perm & (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED)) { in bdrv_co_flush()
|
H A D | vvfat.c | 3226 *nshared = BLK_PERM_WRITE_UNCHANGED; in vvfat_child_perm()
|
H A D | file-posix.c | 1052 (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED | BLK_PERM_RESIZE); in raw_reconfigure_getfd()
|
/openbmc/qemu/hw/block/ |
H A D | block.c | 213 shared_perm = BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE_UNCHANGED; in blkconf_apply_backend_options()
|
/openbmc/qemu/ |
H A D | block.c | 2511 if ((cumulative_perms & (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED)) && in bdrv_node_refresh_perm() 2529 if ((cumulative_perms & (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED)) && in bdrv_node_refresh_perm() 2649 { BLK_PERM_WRITE_UNCHANGED, "write unchanged" }, in bdrv_perm_names() 2787 shared |= BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE_UNCHANGED; in bdrv_default_perms_for_cow() 2856 if (perm & BLK_PERM_WRITE_UNCHANGED) { in bdrv_default_perms_for_storage() 2905 [BLOCK_PERMISSION_WRITE_UNCHANGED] = BLK_PERM_WRITE_UNCHANGED, in bdrv_qapi_perm_to_blk_perm() 6997 if (cumulative_perms & (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED)) { in bdrv_inactivate_recurse() 8180 assert(c->perm & (BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED)); in bdrv_make_empty()
|
H A D | qemu-io-cmds.c | 2467 orig_perm & ~(BLK_PERM_WRITE | BLK_PERM_WRITE_UNCHANGED), in reopen_f()
|