• Home
  • Raw
  • Download

Lines Matching refs:rqstp

853 nfsd_acl_init_request(struct svc_rqst *rqstp,  in nfsd_acl_init_request()  argument
857 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_acl_init_request()
860 if (likely(nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request()
861 nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST))) in nfsd_acl_init_request()
862 return svc_generic_init_request(rqstp, progp, ret); in nfsd_acl_init_request()
866 if (nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request()
876 if (nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request()
898 nfsd_init_request(struct svc_rqst *rqstp, in nfsd_init_request() argument
902 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_init_request()
905 if (likely(nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST))) in nfsd_init_request()
906 return svc_generic_init_request(rqstp, progp, ret); in nfsd_init_request()
933 struct svc_rqst *rqstp = (struct svc_rqst *) vrqstp; in nfsd() local
934 …struct svc_xprt *perm_sock = list_entry(rqstp->rq_server->sv_permsocks.next, typeof(struct svc_xpr… in nfsd()
967 rqstp->rq_server->sv_maxconn = nn->max_connections; in nfsd()
973 while ((err = svc_recv(rqstp, 60*60*HZ)) == -EAGAIN) in nfsd()
978 svc_process(rqstp); in nfsd()
994 svc_exit_thread(rqstp); in nfsd()
1027 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfsd_dispatch() argument
1029 const struct svc_procedure *proc = rqstp->rq_procinfo; in nfsd_dispatch()
1037 rqstp->rq_cachetype = proc->pc_cachetype; in nfsd_dispatch()
1039 svcxdr_init_decode(rqstp); in nfsd_dispatch()
1046 start = xdr_stream_pos(&rqstp->rq_arg_stream); in nfsd_dispatch()
1047 len = xdr_stream_remaining(&rqstp->rq_arg_stream); in nfsd_dispatch()
1048 if (!proc->pc_decode(rqstp, &rqstp->rq_arg_stream)) in nfsd_dispatch()
1051 switch (nfsd_cache_lookup(rqstp, start, len)) { in nfsd_dispatch()
1064 svcxdr_init_encode(rqstp); in nfsd_dispatch()
1066 nfs_reply = xdr_inline_decode(&rqstp->rq_res_stream, 0); in nfsd_dispatch()
1067 *statp = proc->pc_func(rqstp); in nfsd_dispatch()
1068 if (*statp == rpc_drop_reply || test_bit(RQ_DROPME, &rqstp->rq_flags)) in nfsd_dispatch()
1071 if (!proc->pc_encode(rqstp, &rqstp->rq_res_stream)) in nfsd_dispatch()
1074 nfsd_cache_update(rqstp, rqstp->rq_cachetype, nfs_reply); in nfsd_dispatch()
1079 trace_nfsd_garbage_args_err(rqstp); in nfsd_dispatch()
1084 nfsd_cache_update(rqstp, RC_NOCACHE, NULL); in nfsd_dispatch()
1089 trace_nfsd_cant_encode_err(rqstp); in nfsd_dispatch()
1090 nfsd_cache_update(rqstp, RC_NOCACHE, NULL); in nfsd_dispatch()
1104 bool nfssvc_decode_voidarg(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_voidarg() argument
1118 bool nfssvc_encode_voidres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_encode_voidres() argument