Searched refs:IS_VALID_CRED (Results 1 – 17 of 17) sorted by relevance
335 if (IS_VALID_CRED(fbp->nb_rcred)) { in nfs_buf_freeup()338 if (IS_VALID_CRED(fbp->nb_wcred)) { in nfs_buf_freeup()920 if (IS_VALID_CRED(bp->nb_rcred)) { in nfs_buf_get()923 if (IS_VALID_CRED(bp->nb_wcred)) { in nfs_buf_get()1608 if (IS_VALID_CRED(cred)) { in nfs_buf_read()1631 if (IS_VALID_CRED(cred)) { in nfs_buf_read()1821 if (IS_VALID_CRED(cred)) { in nfs_buf_read_rpc_finish()1859 if (IS_VALID_CRED(cred)) { in nfs_buf_read_rpc_finish()1896 if (IS_VALID_CRED(cred)) { in nfs_buf_read_rpc_finish()1953 if (IS_VALID_CRED(cred)) { in nfs_buf_read_rpc_finish()[all …]
2872 if (!IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()2882 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()2926 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()2986 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()3020 if (IS_VALID_CRED(nno->no_opt.nxo_cred)) { in nfsrv_free_netopt()3071 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_free_addrlist()3112 if (IS_VALID_CRED(nno->no_opt.nxo_cred)) { in nfsrv_free_addrlist()3205 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()3551 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()3564 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()
1304 if (IS_VALID_CRED(nd->nd_cr)) { in nfssvc_nfsd()1461 if (IS_VALID_CRED(nd->nd_cr)) { in nfssvc_nfsd()1485 if (IS_VALID_CRED(nd->nd_cr)) { in nfssvc_nfsd()2027 if (IS_VALID_CRED(nwp->nd_cr)) { in nfsrv_slpfree()
248 cred = IS_VALID_CRED(nmp->nm_mcred) ? nmp->nm_mcred : vfs_context_ucred(vfs_context_kernel()); in nfs4_setclientid()405 cred = IS_VALID_CRED(nmp->nm_mcred) ? nmp->nm_mcred : vfs_context_ucred(vfs_context_kernel()); in nfs4_renew()
1838 if (IS_VALID_CRED(nmp->nm_mcred)) { in nfs_connect()4105 if (IS_VALID_CRED(cred)) { in nfs_request_create()4222 if (IS_VALID_CRED(req->r_cred)) { in nfs_request_destroy()7090 if (IS_VALID_CRED(nd->nd_cr)) { in nfsrv_getreq()
1968 } else if (nmp->nm_principal && IS_VALID_CRED(nmp->nm_mcred) && req->r_cred == nmp->nm_mcred) { in nfs_gss_clnt_gssd_upcall()2465 if (IS_VALID_CRED(cp->gss_clnt_cred)) { in nfs_gss_clnt_ctx_destroy()
3003 if (IS_VALID_CRED(nmp->nm_mcred)) { in mountnfs()4646 if (IS_VALID_CRED(nmp->nm_mcred)) { in nfs_mount_cleanup()4967 if (!IS_VALID_CRED(cred)) { in nfs4_getquota()
2166 if (!IS_VALID_CRED(bp->nb_wcred)) { in nfs_vnop_setattr()3291 if (!IS_VALID_CRED(bp->nb_wcred)) { in nfs_vnop_write()7949 if (!IS_VALID_CRED(cred)) { in nfs_vnop_pagein()8418 if (!IS_VALID_CRED(cred)) { in nfs_vnop_pageout()
160 #define IS_VALID_CRED(_cr) ((_cr) != NOCRED && (_cr) != FSCRED) macro
995 KASSERT(IS_VALID_CRED(cred), in audit_session_ref()1016 KASSERT(IS_VALID_CRED(cred), in audit_session_unref()1033 KASSERT(IS_VALID_CRED(cred), in audit_session_procnew()1051 KASSERT(IS_VALID_CRED(cred), in audit_session_procexit()1250 if (!IS_VALID_CRED(cred)) { in audit_session_self()1329 if (!IS_VALID_CRED(cred)) { in audit_session_port()
82 # define NULLCRED_CHECK(_c) do {if (!IS_VALID_CRED(_c)) panic("%s: bad credential %p", __FUNCTI…4785 if (IS_VALID_CRED(new_cred)) {4791 if (IS_VALID_CRED(old_cred)) {4812 if (IS_VALID_CRED(old_cred)) {
1050 if (IS_VALID_CRED(uip->ui_ucred)) { in ubc_info_free()1376 if (!IS_VALID_CRED(uip->ui_ucred)) { in ubc_setthreadcred()1436 if (!IS_VALID_CRED(credp)) { in ubc_setcred()
195 if (IS_VALID_CRED(cred)) { in fg_free()
302 if (IS_VALID_CRED(bp->b_rcred)) { in buf_release_credentials()305 if (IS_VALID_CRED(bp->b_wcred)) { in buf_release_credentials()2239 if (IS_VALID_CRED(cred) && !IS_VALID_CRED(bp->b_rcred)) { in bio_doread()
1353 IS_VALID_CRED(vp->v_cred)) { in vnode_uncache_authorized_action()1429 if (!IS_VALID_CRED(ucred) || action == 0) { in vnode_cache_authorized_action()
1460 if (IS_VALID_CRED(ctx->vc_ucred)) { in vfs_context_create()1489 if (IS_VALID_CRED(ctx->vc_ucred)) { in vfs_context_rele()
6225 if (IS_VALID_CRED(context.vc_ucred)) { in access_extended()