Lines Matching defs:cred
276 kauth_cred_t cred = NULL;
474 cred = vfs_context_ucred(ap->a_context);
479 cred, 0);
491 if (cred && suser(cred, NULL) != 0)
760 cred = vfs_context_ucred(ap->a_context);
761 if (resid > uio_resid(uio) && cred && suser(cred, NULL)) {
1286 kauth_cred_t cred = vfs_context_ucred(context);
1432 if ((!parents) && (!suser(cred, NULL))) {
1481 cnattr.ca_mode, hfsmp->hfs_mp, cred, p);
1502 skip_cp, p, cred, context,bitmap, map_size, parents, num_parents);
1576 kauth_cred_t cred = vfs_context_ucred(context);
1628 if (suser(cred, NULL) &&
1629 kauth_cred_getuid(cred) != vfsp->f_owner) {
1663 if (suser(cred, NULL) &&
1664 kauth_cred_getuid(cred) != vfsp->f_owner) {
1689 if (suser(cred, NULL) &&
1690 kauth_cred_getuid(cred) != vfsp->f_owner) {
1709 if (suser(cred, NULL) &&
1710 kauth_cred_getuid(cred) != vfsp->f_owner) {
1740 if (suser(cred, NULL) &&
1741 kauth_cred_getuid(cred) != vfsp->f_owner) {
1789 if (suser(cred, NULL) &&
1790 kauth_cred_getuid(cred) != vfsp->f_owner) {
1868 if (suser(cred, NULL) &&
1869 kauth_cred_getuid(cred) != vfsp->f_owner) {
1900 if (suser(cred, NULL) &&
1901 kauth_cred_getuid(cred) != vfsp->f_owner) {
1944 if (kauth_cred_getuid(cred) != vfsp->f_owner &&
1945 !kauth_cred_issuser(cred))
1984 if (kauth_cred_getuid(cred) != vfsp->f_owner &&
1985 !kauth_cred_issuser(cred))
2266 if (!kauth_cred_issuser(cred) && (kauth_cred_getuid(cred) != vfs_statfs(HFSTOVFS(hfsmp))->f_owner))
2843 kauth_cred_t cred = vfs_context_ucred(context);
2896 cred, 0);
2911 if (cred && suser(cred, NULL) != 0)
3455 kauth_cred_t cred = vfs_context_ucred(ap->a_context);
3497 if (cred && suser(cred, NULL) != 0)
3528 cred, 0);
4373 hfs_relocate(struct vnode *vp, u_int32_t blockHint, kauth_cred_t cred,
4557 retval = hfs_clonelink(vp, blksize, cred, p);
4559 retval = hfs_clonesysfile(vp, headblks, datablks, blksize, cred, p);
4644 hfs_clonelink(struct vnode *vp, int blksize, kauth_cred_t cred, __unused struct proc *p)
4651 error = (int)buf_meta_bread(vp, (daddr64_t)0, blksize, cred, &head_bp);
4776 kauth_cred_t cred, struct proc *p)
4809 error = (int)buf_meta_bread(vp, blk, iosize, cred, &bp);