H A D | xdr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 unsigned int quadlen = XDR_QUADLEN(obj->len); in xdr_encode_netobj() 34 *p++ = cpu_to_be32(obj->len); in xdr_encode_netobj() 35 memcpy(p, obj->data, obj->len); in xdr_encode_netobj() 36 return p + XDR_QUADLEN(obj->le in xdr_encode_netobj() 586 xdr_buf_tail_copy_right(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_tail_copy_right() argument 600 xdr_buf_pages_copy_right(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_pages_copy_right() argument 633 xdr_buf_head_copy_right(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_head_copy_right() argument 680 xdr_buf_tail_shift_right(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_tail_shift_right() argument 691 xdr_buf_pages_shift_right(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_pages_shift_right() argument 707 xdr_buf_head_shift_right(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_head_shift_right() argument 725 xdr_buf_tail_copy_left(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_tail_copy_left() argument 770 xdr_buf_pages_copy_left(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_pages_copy_left() argument 803 xdr_buf_tail_shift_left(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_tail_shift_left() argument 812 xdr_buf_pages_shift_left(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_pages_shift_left() argument 829 xdr_buf_head_shift_left(const struct xdr_buf * buf,unsigned int base,unsigned int len,unsigned int shift) xdr_buf_head_shift_left() argument 867 unsigned int shift, buflen = max(buf->len, len); xdr_shrink_bufhead() local 895 unsigned int shift, buflen = buf->len - buf->head->iov_len; xdr_shrink_pagelen() local 1028 size_t shift = xdr->scratch.iov_len; __xdr_commit_encode() local 1795 unsigned int shift; xdr_stream_move_subsegment() local 2178 xdr_process_buf(const struct xdr_buf * buf,unsigned int offset,unsigned int len,int (* actor)(struct scatterlist *,void *),void * data) xdr_process_buf() argument [all...] |