Lines Matching refs:xdr_buf

126 void xdr_terminate_string(const struct xdr_buf *buf, const u32 len)  in xdr_terminate_string()
136 size_t xdr_buf_pagecount(const struct xdr_buf *buf) in xdr_buf_pagecount()
144 xdr_alloc_bvec(struct xdr_buf *buf, gfp_t gfp) in xdr_alloc_bvec()
161 xdr_free_bvec(struct xdr_buf *buf) in xdr_free_bvec()
176 const struct xdr_buf *xdr) in xdr_buf_to_bvec()
227 xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, in xdr_inline_pages()
490 static void xdr_buf_pages_zero(const struct xdr_buf *buf, unsigned int pgbase, in xdr_buf_pages_zero()
530 static unsigned int xdr_buf_pages_fill_sparse(const struct xdr_buf *buf, in xdr_buf_pages_fill_sparse()
558 static void xdr_buf_try_expand(struct xdr_buf *buf, unsigned int len) in xdr_buf_try_expand()
584 static void xdr_buf_tail_copy_right(const struct xdr_buf *buf, in xdr_buf_tail_copy_right()
598 static void xdr_buf_pages_copy_right(const struct xdr_buf *buf, in xdr_buf_pages_copy_right()
631 static void xdr_buf_head_copy_right(const struct xdr_buf *buf, in xdr_buf_head_copy_right()
678 static void xdr_buf_tail_shift_right(const struct xdr_buf *buf, in xdr_buf_tail_shift_right()
689 static void xdr_buf_pages_shift_right(const struct xdr_buf *buf, in xdr_buf_pages_shift_right()
705 static void xdr_buf_head_shift_right(const struct xdr_buf *buf, in xdr_buf_head_shift_right()
724 static void xdr_buf_tail_copy_left(const struct xdr_buf *buf, unsigned int base, in xdr_buf_tail_copy_left()
768 static void xdr_buf_pages_copy_left(const struct xdr_buf *buf, in xdr_buf_pages_copy_left()
801 static void xdr_buf_tail_shift_left(const struct xdr_buf *buf, in xdr_buf_tail_shift_left()
810 static void xdr_buf_pages_shift_left(const struct xdr_buf *buf, in xdr_buf_pages_shift_left()
827 static void xdr_buf_head_shift_left(const struct xdr_buf *buf, in xdr_buf_head_shift_left()
864 static unsigned int xdr_shrink_bufhead(struct xdr_buf *buf, unsigned int len) in xdr_shrink_bufhead()
893 static unsigned int xdr_shrink_pagelen(struct xdr_buf *buf, unsigned int len) in xdr_shrink_pagelen()
964 void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, in xdr_init_encode()
999 void xdr_init_encode_pages(struct xdr_stream *xdr, struct xdr_buf *buf, in xdr_init_encode_pages()
1187 struct xdr_buf *buf = xdr->buf; in xdr_truncate_encode()
1264 struct xdr_buf *buf = xdr->buf; in xdr_restrict_buflen()
1293 struct xdr_buf *buf = xdr->buf; in xdr_write_pages()
1335 struct xdr_buf *buf = xdr->buf; in xdr_set_tail_base()
1427 void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, in xdr_init_decode()
1452 void xdr_init_decode_pages(struct xdr_stream *xdr, struct xdr_buf *buf, in xdr_init_decode_pages()
1543 struct xdr_buf *buf = xdr->buf; in xdr_realign_pages()
1558 struct xdr_buf *buf = xdr->buf; in xdr_align_pages()
1622 struct xdr_buf *buf = xdr->buf; in xdr_set_pagelen()
1663 void xdr_buf_from_iov(const struct kvec *iov, struct xdr_buf *buf) in xdr_buf_from_iov()
1686 int xdr_buf_subsegment(const struct xdr_buf *buf, struct xdr_buf *subbuf, in xdr_buf_subsegment()
1749 bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf, in xdr_stream_subsegment()
1794 struct xdr_buf buf; in xdr_stream_move_subsegment()
1821 struct xdr_buf buf; in xdr_stream_zero()
1845 void xdr_buf_trim(struct xdr_buf *buf, unsigned int len) in xdr_buf_trim()
1876 static void __read_bytes_from_xdr_buf(const struct xdr_buf *subbuf, in __read_bytes_from_xdr_buf()
1894 int read_bytes_from_xdr_buf(const struct xdr_buf *buf, unsigned int base, in read_bytes_from_xdr_buf()
1897 struct xdr_buf subbuf; in read_bytes_from_xdr_buf()
1908 static void __write_bytes_to_xdr_buf(const struct xdr_buf *subbuf, in __write_bytes_to_xdr_buf()
1926 int write_bytes_to_xdr_buf(const struct xdr_buf *buf, unsigned int base, in write_bytes_to_xdr_buf()
1929 struct xdr_buf subbuf; in write_bytes_to_xdr_buf()
1940 int xdr_decode_word(const struct xdr_buf *buf, unsigned int base, u32 *obj) in xdr_decode_word()
1953 int xdr_encode_word(const struct xdr_buf *buf, unsigned int base, u32 obj) in xdr_encode_word()
1962 static int xdr_xcode_array2(const struct xdr_buf *buf, unsigned int base, in xdr_xcode_array2()
2155 int xdr_decode_array2(const struct xdr_buf *buf, unsigned int base, in xdr_decode_array2()
2165 int xdr_encode_array2(const struct xdr_buf *buf, unsigned int base, in xdr_encode_array2()
2176 int xdr_process_buf(const struct xdr_buf *buf, unsigned int offset, in xdr_process_buf()