| /trueos/sys/fs/nfsserver/ |
| HD | nfs_nfsdkrpc.c | 115 nfssvc_program(struct svc_req *rqst, SVCXPRT *xprt) in nfssvc_program() argument 122 if (rqst->rq_vers == NFS_VER2) { in nfssvc_program() 123 if (rqst->rq_proc > NFSV2PROC_STATFS || in nfssvc_program() 124 newnfs_nfsv3_procid[rqst->rq_proc] == NFSPROC_NOOP) { in nfssvc_program() 125 svcerr_noproc(rqst); in nfssvc_program() 126 svc_freereq(rqst); in nfssvc_program() 129 nd.nd_procnum = newnfs_nfsv3_procid[rqst->rq_proc]; in nfssvc_program() 131 } else if (rqst->rq_vers == NFS_VER3) { in nfssvc_program() 132 if (rqst->rq_proc >= NFS_V3NPROCS) { in nfssvc_program() 133 svcerr_noproc(rqst); in nfssvc_program() [all …]
|
| /trueos/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 …]
|
| /trueos/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()
|
| /trueos/lib/libc/rpc/ |
| HD | svc_auth.c | 98 _authenticate(rqst, msg) in _authenticate() argument 99 struct svc_req *rqst; in _authenticate() 108 rqst->rq_cred = msg->rm_call.cb_cred; 109 SVC_AUTH(rqst->rq_xprt).svc_ah_ops = &svc_auth_null_ops; 110 SVC_AUTH(rqst->rq_xprt).svc_ah_private = NULL; 111 rqst->rq_xprt->xp_verf.oa_flavor = _null_auth.oa_flavor; 112 rqst->rq_xprt->xp_verf.oa_length = 0; 113 cred_flavor = rqst->rq_cred.oa_flavor; 116 dummy = _svcauth_null(rqst, msg); 119 dummy = _svcauth_unix(rqst, msg); [all …]
|
| HD | svc_auth_unix.c | 59 _svcauth_unix(rqst, msg) in _svcauth_unix() argument 60 struct svc_req *rqst; in _svcauth_unix() 76 assert(rqst != NULL); 79 area = (struct area *) rqst->rq_clntcred; 127 rqst->rq_xprt->xp_verf.oa_flavor = 129 rqst->rq_xprt->xp_verf.oa_base = 131 rqst->rq_xprt->xp_verf.oa_length = 134 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_NULL; 135 rqst->rq_xprt->xp_verf.oa_length = 0; 150 _svcauth_short(rqst, msg) in _svcauth_short() argument [all …]
|
| HD | svc_auth_des.c | 112 _svcauth_des(rqst, msg) in _svcauth_des() argument 113 struct svc_req *rqst; in _svcauth_des() 138 area = (struct area *)rqst->rq_clntcred; 313 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_DES; 314 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; 315 rqst->rq_xprt->xp_verf.oa_length =
|
| /trueos/sys/nfsserver/ |
| HD | nfs_srvkrpc.c | 253 nfssvc_program(struct svc_req *rqst, SVCXPRT *xprt) in nfssvc_program() argument 263 if (rqst->rq_vers == NFS_VER2) { in nfssvc_program() 264 if (rqst->rq_proc > NFSV2PROC_STATFS) { in nfssvc_program() 265 svcerr_noproc(rqst); in nfssvc_program() 266 svc_freereq(rqst); in nfssvc_program() 269 procnum = nfsrv_nfsv3_procid[rqst->rq_proc]; in nfssvc_program() 272 if (rqst->rq_proc >= NFS_NPROCS) { in nfssvc_program() 273 svcerr_noproc(rqst); in nfssvc_program() 274 svc_freereq(rqst); in nfssvc_program() 277 procnum = rqst->rq_proc; in nfssvc_program() [all …]
|
| /trueos/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 …]
|
| /trueos/sys/rpc/rpcsec_gss/ |
| HD | svc_rpcsec_gss.c | 818 struct svc_req *rqst, in svc_rpc_gss_accept_sec_context() argument 833 if (!svc_getargs(rqst, in svc_rpc_gss_accept_sec_context() 847 if (sname->sn_program == rqst->rq_prog in svc_rpc_gss_accept_sec_context() 848 && sname->sn_version == rqst->rq_vers) { in svc_rpc_gss_accept_sec_context() 1046 struct svc_req *rqst, u_int seq) in svc_rpc_gss_nextverf() argument 1071 rqst->rq_verf.oa_flavor = RPCSEC_GSS; in svc_rpc_gss_nextverf() 1072 rqst->rq_verf.oa_length = mic.length; in svc_rpc_gss_nextverf() 1073 bcopy(mic.value, rqst->rq_verf.oa_base, mic.length); in svc_rpc_gss_nextverf() 1081 svc_rpc_gss_callback(struct svc_rpc_gss_client *client, struct svc_req *rqst) in svc_rpc_gss_callback() argument 1094 if (scb->cb_callback.program == rqst->rq_prog in svc_rpc_gss_callback() [all …]
|
| /trueos/sys/dev/isp/ |
| HD | isp.c | 8025 uint16_t bit, rqst, junk; in isp_rdnvram_word() local 8037 rqst = (ISP_NVRAM_READ << 8) | wo; in isp_rdnvram_word() 8041 rqst = (ISP_NVRAM_READ << 8) | wo; in isp_rdnvram_word() 8045 rqst = (ISP_NVRAM_READ << 6) | wo; in isp_rdnvram_word() 8053 if ((rqst >> i) & 1) { in isp_rdnvram_word()
|