Lines Matching refs:transfer_to
1220 struct dquot *transfer_to[MAXQUOTAS];
1231 transfer_to[cnt] = transfer_from[cnt] = NODQUOT;
1240 /* First build the transfer_to list - here we can block on
1248 transfer_to[cnt] = dqget(inode->i_sb, iattr->ia_uid, cnt);
1253 transfer_to[cnt] = dqget(inode->i_sb, iattr->ia_gid, cnt);
1261 if (transfer_to[cnt] == NODQUOT)
1264 if (check_idq(transfer_to[cnt], 1, warntype+cnt) == NO_QUOTA ||
1265 check_bdq(transfer_to[cnt], space, 0, warntype+cnt) == NO_QUOTA)
1270 * Finally perform the needed transfer from transfer_from to transfer_to
1276 if (transfer_to[cnt] == NODQUOT)
1285 dquot_incr_inodes(transfer_to[cnt], 1);
1286 dquot_incr_space(transfer_to[cnt], space);
1288 inode->i_dquot[cnt] = transfer_to[cnt];
1297 if (transfer_to[cnt])
1298 mark_dquot_dirty(transfer_to[cnt]);
1300 flush_warnings(transfer_to, warntype);
1305 if (ret == NO_QUOTA && transfer_to[cnt] != NODQUOT)
1306 dqput(transfer_to[cnt]);