Lines Matching defs:cred
1291 kauth_cred_t cred;
1314 cred = p ? vfs_context_ucred(context) : NOCRED;
1439 phys_blksize, cred, &bp))) {
1691 phys_blksize, cred, &bp);
1758 if ((retval = hfs_early_journal_init(hfsmp, vhp, args, embeddedOffset, mdb_offset, mdbp, cred)) == 0) {
1791 phys_blksize, cred, &bp);
1836 retval = hfs_MountHFSPlusVolume(hfsmp, vhp, embeddedOffset, disksize, p, args, cred);
1871 if (hfs_early_journal_init(hfsmp, vhp, args, embeddedOffset, mdb_offset, mdbp, cred) == 0) {
1891 phys_blksize, cred, &bp);
1925 retval = hfs_MountHFSPlusVolume(hfsmp, vhp, embeddedOffset, disksize, p, args, cred);
2531 kauth_cred_t cred;
2600 args.cred = kauth_cred_get();
3959 kauth_cred_t cred = vfs_context_ucred(context);
3999 if (suser(cred, NULL)) {
4004 error = hfs_owner_rights(hfsmp, VTOC(vp)->c_uid, cred, p, 0);
4006 error = hfs_write_access(vp, cred, p, false);
7657 kauth_cred_t cred = vfs_context_ucred(context);
7663 if (!kauth_cred_issuser(cred) && (kauth_cred_getuid(cred) != vfs_statfs(mp)->f_owner))