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()
162 xdr_free_bvec(struct xdr_buf *buf) in xdr_free_bvec()
178 xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, in xdr_inline_pages()
441 static void xdr_buf_pages_zero(const struct xdr_buf *buf, unsigned int pgbase, in xdr_buf_pages_zero()
481 static unsigned int xdr_buf_pages_fill_sparse(const struct xdr_buf *buf, in xdr_buf_pages_fill_sparse()
509 static void xdr_buf_try_expand(struct xdr_buf *buf, unsigned int len) in xdr_buf_try_expand()
535 static void xdr_buf_tail_copy_right(const struct xdr_buf *buf, in xdr_buf_tail_copy_right()
549 static void xdr_buf_pages_copy_right(const struct xdr_buf *buf, in xdr_buf_pages_copy_right()
582 static void xdr_buf_head_copy_right(const struct xdr_buf *buf, in xdr_buf_head_copy_right()
629 static void xdr_buf_tail_shift_right(const struct xdr_buf *buf, in xdr_buf_tail_shift_right()
640 static void xdr_buf_pages_shift_right(const struct xdr_buf *buf, in xdr_buf_pages_shift_right()
656 static void xdr_buf_head_shift_right(const struct xdr_buf *buf, in xdr_buf_head_shift_right()
675 static void xdr_buf_tail_copy_left(const struct xdr_buf *buf, unsigned int base, in xdr_buf_tail_copy_left()
719 static void xdr_buf_pages_copy_left(const struct xdr_buf *buf, in xdr_buf_pages_copy_left()
752 static void xdr_buf_tail_shift_left(const struct xdr_buf *buf, in xdr_buf_tail_shift_left()
761 static void xdr_buf_pages_shift_left(const struct xdr_buf *buf, in xdr_buf_pages_shift_left()
787 static unsigned int xdr_shrink_bufhead(struct xdr_buf *buf, unsigned int len) in xdr_shrink_bufhead()
816 static unsigned int xdr_shrink_pagelen(struct xdr_buf *buf, unsigned int len) in xdr_shrink_pagelen()
839 xdr_shift_buf(struct xdr_buf *buf, size_t len) in xdr_shift_buf()
894 void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, in xdr_init_encode()
1088 struct xdr_buf *buf = xdr->buf; in xdr_truncate_encode()
1150 struct xdr_buf *buf = xdr->buf; in xdr_restrict_buflen()
1176 struct xdr_buf *buf = xdr->buf; in xdr_write_pages()
1217 struct xdr_buf *buf = xdr->buf; in xdr_set_tail_base()
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()
1400 struct xdr_buf *buf = xdr->buf; in xdr_realign_pages()
1415 struct xdr_buf *buf = xdr->buf; in xdr_align_pages()
1469 struct xdr_buf *buf = xdr->buf; in xdr_align_data()
1510 struct xdr_buf *buf = xdr->buf; in xdr_expand_hole()
1556 void xdr_buf_from_iov(const struct kvec *iov, struct xdr_buf *buf) in xdr_buf_from_iov()
1579 int xdr_buf_subsegment(const struct xdr_buf *buf, struct xdr_buf *subbuf, in xdr_buf_subsegment()
1642 bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf, in xdr_stream_subsegment()
1684 void xdr_buf_trim(struct xdr_buf *buf, unsigned int len) in xdr_buf_trim()
1715 static void __read_bytes_from_xdr_buf(const struct xdr_buf *subbuf, in __read_bytes_from_xdr_buf()
1733 int read_bytes_from_xdr_buf(const struct xdr_buf *buf, unsigned int base, in read_bytes_from_xdr_buf()
1736 struct xdr_buf subbuf; in read_bytes_from_xdr_buf()
1747 static void __write_bytes_to_xdr_buf(const struct xdr_buf *subbuf, in __write_bytes_to_xdr_buf()
1765 int write_bytes_to_xdr_buf(const struct xdr_buf *buf, unsigned int base, in write_bytes_to_xdr_buf()
1768 struct xdr_buf subbuf; in write_bytes_to_xdr_buf()
1779 int xdr_decode_word(const struct xdr_buf *buf, unsigned int base, u32 *obj) in xdr_decode_word()
1792 int xdr_encode_word(const struct xdr_buf *buf, unsigned int base, u32 obj) in xdr_encode_word()
1801 static int xdr_xcode_array2(const struct xdr_buf *buf, unsigned int base, in xdr_xcode_array2()
1994 int xdr_decode_array2(const struct xdr_buf *buf, unsigned int base, in xdr_decode_array2()
2004 int xdr_encode_array2(const struct xdr_buf *buf, unsigned int base, in xdr_encode_array2()
2015 int xdr_process_buf(const struct xdr_buf *buf, unsigned int offset, in xdr_process_buf()