id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
xdr_authunix_parms(3) | NAME rpc - library routines for remote procedure calls
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t... |
xdr_bool(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_buf_pages_zero(9) | NAME xdr_buf_pages_zero -
SYNOPSIS void xdr_buf_pages_zero (const struct xdr_buf *buf , unsigned int pgbase , unsigned int len );
ARGUMENTS buf xdr_buf
pgbase beginning offset
len length
SEE ALSO Kernel file ./net/sunrpc/xdr.c xdr_encode_opaque_fixed(9), xdr_encode_opaque(9), xd... |
xdr_buf_subsegment(9) | NAME xdr_buf_subsegment - set subbuf to a portion of buf
SYNOPSIS int xdr_buf_subsegment (const struct xdr_buf *buf , struct xdr_buf *subbuf , unsigned int base , unsigned int len );
ARGUMENTS buf an xdr buffer
subbuf the result buffer
base beginning of range in bytes
len ... |
xdr_buf_to_bvec(9) | NAME xdr_buf_to_bvec - Copy components of an xdr_buf into a bio_vec array
SYNOPSIS unsigned int xdr_buf_to_bvec (struct bio_vec *bvec , unsigned int bvec_size , const struct xdr_buf *xdr );
ARGUMENTS bvec bio_vec array to populate
bvec_size element count of bio_vec
xdr xdr_buf to be c... |
xdr_buf_trim(9) | NAME xdr_buf_trim - lop at most "len" bytes off the end of "buf"
SYNOPSIS void xdr_buf_trim (struct xdr_buf *buf , unsigned int len );
ARGUMENTS buf buf to be trimmed
len number of bytes to reduce "buf" by
DESCRIPTION Trim an xdr_buf by the given number of bytes by fixing up the lengths. N... |
xdr_bytes(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_callhdr(3) | NAME rpc - library routines for remote procedure calls
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t... |
xdr_callmsg(3) | NAME rpc - library routines for remote procedure calls
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t... |
xdr_char(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_commit_encode(9) | NAME xdr_commit_encode - Ensure all data is written to xdr->buf
SYNOPSIS void xdr_commit_encode (struct xdr_stream *xdr );
ARGUMENTS xdr pointer to xdr_stream
DESCRIPTION Handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place. __xd... |
xdr_count_read_segments(9) | NAME xdr_count_read_segments - Count number of Read segments in Read list
SYNOPSIS bool xdr_count_read_segments (struct svc_rdma_recv_ctxt *rctxt , __be32 *p );
ARGUMENTS rctxt Ingress receive context
p Start of an un-decoded Read list
DESCRIPTION Before allocating anything, ensure the ingres... |
xdr_count_write_chunks(9) | NAME xdr_count_write_chunks - Count number of Write chunks in Write list
SYNOPSIS bool xdr_count_write_chunks (struct svc_rdma_recv_ctxt *rctxt , __be32 *p );
ARGUMENTS rctxt Received header and decoding state
p start of an un-decoded Write list
DESCRIPTION Before allocating anything, ensu... |
xdr_decode_rdma_segment(9) | NAME xdr_decode_rdma_segment - Decode contents of an RDMA segment
SYNOPSIS __be32 * xdr_decode_rdma_segment (__be32 *p , u32 *handle , u32 *length , u64 *offset );
ARGUMENTS p Pointer to the undecoded RDMA segment
handle Upon return, the RDMA handle
length Upon return, the RDMA len... |
xdr_decode_read_segment(9) | NAME xdr_decode_read_segment - Decode contents of a Read segment
SYNOPSIS __be32 * xdr_decode_read_segment (__be32 *p , u32 *position , u32 *handle , u32 *length , u64 *offset );
ARGUMENTS p Pointer to the undecoded Read segment
position Upon return, the segment's position
handle Upo... |
xdr_destroy(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_double(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_encode_bool(9) | NAME xdr_encode_bool - Encode a boolean item
SYNOPSIS __be32 * xdr_encode_bool (__be32 *p , u32 n );
ARGUMENTS p address in a buffer into which to encode
n boolean value to encode
DESCRIPTION Return value: Address of item following the encoded boolean
SEE ALSO Kernel file ./include/linu... |
xdr_encode_opaque(9) | NAME xdr_encode_opaque - Encode variable length opaque data
SYNOPSIS __be32 * xdr_encode_opaque (__be32 *p , const void *ptr , unsigned int nbytes );
ARGUMENTS p pointer to current position in XDR buffer.
ptr pointer to data to encode (or NULL)
nbytes size of data.
DESCRIPTION ... |
xdr_encode_opaque_fixed(9) | NAME xdr_encode_opaque_fixed - Encode fixed length opaque data
SYNOPSIS __be32 * xdr_encode_opaque_fixed (__be32 *p , const void *ptr , unsigned int nbytes );
ARGUMENTS p pointer to current position in XDR buffer.
ptr pointer to data to encode (or NULL)
nbytes size of data.
DES... |
xdr_encode_rdma_segment(9) | NAME xdr_encode_rdma_segment - Encode contents of an RDMA segment
SYNOPSIS __be32 * xdr_encode_rdma_segment (__be32 *p , u32 handle , u32 length , u64 offset );
ARGUMENTS p Pointer into a send buffer
handle The RDMA handle to encode
length The RDMA length to encode
offset ... |
xdr_encode_read_segment(9) | NAME xdr_encode_read_segment - Encode contents of a Read segment
SYNOPSIS __be32 * xdr_encode_read_segment (__be32 *p , u32 position , u32 handle , u32 length , u64 offset );
ARGUMENTS p Pointer into a send buffer
position The position to encode
handle The RDMA handle to encode
... |
xdr_enter_page(9) | NAME xdr_enter_page - decode data from the XDR page
SYNOPSIS void xdr_enter_page (struct xdr_stream *xdr , unsigned int len );
ARGUMENTS xdr pointer to xdr_stream struct
len number of bytes of page data
DESCRIPTION Moves data beyond the current pointer position from the XDR head[] buffer into... |
xdr_enum(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_finish_decode(9) | NAME xdr_finish_decode - Clean up the xdr_stream after decoding data.
SYNOPSIS void xdr_finish_decode (struct xdr_stream *xdr );
ARGUMENTS xdr pointer to xdr_stream struct
SEE ALSO Kernel file ./net/sunrpc/xdr.c xdr_encode_opaque_fixed(9), xdr_encode_opaque(9), xdr_terminate_string(9), xdr_buf_to_bvec(9), x... |
xdr_float(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_free(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_getpos(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_init_decode(9) | NAME xdr_init_decode - Initialize an xdr_stream for decoding data.
SYNOPSIS void xdr_init_decode (struct xdr_stream *xdr , struct xdr_buf *buf , __be32 *p , struct rpc_rqst *rqst );
ARGUMENTS xdr pointer to xdr_stream struct
buf pointer to XDR buffer from which to decode data
p ... |
xdr_init_decode_pages(9) | NAME xdr_init_decode_pages - Initialize an xdr_stream for decoding into pages
SYNOPSIS void xdr_init_decode_pages (struct xdr_stream *xdr , struct xdr_buf *buf , struct page **pages , unsigned int len );
ARGUMENTS xdr pointer to xdr_stream struct
buf pointer to XDR buffer from which to decode ... |
xdr_init_encode(9) | NAME xdr_init_encode - Initialize a struct xdr_stream for sending data.
SYNOPSIS void xdr_init_encode (struct xdr_stream *xdr , struct xdr_buf *buf , __be32 *p , struct rpc_rqst *rqst );
ARGUMENTS xdr pointer to xdr_stream struct
buf pointer to XDR buffer in which to encode data
p ... |
xdr_init_encode_pages(9) | NAME xdr_init_encode_pages - Initialize an xdr_stream for encoding into pages
SYNOPSIS void xdr_init_encode_pages (struct xdr_stream *xdr , struct xdr_buf *buf );
ARGUMENTS xdr pointer to xdr_stream struct
buf pointer to XDR buffer into which to encode data
SEE ALSO Kernel file ./net/sunrpc/... |
xdr_inline(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_inline_decode(9) | NAME xdr_inline_decode - Retrieve XDR data to decode
SYNOPSIS __be32 * xdr_inline_decode (struct xdr_stream *xdr , size_t nbytes );
ARGUMENTS xdr pointer to xdr_stream struct
nbytes number of bytes of data to decode
DESCRIPTION Check if the input buffer is long enough to enable us to decode If s... |
xdr_inline_pages(9) | NAME xdr_inline_pages - Prepare receive buffer for a large reply
SYNOPSIS void xdr_inline_pages (struct xdr_buf *xdr , unsigned int offset , struct page **pages , unsigned int base , unsigned int len );
ARGUMENTS xdr xdr_buf into which reply will be placed
offset expected offset where data payloa... |
xdr_int(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_item_is_absent(9) | NAME xdr_item_is_absent - symbolically handle XDR discriminators
SYNOPSIS bool xdr_item_is_absent (const __be32 *p );
ARGUMENTS p pointer to undecoded discriminator
DESCRIPTION Return values: true if the following XDR item is absent false if the following XDR item is present
SEE ALSO Kernel file ./includ... |
xdr_item_is_present(9) | NAME xdr_item_is_present - symbolically handle XDR discriminators
SYNOPSIS bool xdr_item_is_present (const __be32 *p );
ARGUMENTS p pointer to undecoded discriminator
DESCRIPTION Return values: true if the following XDR item is present false if the following XDR item is absent
SEE ALSO Kernel file ./incl... |
xdr_long(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_opaque(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_opaque_auth(3) | NAME rpc - library routines for remote procedure calls
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t... |
xdr_pad_size(9) | NAME xdr_pad_size - Calculate size of an object's pad
SYNOPSIS size_t xdr_pad_size (size_t n );
ARGUMENTS n Size of an object being XDR encoded (in bytes)
DESCRIPTION This implementation avoids the need for conditional branches or modulo division. Return value: Size (in bytes) of the needed XDR pad
SEE A... |
xdr_page_pos(9) | NAME xdr_page_pos - Return the current offset from the start of the xdr pages
SYNOPSIS unsigned int xdr_page_pos (const struct xdr_stream *xdr );
ARGUMENTS xdr pointer to struct xdr_stream
SEE ALSO Kernel file ./net/sunrpc/xdr.c xdr_encode_opaque_fixed(9), xdr_encode_opaque(9), xdr_terminate_string(9), xdr_... |
xdr_pmap(3) | NAME rpc - library routines for remote procedure calls
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t... |
xdr_pmaplist(3) | NAME rpc - library routines for remote procedure calls
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t... |
xdr_pointer(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_read_pages(9) | NAME xdr_read_pages - align page-based XDR data to current pointer position
SYNOPSIS unsigned int xdr_read_pages (struct xdr_stream *xdr , unsigned int len );
ARGUMENTS xdr pointer to xdr_stream struct
len number of bytes of page data
DESCRIPTION Moves data beyond the current pointer posit... |
xdr_reference(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_rejected_reply(3) | NAME rpc - library routines for remote procedure calls
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t... |
xdr_replymsg(3) | NAME rpc - library routines for remote procedure calls
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t... |
xdr_reserve_space(9) | NAME xdr_reserve_space - Reserve buffer space for sending
SYNOPSIS __be32 * xdr_reserve_space (struct xdr_stream *xdr , size_t nbytes );
ARGUMENTS xdr pointer to xdr_stream
nbytes number of bytes to reserve
DESCRIPTION Checks that we have enough buffer space to encode 'nbytes' more bytes of dat... |
xdr_reserve_space_vec(9) | NAME xdr_reserve_space_vec - Reserves a large amount of buffer space for sending
SYNOPSIS int xdr_reserve_space_vec (struct xdr_stream *xdr , size_t nbytes );
ARGUMENTS xdr pointer to xdr_stream
nbytes number of bytes to reserve
DESCRIPTION The size argument passed to xdr_reserve_space is dete... |
xdr_reset_scratch_buffer(9) | NAME xdr_reset_scratch_buffer - Clear scratch buffer information
SYNOPSIS void xdr_reset_scratch_buffer (struct xdr_stream *xdr );
ARGUMENTS xdr pointer to xdr_stream struct
DESCRIPTION See xdr_set_scratch_buffer.
SEE ALSO Kernel file ./include/linux/sunrpc/xdr.h xdr_set_scratch_buffer(9), xdr_set_scra... |
xdr_restrict_buflen(9) | NAME xdr_restrict_buflen - decrease available buffer space
SYNOPSIS int xdr_restrict_buflen (struct xdr_stream *xdr , int newbuflen );
ARGUMENTS xdr pointer to xdr_stream
newbuflen new maximum number of bytes available
DESCRIPTION Adjust our idea of how much space is available in the buffer. If we... |
xdr_set_pagelen(9) | NAME xdr_set_pagelen - Sets the length of the XDR pages
SYNOPSIS void xdr_set_pagelen (struct xdr_stream *xdr , unsigned int len );
ARGUMENTS xdr pointer to xdr_stream struct
len new length of the XDR page data
DESCRIPTION Either grows or shrinks the length of the xdr pages by setting pagelen... |
xdr_set_scratch_buffer(9) | NAME xdr_set_scratch_buffer - Attach a scratch buffer for decoding data.
SYNOPSIS void xdr_set_scratch_buffer (struct xdr_stream *xdr , void *buf , size_t buflen );
ARGUMENTS xdr pointer to xdr_stream struct
buf pointer to an empty buffer
buflen size of 'buf'
DESCRIPTION The scra... |
xdr_set_scratch_folio(9) | NAME xdr_set_scratch_folio - Attach a scratch buffer for decoding data
SYNOPSIS void xdr_set_scratch_folio (struct xdr_stream *xdr , struct folio *folio );
ARGUMENTS xdr pointer to xdr_stream struct
folio -- undescribed --
DESCRIPTION See xdr_set_scratch_buffer.
SEE ALSO Kernel file ./includ... |
xdr_setpos(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_short(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_shrink_bufhead(9) | NAME xdr_shrink_bufhead -
SYNOPSIS unsigned int xdr_shrink_bufhead (struct xdr_buf *buf , unsigned int len );
ARGUMENTS buf xdr_buf
len new length of buf->head[0]
DESCRIPTION Shrinks XDR buffer's header kvec buf->head[0], setting it to moved into the inlined pages and/or the tail.
SEE ALSO K... |
xdr_shrink_pagelen(9) | NAME xdr_shrink_pagelen - shrinks buf->pages to @len bytes
SYNOPSIS unsigned int xdr_shrink_pagelen (struct xdr_buf *buf , unsigned int len );
ARGUMENTS buf xdr_buf
len new page buffer length
DESCRIPTION The extra data is not lost, but is instead moved into buf->tail. Returns the actual numb... |
xdr_skb_read_bits(9) | NAME xdr_skb_read_bits - copy some data bits from skb to internal buffer
SYNOPSIS size_t xdr_skb_read_bits (struct xdr_skb_reader *desc , void *to , size_t len );
ARGUMENTS desc sk_buff copy helper
to copy destination
len number of bytes to copy
DESCRIPTION Possibly called sev... |
xdr_stream_decode_be32(9) | NAME xdr_stream_decode_be32 - Decode a big-endian 32-bit integer
SYNOPSIS ssize_t xdr_stream_decode_be32 (struct xdr_stream *xdr , __be32 *ptr );
ARGUMENTS xdr pointer to xdr_stream
ptr location to store integer
DESCRIPTION Return values: 0 on success -EBADMSG on XDR buffer overflow
SEE ALSO... |
xdr_stream_decode_bool(9) | NAME xdr_stream_decode_bool - Decode a boolean
SYNOPSIS ssize_t xdr_stream_decode_bool (struct xdr_stream *xdr , __u32 *ptr );
ARGUMENTS xdr pointer to xdr_stream
ptr pointer to a u32 in which to store the result
DESCRIPTION Return values: 0 on success -EBADMSG on XDR buffer overflow
SEE ALS... |
xdr_stream_decode_opaque_auth(9) | NAME xdr_stream_decode_opaque_auth - Decode struct opaque_auth (RFC5531 S8.2)
SYNOPSIS ssize_t xdr_stream_decode_opaque_auth (struct xdr_stream *xdr , u32 *flavor , void **body , unsigned int *body_len );
ARGUMENTS xdr pointer to xdr_stream
flavor location to store decoded flavor
body ... |
xdr_stream_decode_opaque_fixed(9) | NAME xdr_stream_decode_opaque_fixed - Decode fixed length opaque xdr data
SYNOPSIS ssize_t xdr_stream_decode_opaque_fixed (struct xdr_stream *xdr , void *ptr , size_t len );
ARGUMENTS xdr pointer to xdr_stream
ptr location to store data
len size of buffer pointed to by ptr
DES... |
xdr_stream_decode_opaque_inline(9) | NAME xdr_stream_decode_opaque_inline - Decode variable length opaque xdr data
SYNOPSIS ssize_t xdr_stream_decode_opaque_inline (struct xdr_stream *xdr , void **ptr , size_t maxlen );
ARGUMENTS xdr pointer to xdr_stream
ptr location to store pointer to opaque data
maxlen maximum ac... |
xdr_stream_decode_string_dup(9) | NAME xdr_stream_decode_string_dup - Decode and duplicate variable length string
SYNOPSIS ssize_t xdr_stream_decode_string_dup (struct xdr_stream *xdr , char **str , size_t maxlen , gfp_t gfp_flags );
ARGUMENTS xdr pointer to xdr_stream
str location to store pointer to string
maxlen ... |
xdr_stream_decode_u32(9) | NAME xdr_stream_decode_u32 - Decode a 32-bit integer
SYNOPSIS ssize_t xdr_stream_decode_u32 (struct xdr_stream *xdr , __u32 *ptr );
ARGUMENTS xdr pointer to xdr_stream
ptr location to store integer
DESCRIPTION Return values: 0 on success -EBADMSG on XDR buffer overflow
SEE ALSO Kernel file ... |
xdr_stream_decode_u64(9) | NAME xdr_stream_decode_u64 - Decode a 64-bit integer
SYNOPSIS ssize_t xdr_stream_decode_u64 (struct xdr_stream *xdr , __u64 *ptr );
ARGUMENTS xdr pointer to xdr_stream
ptr location to store 64-bit integer
DESCRIPTION Return values: 0 on success -EBADMSG on XDR buffer overflow
SEE ALSO Kernel... |
xdr_stream_decode_uint32_array(9) | NAME xdr_stream_decode_uint32_array - Decode variable length array of integers
SYNOPSIS ssize_t xdr_stream_decode_uint32_array (struct xdr_stream *xdr , __u32 *array , size_t array_size );
ARGUMENTS xdr pointer to xdr_stream
array location to store the integer array or NULL
array_size n... |
xdr_stream_encode_be32(9) | NAME xdr_stream_encode_be32 - Encode a big-endian 32-bit integer
SYNOPSIS ssize_t xdr_stream_encode_be32 (struct xdr_stream *xdr , __be32 n );
ARGUMENTS xdr pointer to xdr_stream
n integer to encode
DESCRIPTION Return values: On success, returns length in bytes of XDR buffer consumed -EMSGS... |
xdr_stream_encode_bool(9) | NAME xdr_stream_encode_bool - Encode a boolean item
SYNOPSIS int xdr_stream_encode_bool (struct xdr_stream *xdr , __u32 n );
ARGUMENTS xdr pointer to xdr_stream
n boolean value to encode
DESCRIPTION Return values: On success, returns length in bytes of XDR buffer consumed -EMSGSIZE on XDR b... |
xdr_stream_encode_item_absent(9) | NAME xdr_stream_encode_item_absent - Encode a "not present" list item
SYNOPSIS int xdr_stream_encode_item_absent (struct xdr_stream *xdr );
ARGUMENTS xdr pointer to xdr_stream
DESCRIPTION Return values: On success, returns length in bytes of XDR buffer consumed -EMSGSIZE on XDR buffer overflow
SEE ALSO Kern... |
xdr_stream_encode_item_present(9) | NAME xdr_stream_encode_item_present - Encode a "present" list item
SYNOPSIS ssize_t xdr_stream_encode_item_present (struct xdr_stream *xdr );
ARGUMENTS xdr pointer to xdr_stream
DESCRIPTION Return values: On success, returns length in bytes of XDR buffer consumed -EMSGSIZE on XDR buffer overflow
SEE ALSO Ke... |
xdr_stream_encode_opaque(9) | NAME xdr_stream_encode_opaque - Encode variable length opaque xdr data
SYNOPSIS ssize_t xdr_stream_encode_opaque (struct xdr_stream *xdr , const void *ptr , size_t len );
ARGUMENTS xdr pointer to xdr_stream
ptr pointer to opaque data object
len size of object pointed to by ptr
... |
xdr_stream_encode_opaque_auth(9) | NAME xdr_stream_encode_opaque_auth - Encode struct opaque_auth (RFC5531 S8.2)
SYNOPSIS ssize_t xdr_stream_encode_opaque_auth (struct xdr_stream *xdr , u32 flavor , void *body , unsigned int body_len );
ARGUMENTS xdr pointer to xdr_stream
flavor verifier flavor to encode
body conten... |
xdr_stream_encode_opaque_fixed(9) | NAME xdr_stream_encode_opaque_fixed - Encode fixed length opaque xdr data
SYNOPSIS ssize_t xdr_stream_encode_opaque_fixed (struct xdr_stream *xdr , const void *ptr , size_t len );
ARGUMENTS xdr pointer to xdr_stream
ptr pointer to opaque data object
len size of object pointed t... |
xdr_stream_encode_opaque_inline(9) | NAME xdr_stream_encode_opaque_inline - Encode opaque xdr data
SYNOPSIS ssize_t xdr_stream_encode_opaque_inline (struct xdr_stream *xdr , void **ptr , size_t len );
ARGUMENTS xdr pointer to xdr_stream
ptr pointer to void pointer
len size of object
DESCRIPTION Return values: On ... |
xdr_stream_encode_u32(9) | NAME xdr_stream_encode_u32 - Encode a 32-bit integer
SYNOPSIS ssize_t xdr_stream_encode_u32 (struct xdr_stream *xdr , __u32 n );
ARGUMENTS xdr pointer to xdr_stream
n integer to encode
DESCRIPTION Return values: On success, returns length in bytes of XDR buffer consumed -EMSGSIZE on XDR buf... |
xdr_stream_encode_u64(9) | NAME xdr_stream_encode_u64 - Encode a 64-bit integer
SYNOPSIS ssize_t xdr_stream_encode_u64 (struct xdr_stream *xdr , __u64 n );
ARGUMENTS xdr pointer to xdr_stream
n 64-bit integer to encode
DESCRIPTION Return values: On success, returns length in bytes of XDR buffer consumed -EMSGSIZE on ... |
xdr_stream_encode_uint32_array(9) | NAME xdr_stream_encode_uint32_array - Encode variable length array of integers
SYNOPSIS ssize_t xdr_stream_encode_uint32_array (struct xdr_stream *xdr , const __u32 *array , size_t array_size );
ARGUMENTS xdr pointer to xdr_stream
array array of integers
array_size number of elements in... |
xdr_stream_move_subsegment(9) | NAME xdr_stream_move_subsegment - Move part of a stream to another position
SYNOPSIS unsigned int xdr_stream_move_subsegment (struct xdr_stream *xdr , unsigned int offset , unsigned int target , unsigned int length );
ARGUMENTS xdr the source xdr_stream
offset the source offset of the segment
... |
xdr_stream_pos(9) | NAME xdr_stream_pos - Return the current offset from the start of the xdr_stream
SYNOPSIS unsigned int xdr_stream_pos (const struct xdr_stream *xdr );
ARGUMENTS xdr pointer to struct xdr_stream
SEE ALSO Kernel file ./net/sunrpc/xdr.c xdr_encode_opaque_fixed(9), xdr_encode_opaque(9), xdr_terminate_string(9),... |
xdr_stream_remaining(9) | NAME xdr_stream_remaining - Return the number of bytes remaining in the stream
SYNOPSIS size_t xdr_stream_remaining (const struct xdr_stream *xdr );
ARGUMENTS xdr pointer to struct xdr_stream
DESCRIPTION Return value: Number of bytes remaining in xdr before xdr->end
SEE ALSO Kernel file ./include/linux/su... |
xdr_stream_subsegment(9) | NAME xdr_stream_subsegment - set @subbuf to a portion of @xdr
SYNOPSIS bool xdr_stream_subsegment (struct xdr_stream *xdr , struct xdr_buf *subbuf , unsigned int nbytes );
ARGUMENTS xdr an xdr_stream set up for decoding
subbuf the result buffer
nbytes length of xdr to extract, in byt... |
xdr_stream_zero(9) | NAME xdr_stream_zero - zero out a portion of an xdr_stream
SYNOPSIS unsigned int xdr_stream_zero (struct xdr_stream *xdr , unsigned int offset , unsigned int length );
ARGUMENTS xdr an xdr_stream to zero out
offset the starting point in the stream
length the number of bytes to zero
... |
xdr_string(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_terminate_string(9) | NAME xdr_terminate_string - ' '-terminate a string residing in an xdr_buf
SYNOPSIS void xdr_terminate_string (const struct xdr_buf *buf , const u32 len );
ARGUMENTS buf XDR buffer where string resides
len length of string, in bytes
SEE ALSO Kernel file ./net/sunrpc/xdr.c xdr_encode_opaque_... |
xdr_truncate_decode(9) | NAME xdr_truncate_decode - Truncate a decoding stream
SYNOPSIS void xdr_truncate_decode (struct xdr_stream *xdr , size_t len );
ARGUMENTS xdr pointer to struct xdr_stream
len Number of bytes to remove
SEE ALSO Kernel file ./net/sunrpc/xdr.c xdr_encode_opaque_fixed(9), xdr_encode_opaque(9), x... |
xdr_truncate_encode(9) | NAME xdr_truncate_encode - truncate an encode buffer
SYNOPSIS void xdr_truncate_encode (struct xdr_stream *xdr , size_t len );
ARGUMENTS xdr pointer to xdr_stream
len new length of buffer
DESCRIPTION Truncates the xdr stream, so that xdr->buf->len == len, and xdr->p points at offset len from... |
xdr_u_char(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_u_int(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_u_long(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_u_short(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_union(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_vector(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_void(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_wrapstring(3) | NAME xdr - library routines for external data representation
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines.
The pro... |
xdr_write_pages(9) | NAME xdr_write_pages - Insert a list of pages into an XDR buffer for sending
SYNOPSIS void xdr_write_pages (struct xdr_stream *xdr , struct page **pages , unsigned int base , unsigned int len );
ARGUMENTS xdr pointer to xdr_stream
pages array of pages to insert
base starting offse... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.