Home
last modified time | relevance | path

Searched refs:nshared (Results 1 – 18 of 18) 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
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 Dsnapshot-access.c104 uint64_t *nperm, uint64_t *nshared) in snapshot_access_child_perm() argument
111 *nshared = BLK_PERM_ALL; in snapshot_access_child_perm()
H A Dcopy-before-write.c360 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 Dcopy-on-read.c115 uint64_t *nperm, uint64_t *nshared) in cor_child_perm() argument
118 *nshared = (shared & PERM_PASSTHROUGH) | PERM_UNCHANGED; in cor_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()
593 *nshared &= ~(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()
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 Dcommit.c237 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 Dreplication.c165 uint64_t *nperm, uint64_t *nshared) in replication_child_perm() argument
176 *nshared = BLK_PERM_CONSISTENT_READ 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()
H A Dblkdebug.c1044 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 Dmirror.c1656 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 Dquorum.c1204 uint64_t *nperm, uint64_t *nshared) in quorum_child_perm() argument
1217 *nshared = (shared & (BLK_PERM_CONSISTENT_READ | in quorum_child_perm()
H A Dvvfat.c3221 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 Dffa.c335 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 Dcacheinfo.c915 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 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()
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 …]