/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 41 *nshared = BLK_PERM_ALL; in no_perm_default_perms() 54 uint64_t *nperm, uint64_t *nshared) in exclusive_write_perms() argument 57 *nshared = BLK_PERM_ALL & ~BLK_PERM_WRITE; in exclusive_write_perms() 284 uint64_t *nperm, uint64_t *nshared) in write_to_selected_perms() argument 290 *nshared = BLK_PERM_ALL & ~BLK_PERM_WRITE; in write_to_selected_perms() 293 *nshared = BLK_PERM_ALL; in write_to_selected_perms()
|
/openbmc/qemu/block/ |
H A D | snapshot-access.c | 104 uint64_t *nperm, uint64_t *nshared) in snapshot_access_child_perm() argument 111 *nshared = BLK_PERM_ALL; in snapshot_access_child_perm()
|
H A D | copy-before-write.c | 360 uint64_t *nperm, uint64_t *nshared) in cbw_child_perm() argument 373 *nshared = BLK_PERM_ALL & ~BLK_PERM_RESIZE; in cbw_child_perm() 378 perm, shared, nperm, nshared); in cbw_child_perm() 392 *nshared &= ~(BLK_PERM_WRITE | BLK_PERM_RESIZE); in cbw_child_perm()
|
H A D | copy-on-read.c | 115 uint64_t *nperm, uint64_t *nshared) in cor_child_perm() argument 118 *nshared = (shared & PERM_PASSTHROUGH) | PERM_UNCHANGED; in cor_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() 593 *nshared &= ~(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() 1028 *nshared |= shared & (BLK_PERM_WRITE | BLK_PERM_RESIZE); in block_crypto_child_perms() 1053 *nshared &= ~(BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE); in block_crypto_child_perms()
|
H A D | commit.c | 237 uint64_t *nperm, uint64_t *nshared) in bdrv_commit_top_child_perm() argument 240 *nshared = BLK_PERM_ALL; in bdrv_commit_top_child_perm()
|
H A D | replication.c | 165 uint64_t *nperm, uint64_t *nshared) in replication_child_perm() argument 176 *nshared = BLK_PERM_CONSISTENT_READ 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()
|
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() 1052 *nshared &= ~s->unshare_child_perms; in blkdebug_child_perm()
|
H A D | mirror.c | 1656 uint64_t *nperm, uint64_t *nshared) in bdrv_mirror_top_child_perm() argument 1666 *nshared = BLK_PERM_ALL; in bdrv_mirror_top_child_perm() 1671 perm, shared, nperm, nshared); in bdrv_mirror_top_child_perm() 1689 *nshared |= BLK_PERM_WRITE; in bdrv_mirror_top_child_perm()
|
H A D | quorum.c | 1204 uint64_t *nperm, uint64_t *nshared) in quorum_child_perm() argument 1217 *nshared = (shared & (BLK_PERM_CONSISTENT_READ | in quorum_child_perm()
|
H A D | vvfat.c | 3221 uint64_t *nperm, uint64_t *nshared) in vvfat_child_perm() argument 3226 *nshared = BLK_PERM_WRITE_UNCHANGED; in vvfat_child_perm()
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | ffa.c | 335 u32 nshared = __ffa_host_share_ranges(ranges, nranges); in ffa_host_share_ranges() local 338 if (nshared != nranges) { in ffa_host_share_ranges() 339 WARN_ON(__ffa_host_unshare_ranges(ranges, nshared) != nshared); in ffa_host_share_ranges()
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | cacheinfo.c | 915 unsigned int apicid, nshared, first, last; in __cache_amd_cpumap_setup() local 917 nshared = base->eax.split.num_threads_sharing + 1; in __cache_amd_cpumap_setup() 919 first = apicid - (apicid % nshared); in __cache_amd_cpumap_setup() 920 last = first + nshared - 1; in __cache_amd_cpumap_setup()
|
/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() 2274 *nshared = BLK_PERM_ALL; in bdrv_child_perm() 2754 uint64_t *nperm, uint64_t *nshared) in bdrv_filter_default_perms() argument 2765 uint64_t *nperm, uint64_t *nshared) in bdrv_default_perms_for_cow() argument 2794 *nshared = shared; in bdrv_default_perms_for_cow() 2874 *nshared = shared; 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 …]
|