Searched refs:IS_VALID_CRED (Results 1 – 12 of 12) sorted by relevance
215 #define IS_VALID_CRED(_cr) ((_cr) != NOCRED && (_cr) != FSCRED) macro
992 KASSERT(IS_VALID_CRED(cred), in audit_session_ref()1013 KASSERT(IS_VALID_CRED(cred), in audit_session_unref()1030 KASSERT(IS_VALID_CRED(cred), in audit_session_procnew()1048 KASSERT(IS_VALID_CRED(cred), in audit_session_procexit()1238 if (!IS_VALID_CRED(cred)) { in audit_session_self()1317 if (!IS_VALID_CRED(cred)) { in audit_session_port()
1376 if (!IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()1386 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()1430 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()1490 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()1524 if (IS_VALID_CRED(nno->no_opt.nxo_cred)) { in nfsrv_free_netopt()1575 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_free_addrlist()1616 if (IS_VALID_CRED(nno->no_opt.nxo_cred)) { in nfsrv_free_addrlist()1727 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()2064 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()2077 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()
1048 if (IS_VALID_CRED(nd->nd_cr)) { in nfssvc_nfsd()1205 if (IS_VALID_CRED(nd->nd_cr)) { in nfssvc_nfsd()1229 if (IS_VALID_CRED(nd->nd_cr)) { in nfssvc_nfsd()1774 if (IS_VALID_CRED(nwp->nd_cr)) { in nfsrv_slpfree()
832 if (IS_VALID_CRED(nd->nd_cr)) { in nfsrv_getreq()
1202 if (IS_VALID_CRED(tcred)) { in vnode_update_identity()1371 if (IS_VALID_CRED(target_vp_cred)) { in vnode_setasfirmlink()1376 if (IS_VALID_CRED(old_target_vp_cred)) { in vnode_setasfirmlink()1503 IS_VALID_CRED(vp->v_cred)) { in vnode_uncache_authorized_action()1512 if (IS_VALID_CRED(tcred)) { in vnode_uncache_authorized_action()1581 if (!IS_VALID_CRED(ucred) || action == 0) { in vnode_cache_authorized_action()1636 if (IS_VALID_CRED(tcred)) { in vnode_cache_authorized_action()3232 if (IS_VALID_CRED(tcred)) { in cache_purge()
302 if (IS_VALID_CRED(bp->b_rcred)) { in buf_release_credentials()305 if (IS_VALID_CRED(bp->b_wcred)) { in buf_release_credentials()2260 if (IS_VALID_CRED(cred) && !IS_VALID_CRED(bp->b_rcred)) { in bio_doread()
1541 if (IS_VALID_CRED(ctx->vc_ucred)) { in vfs_context_create()1610 if (IS_VALID_CRED(ctx->vc_ucred)) { in vfs_context_rele()
6756 if (IS_VALID_CRED(context.vc_ucred)) { in access_extended()
4328 if (IS_VALID_CRED(new_cred)) {4335 if (IS_VALID_CRED(old_cred)) {4357 if (IS_VALID_CRED(old_cred)) {
1208 if (IS_VALID_CRED(uip->ui_ucred)) { in ubc_info_free()1556 if (!IS_VALID_CRED(uip->ui_ucred)) { in ubc_setcred()
189 if (IS_VALID_CRED(cred)) { in fg_free()