Home
last modified time | relevance | path

Searched refs:nperm (Results 1 – 17 of 17) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-bdrv-graph-mod.c38 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 Dcopy-before-write.c360 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 Dsnapshot-access.c104 uint64_t *nperm, uint64_t *nshared) in snapshot_access_child_perm() argument
110 *nperm = 0; in snapshot_access_child_perm()
H A Dcopy-on-read.c115 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 Dreplication.c165 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 Draw-format.c623 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 Dpreallocate.c575 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 Dcrypto.c1017 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 Dblklogwrites.c316 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 Dcommit.c237 uint64_t *nperm, uint64_t *nshared) in bdrv_commit_top_child_perm() argument
239 *nperm = 0; in bdrv_commit_top_child_perm()
H A Dblkdebug.c1044 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 Dquorum.c1204 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 Dmirror.c1656 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 Dvvfat.c3221 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 Dblock_int-global-state.h248 uint64_t *nperm, uint64_t *nshared);
H A Dblock_int-common.h462 uint64_t *nperm, uint64_t *nshared);
/openbmc/qemu/
H A Dblock.c2265 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 …]