Lines Matching refs:xdr_buf
50 struct xdr_buf { struct
66 xdr_buf_init(struct xdr_buf *buf, void *start, size_t len) in xdr_buf_init() argument
114 void xdr_inline_pages(struct xdr_buf *, unsigned int,
116 void xdr_terminate_string(struct xdr_buf *, const u32);
159 extern void xdr_shift_buf(struct xdr_buf *, size_t);
160 extern void xdr_buf_from_iov(struct kvec *, struct xdr_buf *);
161 extern int xdr_buf_subsegment(struct xdr_buf *, struct xdr_buf *, unsigned int, unsigned int);
162 extern void xdr_buf_trim(struct xdr_buf *, unsigned int);
163 extern int xdr_buf_read_netobj(struct xdr_buf *, struct xdr_netobj *, unsigned int);
164 extern int read_bytes_from_xdr_buf(struct xdr_buf *, unsigned int, void *, unsigned int);
165 extern int write_bytes_to_xdr_buf(struct xdr_buf *, unsigned int, void *, unsigned int);
180 extern int csum_partial_copy_to_xdr(struct xdr_buf *, struct sk_buff *);
181 extern ssize_t xdr_partial_copy_from_skb(struct xdr_buf *, unsigned int,
184 extern int xdr_encode_word(struct xdr_buf *, unsigned int, u32);
185 extern int xdr_decode_word(struct xdr_buf *, unsigned int, u32 *);
196 extern int xdr_decode_array2(struct xdr_buf *buf, unsigned int base,
198 extern int xdr_encode_array2(struct xdr_buf *buf, unsigned int base,
208 struct xdr_buf *buf; /* XDR buffer to read/write */
225 extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p);
233 extern void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p);
234 extern void xdr_init_decode_pages(struct xdr_stream *xdr, struct xdr_buf *buf,
240 extern int xdr_process_buf(struct xdr_buf *buf, unsigned int offset, unsigned int len, int (*actor)…