Searched refs:IS_VALID_CRED (Results 1 – 12 of 12) sorted by relevance
215 #define IS_VALID_CRED(_cr) ((_cr) != NOCRED && (_cr) != FSCRED) macro
987 KASSERT(IS_VALID_CRED(cred), in audit_session_ref()1008 KASSERT(IS_VALID_CRED(cred), in audit_session_unref()1025 KASSERT(IS_VALID_CRED(cred), in audit_session_procnew()1043 KASSERT(IS_VALID_CRED(cred), in audit_session_procexit()1233 if (!IS_VALID_CRED(cred)) { in audit_session_self()1312 if (!IS_VALID_CRED(cred)) { in audit_session_port()
1377 if (!IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()1387 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()1431 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()1491 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()1525 if (IS_VALID_CRED(nno->no_opt.nxo_cred)) { in nfsrv_free_netopt()1576 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_free_addrlist()1617 if (IS_VALID_CRED(nno->no_opt.nxo_cred)) { in nfsrv_free_addrlist()1728 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()2065 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()2078 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()
1050 if (IS_VALID_CRED(nd->nd_cr)) { in nfssvc_nfsd()1207 if (IS_VALID_CRED(nd->nd_cr)) { in nfssvc_nfsd()1231 if (IS_VALID_CRED(nd->nd_cr)) { in nfssvc_nfsd()1776 if (IS_VALID_CRED(nwp->nd_cr)) { in nfsrv_slpfree()
866 if (IS_VALID_CRED(nd->nd_cr)) { in nfsrv_getreq()
1236 if (IS_VALID_CRED(tcred)) { in vnode_update_identity()1405 if (IS_VALID_CRED(target_vp_cred)) { in vnode_setasfirmlink()1410 if (IS_VALID_CRED(old_target_vp_cred)) { in vnode_setasfirmlink()1537 IS_VALID_CRED(vp->v_cred)) { in vnode_uncache_authorized_action()1546 if (IS_VALID_CRED(tcred)) { in vnode_uncache_authorized_action()1615 if (!IS_VALID_CRED(ucred) || action == 0) { in vnode_cache_authorized_action()1670 if (IS_VALID_CRED(tcred)) { in vnode_cache_authorized_action()3314 if (IS_VALID_CRED(tcred)) { in cache_purge()
318 if (IS_VALID_CRED(bp->b_rcred)) { in buf_release_credentials()321 if (IS_VALID_CRED(bp->b_wcred)) { in buf_release_credentials()2429 if (IS_VALID_CRED(cred) && !IS_VALID_CRED(bp->b_rcred)) { in bio_doread()
1626 if (IS_VALID_CRED(ctx->vc_ucred)) { in vfs_context_create()1697 if (IS_VALID_CRED(ctx->vc_ucred)) { in vfs_context_rele()
7208 if (IS_VALID_CRED(context.vc_ucred)) { in access_extended()
4443 if (IS_VALID_CRED(new_cred)) {4450 if (IS_VALID_CRED(old_cred)) {
1190 if (IS_VALID_CRED(uip->ui_ucred)) { in ubc_info_free()1538 if (!IS_VALID_CRED(uip->ui_ucred)) { in ubc_setcred()
210 if (IS_VALID_CRED(cred)) { in fg_free()