Lines Matching refs:change
148 hfs_chkdq(cp, change, cred, flags)
150 int64_t change;
164 if (change == 0)
166 if (change < 0) {
172 ncurbytes = dq->dq_curbytes + change;
195 error = hfs_chkdqchg(cp, change, cred, i);
207 dq->dq_curbytes += change;
217 * Check for a valid change to a users allocation.
221 hfs_chkdqchg(cp, change, cred, type)
223 int64_t change;
233 ncurbytes = dq->dq_curbytes + change;
294 hfs_chkiq(cp, change, cred, flags)
296 int32_t change;
309 if (change == 0)
311 if (change < 0) {
317 ncurinodes = dq->dq_curinodes + change;
340 error = hfs_chkiqchg(cp, change, cred, i);
352 dq->dq_curinodes += change;
363 * Check to see if a change to a user's allocation should be permitted or not.
367 int hfs_isiqchg_allowed(dq, hfsmp, change, cred, type, uid)
370 int32_t change;
379 ncurinodes = dq->dq_curinodes + change;
422 * Check for a valid change to a users allocation.
426 hfs_chkiqchg(cp, change, cred, type)
428 int32_t change;
438 ncurinodes = dq->dq_curinodes + change;
497 * On filesystems with quotas enabled, it is an error for a file to change
720 * will be allowed, the change is made. Otherwise, it reports an error back out so the
725 int hfs_quotacheck(hfsmp, change, uid, gid, cred)
727 int change;
761 error = hfs_isiqchg_allowed(dq, hfsmp, change, cred, i, id);
769 dq->dq_curinodes += change;