Searched refs:xdr_align_size (Results 1 – 10 of 10) sorted by relevance
365 xdr_align_size(size_t n) in xdr_align_size() function384 return xdr_align_size(n) - n; in xdr_pad_size()535 size_t count = sizeof(__u32) + xdr_align_size(len); in xdr_stream_encode_opaque_inline()565 return xdr_align_size(len); in xdr_stream_encode_opaque_fixed()581 size_t count = sizeof(__u32) + xdr_align_size(len); in xdr_stream_encode_opaque()
112 return xdr_align_size(chunk->ch_position + chunk->ch_payload_length); in pcl_chunk_end_offset()
204 __be32 *p = xdr_reserve_space(xdr, XDR_UNIT + xdr_align_size(val.len)); in xdrgen_encode_string()235 __be32 *p = xdr_reserve_space(xdr, XDR_UNIT + xdr_align_size(val.len)); in xdrgen_encode_opaque()
142 __be32 *p = xdr_reserve_space(xdr, xdr_align_size(size)); in nfsd4_encode_opaque_fixed()169 p = xdr_reserve_space(xdr, XDR_UNIT + xdr_align_size(size)); in nfsd4_encode_opaque()
2476 max_reply += xdr_align_size(argp->taglen); in nfsd4_decode_compound()4396 xdr_truncate_encode(xdr, starting_len + xdr_align_size(maxcount)); in nfsd4_encode_readv()4485 xdr_truncate_encode(xdr, length_offset + 4 + xdr_align_size(maxcount)); in nfsd4_encode_readlink()
1005 if (!xdr_stream_subsegment(xdr, &buf, xdr_align_size(len))) in decode_read_plus_segment()1077 xdr_set_pagelen(xdr, xdr_align_size(args->count)); in decode_read_plus()
804 length = xdr_align_size(chunk->ch_length); in svc_rdma_read_complete_one()
1288 return rpclen + xdr_align_size(writelist); in rpcrdma_decode_msg()
1601 if (body_len != XDR_UNIT * 5 + xdr_align_size(handle_len)) in svcauth_gss_decode_credbody()
1243 unsigned int nbytes = xdr_align_size(len); in xdr_truncate_decode()