Lines Matching refs:transfer_to
2008 int __dquot_transfer(struct inode *inode, struct dquot **transfer_to) in __dquot_transfer() argument
2053 if (!transfer_to[cnt]) in __dquot_transfer()
2060 ret = dquot_add_inodes(transfer_to[cnt], inode_usage, in __dquot_transfer()
2064 ret = dquot_add_space(transfer_to[cnt], cur_space, rsv_space, in __dquot_transfer()
2067 spin_lock(&transfer_to[cnt]->dq_dqb_lock); in __dquot_transfer()
2068 dquot_decr_inodes(transfer_to[cnt], inode_usage); in __dquot_transfer()
2069 spin_unlock(&transfer_to[cnt]->dq_dqb_lock); in __dquot_transfer()
2098 i_dquot(inode)[cnt] = transfer_to[cnt]; in __dquot_transfer()
2104 mark_all_dquot_dirty(transfer_to); in __dquot_transfer()
2111 transfer_to[cnt] = transfer_from[cnt]; in __dquot_transfer()
2118 spin_lock(&transfer_to[cnt]->dq_dqb_lock); in __dquot_transfer()
2119 dquot_decr_inodes(transfer_to[cnt], inode_usage); in __dquot_transfer()
2120 dquot_decr_space(transfer_to[cnt], cur_space); in __dquot_transfer()
2121 dquot_free_reserved_space(transfer_to[cnt], rsv_space); in __dquot_transfer()
2122 spin_unlock(&transfer_to[cnt]->dq_dqb_lock); in __dquot_transfer()
2136 struct dquot *transfer_to[MAXQUOTAS] = {}; in dquot_transfer() local
2153 transfer_to[USRQUOTA] = dquot; in dquot_transfer()
2164 transfer_to[GRPQUOTA] = dquot; in dquot_transfer()
2166 ret = __dquot_transfer(inode, transfer_to); in dquot_transfer()
2168 dqput_all(transfer_to); in dquot_transfer()