Lines Matching refs:xdr_buf
56 struct xdr_buf { struct
74 xdr_buf_init(struct xdr_buf *buf, void *start, size_t len) in xdr_buf_init() argument
136 void xdr_inline_pages(struct xdr_buf *, unsigned int,
138 void xdr_terminate_string(const struct xdr_buf *, const u32);
139 size_t xdr_buf_pagecount(const struct xdr_buf *buf);
140 int xdr_alloc_bvec(struct xdr_buf *buf, gfp_t gfp);
141 void xdr_free_bvec(struct xdr_buf *buf);
191 extern void xdr_buf_from_iov(const struct kvec *, struct xdr_buf *);
192 extern int xdr_buf_subsegment(const struct xdr_buf *, struct xdr_buf *, unsigned int, unsigned int);
193 extern void xdr_buf_trim(struct xdr_buf *, unsigned int);
194 extern int read_bytes_from_xdr_buf(const struct xdr_buf *, unsigned int, void *, unsigned int);
195 extern int write_bytes_to_xdr_buf(const struct xdr_buf *, unsigned int, void *, unsigned int);
197 extern int xdr_encode_word(const struct xdr_buf *, unsigned int, u32);
198 extern int xdr_decode_word(const struct xdr_buf *, unsigned int, u32 *);
209 extern int xdr_decode_array2(const struct xdr_buf *buf, unsigned int base,
211 extern int xdr_encode_array2(const struct xdr_buf *buf, unsigned int base,
221 struct xdr_buf *buf; /* XDR buffer to read/write */
240 extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf,
242 extern void xdr_init_encode_pages(struct xdr_stream *xdr, struct xdr_buf *buf,
255 extern void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf,
257 extern void xdr_init_decode_pages(struct xdr_stream *xdr, struct xdr_buf *buf,
262 extern int xdr_process_buf(const struct xdr_buf *buf, unsigned int offset, unsigned int len, int (*…
264 extern bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf,