Home
last modified time | relevance | path

Searched refs:nperm (Results 1 – 12 of 12) 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 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 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.c287 uint64_t *nperm, uint64_t *nshared) in bdrv_commit_top_child_perm() argument
289 *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.c1771 uint64_t *nperm, uint64_t *nshared) in bdrv_mirror_top_child_perm() argument
1780 *nperm = 0; in bdrv_mirror_top_child_perm()
1786 perm, shared, nperm, nshared); in bdrv_mirror_top_child_perm()
1803 *nperm &= ~BLK_PERM_CONSISTENT_READ; in bdrv_mirror_top_child_perm()
/openbmc/qemu/include/block/
H A Dblock_int-global-state.h250 uint64_t *nperm, uint64_t *nshared);