Searched refs:transfer_to (Results 1 – 2 of 2) sorted by relevance
/fs/quota/ |
D | dquot.c | 1771 int __dquot_transfer(struct inode *inode, struct dquot **transfer_to) in __dquot_transfer() argument 1806 if (!transfer_to[cnt]) in __dquot_transfer() 1813 ret = check_idq(transfer_to[cnt], 1, &warn_to[cnt]); in __dquot_transfer() 1816 ret = check_bdq(transfer_to[cnt], space, 0, &warn_to[cnt]); in __dquot_transfer() 1844 dquot_incr_inodes(transfer_to[cnt], 1); in __dquot_transfer() 1845 dquot_incr_space(transfer_to[cnt], cur_space); in __dquot_transfer() 1846 dquot_resv_space(transfer_to[cnt], rsv_space); in __dquot_transfer() 1848 inode->i_dquot[cnt] = transfer_to[cnt]; in __dquot_transfer() 1854 mark_all_dquot_dirty(transfer_to); in __dquot_transfer() 1861 transfer_to[cnt] = transfer_from[cnt]; in __dquot_transfer() [all …]
|
/fs/ocfs2/ |
D | file.c | 1112 struct dquot *transfer_to[MAXQUOTAS] = { }; in ocfs2_setattr() local 1187 transfer_to[USRQUOTA] = dqget(sb, attr->ia_uid, in ocfs2_setattr() 1189 if (!transfer_to[USRQUOTA]) { in ocfs2_setattr() 1197 transfer_to[GRPQUOTA] = dqget(sb, attr->ia_gid, in ocfs2_setattr() 1199 if (!transfer_to[GRPQUOTA]) { in ocfs2_setattr() 1211 status = __dquot_transfer(inode, transfer_to); in ocfs2_setattr() 1260 dqput(transfer_to[qtype]); in ocfs2_setattr()
|