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 …]
2874 if (!IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()2884 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()2928 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()2988 if (IS_VALID_CRED(cred)) { in nfsrv_hang_addrlist()3022 if (IS_VALID_CRED(nno->no_opt.nxo_cred)) { in nfsrv_free_netopt()3073 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_free_addrlist()3114 if (IS_VALID_CRED(nno->no_opt.nxo_cred)) { in nfsrv_free_addrlist()3207 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()3552 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) { in nfsrv_export()3565 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()
1836 if (IS_VALID_CRED(nmp->nm_mcred)) { in nfs_connect()4103 if (IS_VALID_CRED(cred)) { in nfs_request_create()4220 if (IS_VALID_CRED(req->r_cred)) { in nfs_request_destroy()7066 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()2463 if (IS_VALID_CRED(cp->gss_clnt_cred)) { in nfs_gss_clnt_ctx_destroy()
3008 if (IS_VALID_CRED(nmp->nm_mcred)) { in mountnfs()4654 if (IS_VALID_CRED(nmp->nm_mcred)) { in nfs_mount_cleanup()4968 if (!IS_VALID_CRED(cred)) { in nfs4_getquota()
2179 if (!IS_VALID_CRED(bp->nb_wcred)) { in nfs_vnop_setattr()3304 if (!IS_VALID_CRED(bp->nb_wcred)) { in nfs_vnop_write()7960 if (!IS_VALID_CRED(cred)) { in nfs_vnop_pagein()8429 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…4815 if (IS_VALID_CRED(new_cred)) {4821 if (IS_VALID_CRED(old_cred)) {4842 if (IS_VALID_CRED(old_cred)) {
1051 if (IS_VALID_CRED(uip->ui_ucred)) { in ubc_info_free()1377 if (!IS_VALID_CRED(uip->ui_ucred)) { in ubc_setthreadcred()1437 if (!IS_VALID_CRED(credp)) { in ubc_setcred()
197 if (IS_VALID_CRED(cred)) { in fg_free()
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()
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()
1460 if (IS_VALID_CRED(ctx->vc_ucred)) { in vfs_context_create()1489 if (IS_VALID_CRED(ctx->vc_ucred)) { in vfs_context_rele()
6221 if (IS_VALID_CRED(context.vc_ucred)) { in access_extended()