Lines Matching refs:rqstp
164 extern u32 svc_max_payload(const struct svc_rqst *rqstp);
360 xdr_argsize_check(struct svc_rqst *rqstp, __be32 *p) in xdr_argsize_check() argument
363 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check()
369 xdr_ressize_check(struct svc_rqst *rqstp, __be32 *p) in xdr_ressize_check() argument
371 struct kvec *vec = &rqstp->rq_res.head[0]; in xdr_ressize_check()
379 static inline void svc_free_res_pages(struct svc_rqst *rqstp) in svc_free_res_pages() argument
381 while (rqstp->rq_next_page != rqstp->rq_respages) { in svc_free_res_pages()
382 struct page **pp = --rqstp->rq_next_page; in svc_free_res_pages()
467 bool (*pc_decode)(struct svc_rqst *rqstp,
470 bool (*pc_encode)(struct svc_rqst *rqstp,
492 void svc_rqst_replace_page(struct svc_rqst *rqstp,
507 void svc_reserve(struct svc_rqst *rqstp, int space);
510 const char * svc_proc_name(const struct svc_rqst *rqstp);
511 int svc_encode_result_payload(struct svc_rqst *rqstp,
514 unsigned int svc_fill_write_vector(struct svc_rqst *rqstp,
516 char *svc_fill_symlink_pathname(struct svc_rqst *rqstp,
519 __be32 svc_generic_init_request(struct svc_rqst *rqstp,
542 static inline void svc_reserve_auth(struct svc_rqst *rqstp, int space) in svc_reserve_auth() argument
544 svc_reserve(rqstp, space + rqstp->rq_auth_slack); in svc_reserve_auth()
555 static inline void svcxdr_init_decode(struct svc_rqst *rqstp) in svcxdr_init_decode() argument
557 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcxdr_init_decode()
558 struct xdr_buf *buf = &rqstp->rq_arg; in svcxdr_init_decode()
569 xdr_set_scratch_page(xdr, rqstp->rq_scratch_page); in svcxdr_init_decode()
577 static inline void svcxdr_init_encode(struct svc_rqst *rqstp) in svcxdr_init_encode() argument
579 struct xdr_stream *xdr = &rqstp->rq_res_stream; in svcxdr_init_encode()
580 struct xdr_buf *buf = &rqstp->rq_res; in svcxdr_init_encode()
588 xdr->end = resv->iov_base + PAGE_SIZE - rqstp->rq_auth_slack; in svcxdr_init_encode()
591 buf->buflen = PAGE_SIZE * (rqstp->rq_page_end - buf->pages); in svcxdr_init_encode()
592 buf->buflen -= rqstp->rq_auth_slack; in svcxdr_init_encode()