Lines Matching refs:change
64 lfs_chkdq1(struct inode *ip, int64_t change, kauth_cred_t cred, int flags)
72 if (change == 0)
74 if (change < 0) {
79 ncurblocks = dq->dq_curblocks + change;
98 error = chkdqchg(ip, change, cred, i);
108 dq->dq_curblocks += change;
116 * Check for a valid change to a users allocation.
120 chkdqchg(struct inode *ip, int64_t change, kauth_cred_t cred, int type)
123 long ncurblocks = dq->dq_curblocks + change;
172 lfs_chkiq1(struct inode *ip, int32_t change, kauth_cred_t cred, int flags)
180 if (change == 0)
182 if (change < 0) {
187 ncurinodes = dq->dq_curinodes + change;
205 error = chkiqchg(ip, change, cred, i);
215 dq->dq_curinodes += change;
223 * Check for a valid change to a users allocation.
227 chkiqchg(struct inode *ip, int32_t change, kauth_cred_t cred, int type)
230 long ncurinodes = dq->dq_curinodes + change;