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()
177 xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, in xdr_inline_pages()
440 static void xdr_buf_pages_zero(const struct xdr_buf *buf, unsigned int pgbase, in xdr_buf_pages_zero()
480 static unsigned int xdr_buf_pages_fill_sparse(const struct xdr_buf *buf, in xdr_buf_pages_fill_sparse()
508 static void xdr_buf_try_expand(struct xdr_buf *buf, unsigned int len) in xdr_buf_try_expand()
534 static void xdr_buf_tail_copy_right(const struct xdr_buf *buf, in xdr_buf_tail_copy_right()
548 static void xdr_buf_pages_copy_right(const struct xdr_buf *buf, in xdr_buf_pages_copy_right()
581 static void xdr_buf_head_copy_right(const struct xdr_buf *buf, in xdr_buf_head_copy_right()
628 static void xdr_buf_tail_shift_right(const struct xdr_buf *buf, in xdr_buf_tail_shift_right()
639 static void xdr_buf_pages_shift_right(const struct xdr_buf *buf, in xdr_buf_pages_shift_right()
655 static void xdr_buf_head_shift_right(const struct xdr_buf *buf, in xdr_buf_head_shift_right()
674 static void xdr_buf_tail_copy_left(const struct xdr_buf *buf, unsigned int base, in xdr_buf_tail_copy_left()
718 static void xdr_buf_pages_copy_left(const struct xdr_buf *buf, in xdr_buf_pages_copy_left()
751 static void xdr_buf_tail_shift_left(const struct xdr_buf *buf, in xdr_buf_tail_shift_left()
760 static void xdr_buf_pages_shift_left(const struct xdr_buf *buf, in xdr_buf_pages_shift_left()
777 static void xdr_buf_head_shift_left(const struct xdr_buf *buf, in xdr_buf_head_shift_left()
814 static unsigned int xdr_shrink_bufhead(struct xdr_buf *buf, unsigned int len) in xdr_shrink_bufhead()
843 static unsigned int xdr_shrink_pagelen(struct xdr_buf *buf, unsigned int len) in xdr_shrink_pagelen()
914 void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, in xdr_init_encode()
949 void xdr_init_encode_pages(struct xdr_stream *xdr, struct xdr_buf *buf, in xdr_init_encode_pages()
1139 struct xdr_buf *buf = xdr->buf; in xdr_truncate_encode()
1216 struct xdr_buf *buf = xdr->buf; in xdr_restrict_buflen()
1245 struct xdr_buf *buf = xdr->buf; in xdr_write_pages()
1287 struct xdr_buf *buf = xdr->buf; in xdr_set_tail_base()
1365 void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, in xdr_init_decode()
1389 void xdr_init_decode_pages(struct xdr_stream *xdr, struct xdr_buf *buf, in xdr_init_decode_pages()
1470 struct xdr_buf *buf = xdr->buf; in xdr_realign_pages()
1485 struct xdr_buf *buf = xdr->buf; in xdr_align_pages()
1549 struct xdr_buf *buf = xdr->buf; in xdr_set_pagelen()
1590 void xdr_buf_from_iov(const struct kvec *iov, struct xdr_buf *buf) in xdr_buf_from_iov()
1613 int xdr_buf_subsegment(const struct xdr_buf *buf, struct xdr_buf *subbuf, in xdr_buf_subsegment()
1676 bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf, in xdr_stream_subsegment()
1721 struct xdr_buf buf; in xdr_stream_move_subsegment()
1748 struct xdr_buf buf; in xdr_stream_zero()
1772 void xdr_buf_trim(struct xdr_buf *buf, unsigned int len) in xdr_buf_trim()
1803 static void __read_bytes_from_xdr_buf(const struct xdr_buf *subbuf, in __read_bytes_from_xdr_buf()
1821 int read_bytes_from_xdr_buf(const struct xdr_buf *buf, unsigned int base, in read_bytes_from_xdr_buf()
1824 struct xdr_buf subbuf; in read_bytes_from_xdr_buf()
1835 static void __write_bytes_to_xdr_buf(const struct xdr_buf *subbuf, in __write_bytes_to_xdr_buf()
1853 int write_bytes_to_xdr_buf(const struct xdr_buf *buf, unsigned int base, in write_bytes_to_xdr_buf()
1856 struct xdr_buf subbuf; in write_bytes_to_xdr_buf()
1867 int xdr_decode_word(const struct xdr_buf *buf, unsigned int base, u32 *obj) in xdr_decode_word()
1880 int xdr_encode_word(const struct xdr_buf *buf, unsigned int base, u32 obj) in xdr_encode_word()
1889 static int xdr_xcode_array2(const struct xdr_buf *buf, unsigned int base, in xdr_xcode_array2()
2082 int xdr_decode_array2(const struct xdr_buf *buf, unsigned int base, in xdr_decode_array2()
2092 int xdr_encode_array2(const struct xdr_buf *buf, unsigned int base, in xdr_encode_array2()
2103 int xdr_process_buf(const struct xdr_buf *buf, unsigned int offset, in xdr_process_buf()