Lines Matching refs:cred
124 ffs_alloc(ip, lbn, bpref, size, cred, bnp)
128 kauth_cred_t cred;
143 if (!IS_VALID_CRED(cred))
148 if (suser(cred, NULL) && freespace(fs, fs->fs_minfree) <= 0)
152 if (error = chkdq(ip, (int64_t)size, cred, 0))
173 (void) chkdq(ip, (int64_t)-size, cred, FORCE);
176 ffs_fserr(fs, kauth_cred_getuid(cred), "file system full");
189 ffs_realloccg(ip, lbprev, bpref, osize, nsize, cred, bpp)
194 kauth_cred_t cred;
213 if (!IS_VALID_CRED(cred))
216 if (suser(cred, NULL) != 0 && freespace(fs, fs->fs_minfree) <= 0)
233 if (error = chkdq(ip, (int64_t)(nsize - osize), cred, 0))
322 (void) chkdq(ip, (int64_t)-(nsize - osize), cred, FORCE);
329 ffs_fserr(fs, kauth_cred_getuid(cred), "file system full");
373 kauth_cred_t cred,
439 ffs_fserr(fs, kauth_cred_getuid(cred), "out of inodes");