Lines Matching defs:rqstp

858 nfsd_acl_init_request(struct svc_rqst *rqstp,
862 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
865 if (likely(nfsd_support_acl_version(rqstp->rq_vers) &&
866 nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST)))
867 return svc_generic_init_request(rqstp, progp, ret);
871 if (nfsd_support_acl_version(rqstp->rq_vers) &&
881 if (nfsd_support_acl_version(rqstp->rq_vers) &&
903 nfsd_init_request(struct svc_rqst *rqstp,
907 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
910 if (likely(nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST)))
911 return svc_generic_init_request(rqstp, progp, ret);
938 struct svc_rqst *rqstp = (struct svc_rqst *) vrqstp;
939 struct svc_xprt *perm_sock = list_entry(rqstp->rq_server->sv_permsocks.next, typeof(struct svc_xprt), xpt_list);
962 rqstp->rq_server->sv_maxconn = nn->max_connections;
964 svc_recv(rqstp);
971 svc_exit_thread(rqstp);
977 * @rqstp: incoming request
983 * %1: Processing complete; send Reply in rqstp->rq_res
985 int nfsd_dispatch(struct svc_rqst *rqstp)
987 const struct svc_procedure *proc = rqstp->rq_procinfo;
988 __be32 *statp = rqstp->rq_accept_statp;
997 rqstp->rq_cachetype = proc->pc_cachetype;
1004 start = xdr_stream_pos(&rqstp->rq_arg_stream);
1005 len = xdr_stream_remaining(&rqstp->rq_arg_stream);
1006 if (!proc->pc_decode(rqstp, &rqstp->rq_arg_stream))
1010 switch (nfsd_cache_lookup(rqstp, start, len, &rp)) {
1019 nfs_reply = xdr_inline_decode(&rqstp->rq_res_stream, 0);
1020 *statp = proc->pc_func(rqstp);
1021 if (test_bit(RQ_DROPME, &rqstp->rq_flags))
1024 if (!proc->pc_encode(rqstp, &rqstp->rq_res_stream))
1027 nfsd_cache_update(rqstp, rp, rqstp->rq_cachetype, nfs_reply);
1032 trace_nfsd_garbage_args_err(rqstp);
1037 nfsd_cache_update(rqstp, rp, RC_NOCACHE, NULL);
1042 trace_nfsd_cant_encode_err(rqstp);
1043 nfsd_cache_update(rqstp, rp, RC_NOCACHE, NULL);
1050 * @rqstp: Server RPC transaction context
1057 bool nfssvc_decode_voidarg(struct svc_rqst *rqstp, struct xdr_stream *xdr)
1064 * @rqstp: Server RPC transaction context
1071 bool nfssvc_encode_voidres(struct svc_rqst *rqstp, struct xdr_stream *xdr)