/openbmc/qemu/tests/unit/ |
H A D | test-bdrv-graph-mod.c | 38 uint64_t *nperm, uint64_t *nshared) in no_perm_default_perms() argument 40 *nperm = 0; in no_perm_default_perms() 54 uint64_t *nperm, uint64_t *nshared) in exclusive_write_perms() argument 56 *nperm = BLK_PERM_WRITE; in exclusive_write_perms() 284 uint64_t *nperm, uint64_t *nshared) in write_to_selected_perms() argument 289 *nperm = BLK_PERM_WRITE; in write_to_selected_perms() 292 *nperm = 0; in write_to_selected_perms()
|
/openbmc/qemu/block/ |
H A D | copy-before-write.c | 360 uint64_t *nperm, uint64_t *nshared) in cbw_child_perm() argument 374 *nperm = BLK_PERM_WRITE; in cbw_child_perm() 378 perm, shared, nperm, nshared); in cbw_child_perm() 387 *nperm = *nperm | BLK_PERM_CONSISTENT_READ; in cbw_child_perm() 389 *nperm = *nperm | BLK_PERM_WRITE; in cbw_child_perm()
|
H A D | snapshot-access.c | 104 uint64_t *nperm, uint64_t *nshared) in snapshot_access_child_perm() argument 110 *nperm = 0; in snapshot_access_child_perm()
|
H A D | copy-on-read.c | 115 uint64_t *nperm, uint64_t *nshared) in cor_child_perm() argument 117 *nperm = perm & PERM_PASSTHROUGH; in cor_child_perm() 123 *nperm |= BLK_PERM_WRITE_UNCHANGED; in cor_child_perm()
|
H A D | replication.c | 165 uint64_t *nperm, uint64_t *nshared) in replication_child_perm() argument 168 *nperm = BLK_PERM_CONSISTENT_READ; in replication_child_perm() 170 *nperm = 0; in replication_child_perm() 174 *nperm |= BLK_PERM_WRITE; in replication_child_perm()
|
H A D | raw-format.c | 623 uint64_t *nperm, uint64_t *nshared) in raw_child_perm() argument 626 parent_shared, nperm, nshared); in raw_child_perm() 634 *nperm &= ~(BLK_PERM_WRITE | BLK_PERM_RESIZE); in raw_child_perm() 635 *nperm |= parent_perm & (BLK_PERM_WRITE | BLK_PERM_RESIZE); in raw_child_perm()
|
H A D | preallocate.c | 575 uint64_t perm, uint64_t shared, uint64_t *nperm, uint64_t *nshared) in preallocate_child_perm() argument 579 bdrv_default_perms(bs, c, role, reopen_queue, perm, shared, nperm, nshared); in preallocate_child_perm() 587 *nperm |= BLK_PERM_WRITE | BLK_PERM_RESIZE; in preallocate_child_perm()
|
H A D | crypto.c | 1017 uint64_t *nperm, uint64_t *nshared) in block_crypto_child_perms() argument 1022 bdrv_default_perms(bs, c, role, reopen_queue, perm, shared, nperm, nshared); in block_crypto_child_perms() 1034 *nperm &= ~(BLK_PERM_WRITE | BLK_PERM_RESIZE); in block_crypto_child_perms() 1035 *nperm |= perm & (BLK_PERM_WRITE | BLK_PERM_RESIZE); in block_crypto_child_perms() 1051 *nperm |= BLK_PERM_WRITE; in block_crypto_child_perms()
|
H A D | blklogwrites.c | 316 uint64_t *nperm, uint64_t *nshrd) in blk_log_writes_child_perm() argument 319 *nperm = perm & DEFAULT_PERM_PASSTHROUGH; in blk_log_writes_child_perm() 325 nperm, nshrd); in blk_log_writes_child_perm()
|
H A D | commit.c | 237 uint64_t *nperm, uint64_t *nshared) in bdrv_commit_top_child_perm() argument 239 *nperm = 0; in bdrv_commit_top_child_perm()
|
H A D | blkdebug.c | 1044 uint64_t *nperm, uint64_t *nshared) in blkdebug_child_perm() argument 1049 perm, shared, nperm, nshared); in blkdebug_child_perm() 1051 *nperm |= s->take_child_perms; in blkdebug_child_perm()
|
H A D | quorum.c | 1204 uint64_t *nperm, uint64_t *nshared) in quorum_child_perm() argument 1208 *nperm = perm & DEFAULT_PERM_PASSTHROUGH; in quorum_child_perm() 1210 *nperm |= BLK_PERM_WRITE; in quorum_child_perm()
|
H A D | mirror.c | 1656 uint64_t *nperm, uint64_t *nshared) in bdrv_mirror_top_child_perm() argument 1665 *nperm = 0; in bdrv_mirror_top_child_perm() 1671 perm, shared, nperm, nshared); in bdrv_mirror_top_child_perm() 1688 *nperm &= ~BLK_PERM_CONSISTENT_READ; in bdrv_mirror_top_child_perm()
|
H A D | vvfat.c | 3221 uint64_t *nperm, uint64_t *nshared) in vvfat_child_perm() argument 3225 *nperm = BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE; in vvfat_child_perm()
|
/openbmc/qemu/include/block/ |
H A D | block_int-global-state.h | 248 uint64_t *nperm, uint64_t *nshared);
|
H A D | block_int-common.h | 462 uint64_t *nperm, uint64_t *nshared);
|
/openbmc/qemu/ |
H A D | block.c | 2265 uint64_t *nperm, uint64_t *nshared) in bdrv_child_perm() argument 2271 nperm, nshared); in bdrv_child_perm() 2754 uint64_t *nperm, uint64_t *nshared) in bdrv_filter_default_perms() argument 2757 *nperm = perm & DEFAULT_PERM_PASSTHROUGH; in bdrv_filter_default_perms() 2765 uint64_t *nperm, uint64_t *nshared) in bdrv_default_perms_for_cow() argument 2793 *nperm = perm; in bdrv_default_perms_for_cow() 2873 *nperm = perm; in bdrv_default_perms_for_storage() 2880 uint64_t *nperm, uint64_t *nshared) in bdrv_default_perms() argument 2887 perm, shared, nperm, nshared); in bdrv_default_perms() 2891 perm, shared, nperm, nshared); in bdrv_default_perms() [all …]
|