Lines Matching refs:v_cred
635 tcred = vp->v_cred;
636 vp->v_cred = NOCRED;
808 * following fields in the vnode: v_cred_timestamp, v_cred, v_authorized_actions
809 * we use this lock so that we can look at the v_cred and v_authorized_actions
826 IS_VALID_CRED(vp->v_cred)) {
830 tcred = vp->v_cred;
831 vp->v_cred = NOCRED;
879 if (vp->v_cred == ucred && (vp->v_authorized_actions & action) == action)
923 if (vp->v_cred != ucred) {
928 tcred = vp->v_cred;
929 vp->v_cred = ucred;
1103 if ((dp->v_cred != ucred || !(dp->v_authorized_actions & KAUTH_VNODE_SEARCH)) &&
1887 (vp->v_cred == NOCRED) &&
1905 tcred = vp->v_cred;
1906 vp->v_cred = NOCRED;