Lines Matching refs:tcred
1118 kauth_cred_t tcred = NULL; in vnode_update_identity() local
1196 tcred = vnode_cred(vp); in vnode_update_identity()
1227 if (IS_VALID_CRED(tcred)) { in vnode_update_identity()
1228 kauth_cred_unref(&tcred); in vnode_update_identity()
1521 kauth_cred_t tcred = NOCRED; in vnode_uncache_authorized_action() local
1532 tcred = vnode_cred(vp); in vnode_uncache_authorized_action()
1537 if (IS_VALID_CRED(tcred)) { in vnode_uncache_authorized_action()
1538 kauth_cred_unref(&tcred); in vnode_uncache_authorized_action()
1599 kauth_cred_t tcred = NOCRED; in vnode_cache_authorized_action() local
1635 tcred = vnode_cred(vp); in vnode_cache_authorized_action()
1636 if (tcred == ucred) { in vnode_cache_authorized_action()
1637 tcred = NOCRED; in vnode_cache_authorized_action()
1661 if (IS_VALID_CRED(tcred)) { in vnode_cache_authorized_action()
1662 kauth_cred_unref(&tcred); in vnode_cache_authorized_action()
3242 kauth_cred_t tcred = NULL; in cache_purge() local
3253 cache_purge_locked(vp, &tcred); in cache_purge()
3257 if (IS_VALID_CRED(tcred)) { in cache_purge()
3258 kauth_cred_unref(&tcred); in cache_purge()