Lines Matching refs:qgroup_limit
644 struct btrfs_qgroup_limit_item *qgroup_limit; in add_qgroup_item() local
685 sizeof(*qgroup_limit)); in add_qgroup_item()
690 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item()
692 btrfs_set_qgroup_limit_flags(leaf, qgroup_limit, 0); in add_qgroup_item()
693 btrfs_set_qgroup_limit_max_rfer(leaf, qgroup_limit, 0); in add_qgroup_item()
694 btrfs_set_qgroup_limit_max_excl(leaf, qgroup_limit, 0); in add_qgroup_item()
695 btrfs_set_qgroup_limit_rsv_rfer(leaf, qgroup_limit, 0); in add_qgroup_item()
696 btrfs_set_qgroup_limit_rsv_excl(leaf, qgroup_limit, 0); in add_qgroup_item()
759 struct btrfs_qgroup_limit_item *qgroup_limit; in update_qgroup_limit_item() local
780 qgroup_limit = btrfs_item_ptr(l, slot, struct btrfs_qgroup_limit_item); in update_qgroup_limit_item()
781 btrfs_set_qgroup_limit_flags(l, qgroup_limit, qgroup->lim_flags); in update_qgroup_limit_item()
782 btrfs_set_qgroup_limit_max_rfer(l, qgroup_limit, qgroup->max_rfer); in update_qgroup_limit_item()
783 btrfs_set_qgroup_limit_max_excl(l, qgroup_limit, qgroup->max_excl); in update_qgroup_limit_item()
784 btrfs_set_qgroup_limit_rsv_rfer(l, qgroup_limit, qgroup->rsv_rfer); in update_qgroup_limit_item()
785 btrfs_set_qgroup_limit_rsv_excl(l, qgroup_limit, qgroup->rsv_excl); in update_qgroup_limit_item()