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);
143 const struct xdr_buf *xdr);
193 extern void xdr_buf_from_iov(const struct kvec *, struct xdr_buf *);
194 extern int xdr_buf_subsegment(const struct xdr_buf *, struct xdr_buf *, unsigned int, unsigned int);
195 extern void xdr_buf_trim(struct xdr_buf *, unsigned int);
196 extern int read_bytes_from_xdr_buf(const struct xdr_buf *, unsigned int, void *, unsigned int);
197 extern int write_bytes_to_xdr_buf(const struct xdr_buf *, unsigned int, void *, unsigned int);
199 extern int xdr_encode_word(const struct xdr_buf *, unsigned int, u32);
200 extern int xdr_decode_word(const struct xdr_buf *, unsigned int, u32 *);
211 extern int xdr_decode_array2(const struct xdr_buf *buf, unsigned int base,
213 extern int xdr_encode_array2(const struct xdr_buf *buf, unsigned int base,
223 struct xdr_buf *buf; /* XDR buffer to read/write */
243 extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf,
245 extern void xdr_init_encode_pages(struct xdr_stream *xdr, struct xdr_buf *buf,
257 extern void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf,
259 extern void xdr_init_decode_pages(struct xdr_stream *xdr, struct xdr_buf *buf,
265 extern int xdr_process_buf(const struct xdr_buf *buf, unsigned int offset, unsigned int len, int (*…
267 extern bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf,