Lines Matching refs:inherit
2897 u64 objectid, struct btrfs_qgroup_inherit *inherit) in btrfs_qgroup_inherit() argument
2939 if (inherit) { in btrfs_qgroup_inherit()
2940 i_qgroups = (u64 *)(inherit + 1); in btrfs_qgroup_inherit()
2941 nums = inherit->num_qgroups + 2 * inherit->num_ref_copies + in btrfs_qgroup_inherit()
2942 2 * inherit->num_excl_copies; in btrfs_qgroup_inherit()
2968 if (inherit) { in btrfs_qgroup_inherit()
2969 i_qgroups = (u64 *)(inherit + 1); in btrfs_qgroup_inherit()
2970 for (i = 0; i < inherit->num_qgroups; ++i, ++i_qgroups) { in btrfs_qgroup_inherit()
2994 if (inherit && inherit->flags & BTRFS_QGROUP_INHERIT_SET_LIMITS) { in btrfs_qgroup_inherit()
2995 dstgroup->lim_flags = inherit->lim.flags; in btrfs_qgroup_inherit()
2996 dstgroup->max_rfer = inherit->lim.max_rfer; in btrfs_qgroup_inherit()
2997 dstgroup->max_excl = inherit->lim.max_excl; in btrfs_qgroup_inherit()
2998 dstgroup->rsv_rfer = inherit->lim.rsv_rfer; in btrfs_qgroup_inherit()
2999 dstgroup->rsv_excl = inherit->lim.rsv_excl; in btrfs_qgroup_inherit()
3033 if (!inherit) in btrfs_qgroup_inherit()
3036 i_qgroups = (u64 *)(inherit + 1); in btrfs_qgroup_inherit()
3037 for (i = 0; i < inherit->num_qgroups; ++i) { in btrfs_qgroup_inherit()
3053 for (i = 0; i < inherit->num_ref_copies; ++i, i_qgroups += 2) { in btrfs_qgroup_inherit()
3074 for (i = 0; i < inherit->num_excl_copies; ++i, i_qgroups += 2) { in btrfs_qgroup_inherit()