Lines Matching defs:shared
2347 uint64_t shared, Transaction *tran)
2359 c->shared_perm = shared;
2708 int bdrv_child_try_set_perm(BdrvChild *c, uint64_t perm, uint64_t shared,
2717 bdrv_child_set_perm(c, perm, shared, tran);
2724 if ((perm & ~c->perm) || (c->shared_perm & ~shared)) {
2745 uint64_t perms, shared;
2751 parent_perms, parent_shared, &perms, &shared);
2753 return bdrv_child_try_set_perm(c, perms, shared, errp);
2764 uint64_t perm, uint64_t shared,
2769 *nshared = (shared & DEFAULT_PERM_PASSTHROUGH) | DEFAULT_PERM_UNCHANGED;
2775 uint64_t perm, uint64_t shared,
2792 if (shared & BLK_PERM_WRITE) {
2793 shared = BLK_PERM_WRITE | BLK_PERM_RESIZE;
2795 shared = 0;
2798 shared |= BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE_UNCHANGED;
2801 shared |= BLK_PERM_WRITE | BLK_PERM_RESIZE;
2805 *nshared = shared;
2811 uint64_t perm, uint64_t shared,
2826 perm, shared, &perm, &shared);
2842 shared &= ~(BLK_PERM_WRITE | BLK_PERM_RESIZE);
2860 shared &= ~BLK_PERM_RESIZE;
2881 shared |= BLK_PERM_WRITE | BLK_PERM_RESIZE;
2885 *nshared = shared;
2890 uint64_t perm, uint64_t shared,
2898 perm, shared, nperm, nshared);
2902 perm, shared, nperm, nshared);
2905 perm, shared, nperm, nshared);
6049 * backing file that is shared by @in_bs then backing clusters may be omitted