| /NextBSD/sys/fs/nfsserver/ |
| HD | nfs_nfsdkrpc.c | 112 nfssvc_program(struct svc_req *rqst, SVCXPRT *xprt) in nfssvc_program() argument 119 if (rqst->rq_vers == NFS_VER2) { in nfssvc_program() 120 if (rqst->rq_proc > NFSV2PROC_STATFS || in nfssvc_program() 121 newnfs_nfsv3_procid[rqst->rq_proc] == NFSPROC_NOOP) { in nfssvc_program() 122 svcerr_noproc(rqst); in nfssvc_program() 123 svc_freereq(rqst); in nfssvc_program() 126 nd.nd_procnum = newnfs_nfsv3_procid[rqst->rq_proc]; in nfssvc_program() 128 } else if (rqst->rq_vers == NFS_VER3) { in nfssvc_program() 129 if (rqst->rq_proc >= NFS_V3NPROCS) { in nfssvc_program() 130 svcerr_noproc(rqst); in nfssvc_program() [all …]
|
| /NextBSD/sys/fs/nfsclient/ |
| HD | nfs_clkrpc.c | 64 nfscb_program(struct svc_req *rqst, SVCXPRT *xprt) in nfscb_program() argument 70 if (rqst->rq_proc != NFSPROC_NULL && in nfscb_program() 71 rqst->rq_proc != NFSV4PROC_CBCOMPOUND) { in nfscb_program() 72 svcerr_noproc(rqst); in nfscb_program() 73 svc_freereq(rqst); in nfscb_program() 76 nd.nd_procnum = rqst->rq_proc; in nfscb_program() 84 nd.nd_mrep = rqst->rq_args; in nfscb_program() 85 rqst->rq_args = NULL; in nfscb_program() 89 nd.nd_nam = svc_getrpccaller(rqst); in nfscb_program() 90 nd.nd_nam2 = rqst->rq_addr; in nfscb_program() [all …]
|
| /NextBSD/sys/rpc/ |
| HD | svc_auth.c | 81 _authenticate(struct svc_req *rqst, struct rpc_msg *msg) in _authenticate() argument 86 rqst->rq_cred = msg->rm_call.cb_cred; in _authenticate() 87 rqst->rq_auth.svc_ah_ops = &svc_auth_null_ops; in _authenticate() 88 rqst->rq_auth.svc_ah_private = NULL; in _authenticate() 89 cred_flavor = rqst->rq_cred.oa_flavor; in _authenticate() 92 dummy = _svcauth_null(rqst, msg); in _authenticate() 95 dummy = _svcauth_unix(rqst, msg); in _authenticate() 98 dummy = _svcauth_short(rqst, msg); in _authenticate() 103 dummy = _svcauth_rpcsec_gss(rqst, msg); in _authenticate() 144 _svcauth_null(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_null() argument [all …]
|
| HD | svc_auth_unix.c | 64 _svcauth_unix(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_unix() argument 75 xcr = rqst->rq_clntcred; in _svcauth_unix() 122 rqst->rq_verf = _null_auth; in _svcauth_unix() 137 _svcauth_short(rqst, msg) in _svcauth_short() argument 138 struct svc_req *rqst; in _svcauth_short()
|
| /NextBSD/lib/libc/rpc/ |
| HD | svc_auth.c | 98 _authenticate(struct svc_req *rqst, struct rpc_msg *msg) in _authenticate() argument 106 rqst->rq_cred = msg->rm_call.cb_cred; in _authenticate() 107 SVC_AUTH(rqst->rq_xprt).svc_ah_ops = &svc_auth_null_ops; in _authenticate() 108 SVC_AUTH(rqst->rq_xprt).svc_ah_private = NULL; in _authenticate() 109 rqst->rq_xprt->xp_verf.oa_flavor = _null_auth.oa_flavor; in _authenticate() 110 rqst->rq_xprt->xp_verf.oa_length = 0; in _authenticate() 111 cred_flavor = rqst->rq_cred.oa_flavor; in _authenticate() 114 dummy = _svcauth_null(rqst, msg); in _authenticate() 117 dummy = _svcauth_unix(rqst, msg); in _authenticate() 120 dummy = _svcauth_short(rqst, msg); in _authenticate() [all …]
|
| HD | svc_auth_unix.c | 59 _svcauth_unix(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_unix() argument 74 assert(rqst != NULL); in _svcauth_unix() 77 area = (struct area *) rqst->rq_clntcred; in _svcauth_unix() 125 rqst->rq_xprt->xp_verf.oa_flavor = in _svcauth_unix() 127 rqst->rq_xprt->xp_verf.oa_base = in _svcauth_unix() 129 rqst->rq_xprt->xp_verf.oa_length = in _svcauth_unix() 132 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_NULL; in _svcauth_unix() 133 rqst->rq_xprt->xp_verf.oa_length = 0; in _svcauth_unix() 148 _svcauth_short(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_short() argument
|
| HD | svc_auth_des.c | 112 _svcauth_des(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_des() argument 136 area = (struct area *)rqst->rq_clntcred; in _svcauth_des() 311 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_DES; in _svcauth_des() 312 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in _svcauth_des() 313 rqst->rq_xprt->xp_verf.oa_length = in _svcauth_des()
|
| /NextBSD/lib/librpcsec_gss/ |
| HD | svc_rpcsec_gss.c | 592 struct svc_req *rqst, in svc_rpc_gss_accept_sec_context() argument 607 if (!svc_getargs(rqst->rq_xprt, in svc_rpc_gss_accept_sec_context() 620 if (sname->sn_program == rqst->rq_prog in svc_rpc_gss_accept_sec_context() 621 && sname->sn_version == rqst->rq_vers) { in svc_rpc_gss_accept_sec_context() 802 struct svc_req *rqst, u_int seq) in svc_rpc_gss_nextverf() argument 825 rqst->rq_xprt->xp_verf.oa_flavor = RPCSEC_GSS; in svc_rpc_gss_nextverf() 826 rqst->rq_xprt->xp_verf.oa_base = (caddr_t)client->cl_verf.value; in svc_rpc_gss_nextverf() 827 rqst->rq_xprt->xp_verf.oa_length = (u_int)client->cl_verf.length; in svc_rpc_gss_nextverf() 833 svc_rpc_gss_callback(struct svc_rpc_gss_client *client, struct svc_req *rqst) in svc_rpc_gss_callback() argument 846 if (scb->cb_callback.program == rqst->rq_prog in svc_rpc_gss_callback() [all …]
|
| /NextBSD/sys/rpc/rpcsec_gss/ |
| HD | svc_rpcsec_gss.c | 815 struct svc_req *rqst, in svc_rpc_gss_accept_sec_context() argument 830 if (!svc_getargs(rqst, in svc_rpc_gss_accept_sec_context() 844 if (sname->sn_program == rqst->rq_prog in svc_rpc_gss_accept_sec_context() 845 && sname->sn_version == rqst->rq_vers) { in svc_rpc_gss_accept_sec_context() 1043 struct svc_req *rqst, u_int seq) in svc_rpc_gss_nextverf() argument 1068 rqst->rq_verf.oa_flavor = RPCSEC_GSS; in svc_rpc_gss_nextverf() 1069 rqst->rq_verf.oa_length = mic.length; in svc_rpc_gss_nextverf() 1070 bcopy(mic.value, rqst->rq_verf.oa_base, mic.length); in svc_rpc_gss_nextverf() 1078 svc_rpc_gss_callback(struct svc_rpc_gss_client *client, struct svc_req *rqst) in svc_rpc_gss_callback() argument 1091 if (scb->cb_callback.program == rqst->rq_prog in svc_rpc_gss_callback() [all …]
|
| /NextBSD/sys/dev/isp/ |
| HD | isp.c | 8004 uint16_t bit, rqst, junk; in isp_rdnvram_word() local 8016 rqst = (ISP_NVRAM_READ << 8) | wo; in isp_rdnvram_word() 8020 rqst = (ISP_NVRAM_READ << 8) | wo; in isp_rdnvram_word() 8024 rqst = (ISP_NVRAM_READ << 6) | wo; in isp_rdnvram_word() 8032 if ((rqst >> i) & 1) { in isp_rdnvram_word()
|