Lines Matching defs:ucred
845 kauth_cred_t ucred;
875 ucred = vfs_context_ucred(ctx);
879 if (vp->v_cred == ucred && (vp->v_authorized_actions & action) == action)
891 kauth_cred_t ucred;
895 ucred = vfs_context_ucred(ctx);
897 if (!IS_VALID_CRED(ucred) || action == 0)
923 if (vp->v_cred != ucred) {
924 kauth_cred_ref(ucred);
929 vp->v_cred = ucred;
983 kauth_cred_t ucred;
994 ucred = vfs_context_ucred(ctx);
1103 if ((dp->v_cred != ucred || !(dp->v_authorized_actions & KAUTH_VNODE_SEARCH)) &&