Lines Matching refs:xdr_stream

849 unsigned int xdr_stream_pos(const struct xdr_stream *xdr)  in xdr_stream_pos()
855 static void xdr_stream_set_pos(struct xdr_stream *xdr, unsigned int pos) in xdr_stream_set_pos()
862 static void xdr_stream_page_set_pos(struct xdr_stream *xdr, unsigned int pos) in xdr_stream_page_set_pos()
871 unsigned int xdr_page_pos(const struct xdr_stream *xdr) in xdr_page_pos()
894 void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, in xdr_init_encode()
934 inline void xdr_commit_encode(struct xdr_stream *xdr) in xdr_commit_encode()
948 static __be32 *xdr_get_next_encode_buffer(struct xdr_stream *xdr, in xdr_get_next_encode_buffer()
1000 __be32 * xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes) in xdr_reserve_space()
1034 int xdr_reserve_space_vec(struct xdr_stream *xdr, struct kvec *vec, size_t nbytes) in xdr_reserve_space_vec()
1086 void xdr_truncate_encode(struct xdr_stream *xdr, size_t len) in xdr_truncate_encode()
1148 int xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen) in xdr_restrict_buflen()
1173 void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, in xdr_write_pages()
1200 static unsigned int xdr_set_iov(struct xdr_stream *xdr, struct kvec *iov, in xdr_set_iov()
1214 static unsigned int xdr_set_tail_base(struct xdr_stream *xdr, in xdr_set_tail_base()
1223 static unsigned int xdr_set_page_base(struct xdr_stream *xdr, in xdr_set_page_base()
1258 static void xdr_set_page(struct xdr_stream *xdr, unsigned int base, in xdr_set_page()
1267 static void xdr_set_next_page(struct xdr_stream *xdr) in xdr_set_next_page()
1279 static bool xdr_set_next_buffer(struct xdr_stream *xdr) in xdr_set_next_buffer()
1295 void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, in xdr_init_decode()
1319 void xdr_init_decode_pages(struct xdr_stream *xdr, struct xdr_buf *buf, in xdr_init_decode_pages()
1331 static __be32 * __xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes) in __xdr_inline_decode()
1344 static __be32 *xdr_copy_to_scratch(struct xdr_stream *xdr, size_t nbytes) in xdr_copy_to_scratch()
1380 __be32 * xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes) in xdr_inline_decode()
1398 static void xdr_realign_pages(struct xdr_stream *xdr) in xdr_realign_pages()
1413 static unsigned int xdr_align_pages(struct xdr_stream *xdr, unsigned int len) in xdr_align_pages()
1449 unsigned int xdr_read_pages(struct xdr_stream *xdr, unsigned int len) in xdr_read_pages()
1466 unsigned int xdr_align_data(struct xdr_stream *xdr, unsigned int offset, in xdr_align_data()
1507 unsigned int xdr_expand_hole(struct xdr_stream *xdr, unsigned int offset, in xdr_expand_hole()
1542 void xdr_enter_page(struct xdr_stream *xdr, unsigned int len) in xdr_enter_page()
1642 bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf, in xdr_stream_subsegment()
2093 ssize_t xdr_stream_decode_opaque(struct xdr_stream *xdr, void *ptr, size_t size) in xdr_stream_decode_opaque()
2119 ssize_t xdr_stream_decode_opaque_dup(struct xdr_stream *xdr, void **ptr, in xdr_stream_decode_opaque_dup()
2148 ssize_t xdr_stream_decode_string(struct xdr_stream *xdr, char *str, size_t size) in xdr_stream_decode_string()
2177 ssize_t xdr_stream_decode_string_dup(struct xdr_stream *xdr, char **str, in xdr_stream_decode_string_dup()