|
__be32 * | xdr_encode_netobj (__be32 *p, const struct xdr_netobj *obj) |
|
| EXPORT_SYMBOL_GPL (xdr_encode_netobj) |
|
__be32 * | xdr_decode_netobj (__be32 *p, struct xdr_netobj *obj) |
|
| EXPORT_SYMBOL_GPL (xdr_decode_netobj) |
|
__be32 * | xdr_encode_opaque_fixed (__be32 *p, const void *ptr, unsigned int nbytes) |
|
| EXPORT_SYMBOL_GPL (xdr_encode_opaque_fixed) |
|
__be32 * | xdr_encode_opaque (__be32 *p, const void *ptr, unsigned int nbytes) |
|
| EXPORT_SYMBOL_GPL (xdr_encode_opaque) |
|
__be32 * | xdr_encode_string (__be32 *p, const char *string) |
|
| EXPORT_SYMBOL_GPL (xdr_encode_string) |
|
__be32 * | xdr_decode_string_inplace (__be32 *p, char **sp, unsigned int *lenp, unsigned int maxlen) |
|
| EXPORT_SYMBOL_GPL (xdr_decode_string_inplace) |
|
void | xdr_terminate_string (struct xdr_buf *buf, const u32 len) |
|
| EXPORT_SYMBOL_GPL (xdr_terminate_string) |
|
void | xdr_inline_pages (struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len) |
|
| EXPORT_SYMBOL_GPL (xdr_inline_pages) |
|
void | _copy_from_pages (char *p, struct page **pages, size_t pgbase, size_t len) |
|
| EXPORT_SYMBOL_GPL (_copy_from_pages) |
|
void | xdr_shift_buf (struct xdr_buf *buf, size_t len) |
|
| EXPORT_SYMBOL_GPL (xdr_shift_buf) |
|
unsigned int | xdr_stream_pos (const struct xdr_stream *xdr) |
|
| EXPORT_SYMBOL_GPL (xdr_stream_pos) |
|
void | xdr_init_encode (struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p) |
|
| EXPORT_SYMBOL_GPL (xdr_init_encode) |
|
__be32 * | xdr_reserve_space (struct xdr_stream *xdr, size_t nbytes) |
|
| EXPORT_SYMBOL_GPL (xdr_reserve_space) |
|
void | xdr_write_pages (struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len) |
|
| EXPORT_SYMBOL_GPL (xdr_write_pages) |
|
void | xdr_init_decode (struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p) |
|
| EXPORT_SYMBOL_GPL (xdr_init_decode) |
|
void | xdr_init_decode_pages (struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len) |
|
| EXPORT_SYMBOL_GPL (xdr_init_decode_pages) |
|
void | xdr_set_scratch_buffer (struct xdr_stream *xdr, void *buf, size_t buflen) |
|
| EXPORT_SYMBOL_GPL (xdr_set_scratch_buffer) |
|
__be32 * | xdr_inline_decode (struct xdr_stream *xdr, size_t nbytes) |
|
| EXPORT_SYMBOL_GPL (xdr_inline_decode) |
|
unsigned int | xdr_read_pages (struct xdr_stream *xdr, unsigned int len) |
|
| EXPORT_SYMBOL_GPL (xdr_read_pages) |
|
void | xdr_enter_page (struct xdr_stream *xdr, unsigned int len) |
|
| EXPORT_SYMBOL_GPL (xdr_enter_page) |
|
void | xdr_buf_from_iov (struct kvec *iov, struct xdr_buf *buf) |
|
| EXPORT_SYMBOL_GPL (xdr_buf_from_iov) |
|
int | xdr_buf_subsegment (struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len) |
|
| EXPORT_SYMBOL_GPL (xdr_buf_subsegment) |
|
int | read_bytes_from_xdr_buf (struct xdr_buf *buf, unsigned int base, void *obj, unsigned int len) |
|
| EXPORT_SYMBOL_GPL (read_bytes_from_xdr_buf) |
|
int | write_bytes_to_xdr_buf (struct xdr_buf *buf, unsigned int base, void *obj, unsigned int len) |
|
| EXPORT_SYMBOL_GPL (write_bytes_to_xdr_buf) |
|
int | xdr_decode_word (struct xdr_buf *buf, unsigned int base, u32 *obj) |
|
| EXPORT_SYMBOL_GPL (xdr_decode_word) |
|
int | xdr_encode_word (struct xdr_buf *buf, unsigned int base, u32 obj) |
|
| EXPORT_SYMBOL_GPL (xdr_encode_word) |
|
int | xdr_buf_read_netobj (struct xdr_buf *buf, struct xdr_netobj *obj, unsigned int offset) |
|
| EXPORT_SYMBOL_GPL (xdr_buf_read_netobj) |
|
int | xdr_decode_array2 (struct xdr_buf *buf, unsigned int base, struct xdr_array2_desc *desc) |
|
| EXPORT_SYMBOL_GPL (xdr_decode_array2) |
|
int | xdr_encode_array2 (struct xdr_buf *buf, unsigned int base, struct xdr_array2_desc *desc) |
|
| EXPORT_SYMBOL_GPL (xdr_encode_array2) |
|
int | xdr_process_buf (struct xdr_buf *buf, unsigned int offset, unsigned int len, int(*actor)(struct scatterlist *, void *), void *data) |
|
| EXPORT_SYMBOL_GPL (xdr_process_buf) |
|
xdr_encode_opaque_fixed - Encode fixed length opaque data
: pointer to current position in XDR buffer. : pointer to data to encode (or NULL) : size of data.
Copy the array of data of length nbytes at ptr to the XDR buffer at position p, then align to the next 32-bit boundary by padding with zero bytes (see RFC1832). Note: if ptr is NULL, only the padding is performed.
Returns the updated current XDR buffer position
Definition at line 61 of file xdr.c.
xdr_init_encode - Initialize a struct xdr_stream for sending data. : pointer to xdr_stream struct : pointer to XDR buffer in which to encode data
: current pointer inside XDR buffer
Note: at the moment the RPC client only passes the length of our scratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.
Definition at line 454 of file xdr.c.