Home
last modified time | relevance | path

Searched refs:XDR_UNIT (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/fs/lockd/
Dsvcxdr.h26 p = xdr_inline_decode(xdr, XDR_UNIT); in svcxdr_decode_stats()
39 p = xdr_reserve_space(xdr, XDR_UNIT); in svcxdr_encode_stats()
/linux-6.6.21/fs/nfs_common/
Dnfsacl.c156 const size_t elem_size = XDR_UNIT * 3; in nfs_stream_encode_acl()
198 if (!xdr_reserve_space(xdr, XDR_UNIT + in nfs_stream_encode_acl()
386 const size_t elem_size = XDR_UNIT * 3; in nfs_stream_decode_acl()
402 if (!xdr_inline_decode(xdr, XDR_UNIT + elem_size * entries)) in nfs_stream_decode_acl()
/linux-6.6.21/net/sunrpc/
Dauth_tls.c103 p = xdr_reserve_space(xdr, 4 * XDR_UNIT); in tls_marshal()
126 p = xdr_inline_decode(xdr, XDR_UNIT); in tls_validate()
Dsvcauth_unix.c870 p = xdr_reserve_space(&rqstp->rq_res_stream, XDR_UNIT * 2 + 8); in svcauth_tls_accept()
930 p = xdr_inline_decode(xdr, XDR_UNIT * 3); in svcauth_unix_accept()
959 p = xdr_inline_decode(xdr, XDR_UNIT * len); in svcauth_unix_accept()
Dsvc.c1316 p = xdr_inline_decode(&rqstp->rq_arg_stream, XDR_UNIT * 4); in svc_process_common()
1447 xdr_truncate_encode(xdr, XDR_UNIT * 2); in svc_process_common()
1526 p = xdr_inline_decode(&rqstp->rq_arg_stream, XDR_UNIT * 2); in svc_process()
1593 if (!xdr_inline_decode(&rqstp->rq_arg_stream, XDR_UNIT * 2)) { in bc_svc_process()
/linux-6.6.21/net/sunrpc/auth_gss/
Dsvcauth_gss.c767 iov.iov_len = XDR_UNIT; in svcauth_gss_encode_verf()
903 if (read_bytes_from_xdr_buf(buf, offset + XDR_UNIT, checksum.data, in svcauth_gss_unwrap_integ()
917 xdr_truncate_decode(xdr, XDR_UNIT + checksum.len); in svcauth_gss_unwrap_integ()
1591 p = xdr_inline_decode(xdr, XDR_UNIT); in svcauth_gss_decode_credbody()
1617 if (body_len != XDR_UNIT * 5 + xdr_align_size(handle_len)) in svcauth_gss_decode_credbody()
1718 xdr_reserve_space(&rqstp->rq_res_stream, XDR_UNIT * 2); in svcauth_gss_accept()
1726 xdr_reserve_space(&rqstp->rq_res_stream, XDR_UNIT * 2); in svcauth_gss_accept()
1749 xdr_truncate_encode(&rqstp->rq_res_stream, XDR_UNIT * 2); in svcauth_gss_accept()
1814 if (xdr_buf_subsegment(buf, &databody_integ, offset + XDR_UNIT, in svcauth_gss_wrap_integ()
1815 buf->len - offset - XDR_UNIT)) in svcauth_gss_wrap_integ()
[all …]
Dauth_gss.c64 + XDR_UNIT * 2 /* RPC verifier */ \
/linux-6.6.21/fs/nfsd/
Dnfs3xdr.c62 p = xdr_inline_decode(xdr, XDR_UNIT * 2); in svcxdr_decode_nfstime3()
128 p = xdr_reserve_space(xdr, XDR_UNIT + size); in svcxdr_encode_nfs_fh3()
304 p = xdr_inline_decode(xdr, XDR_UNIT * 2); in svcxdr_decode_sattrguard3()
320 p = xdr_inline_decode(xdr, XDR_UNIT * 2); in svcxdr_decode_specdata3()
345 p = xdr_reserve_space(xdr, XDR_UNIT * 21); in svcxdr_encode_fattr3()
394 p = xdr_reserve_space(xdr, XDR_UNIT * 6); in svcxdr_encode_wcc_attr()
1191 p = xdr_reserve_space(xdr, XDR_UNIT * 13); in svcxdr_encode_fsstat3resok()
1234 p = xdr_reserve_space(xdr, XDR_UNIT * 12); in svcxdr_encode_fsinfo3resok()
1280 p = xdr_reserve_space(xdr, XDR_UNIT * 6); in svcxdr_encode_pathconf3resok()
Dnfsxdr.c136 p = xdr_inline_decode(xdr, XDR_UNIT * 8); in svcxdr_decode_sattr()
224 p = xdr_reserve_space(xdr, XDR_UNIT * 17); in svcxdr_encode_fattr()
540 p = xdr_reserve_space(xdr, XDR_UNIT * 5); in nfssvc_encode_statfsres()
Dflexfilelayoutxdr.c92 if (xdr_stream_encode_u32(xdr, 0) != XDR_UNIT) in nfsd4_ff_encode_getdeviceinfo()
Dblocklayoutxdr.c90 if (xdr_stream_encode_u32(xdr, 0) != XDR_UNIT) in nfsd4_block_encode_getdeviceinfo()
Dnfsproc.c561 buf->buflen = clamp(count, (u32)(XDR_UNIT * 2), (u32)PAGE_SIZE); in nfsd_init_dirlist_pages()
562 buf->buflen -= XDR_UNIT * 2; in nfsd_init_dirlist_pages()
Dnfs4xdr.c240 p = xdr_inline_decode(argp->xdr, XDR_UNIT * 3); in nfsd4_decode_nfstime4()
1667 p = xdr_inline_decode(argp->xdr, XDR_UNIT * 7); in nfsd4_decode_channel_attrs4()
1782 p = xdr_inline_decode(argp->xdr, XDR_UNIT); in nfsd4_decode_layoutcommit()
1861 p = xdr_inline_decode(argp->xdr, XDR_UNIT * 4); in nfsd4_decode_sequence()
2444 max_reply += XDR_UNIT; in nfsd4_decode_compound()
2549 p = xdr_reserve_space(xdr, XDR_UNIT * 3); in nfsd4_encode_nfstime4()
3054 attrlen_p = xdr_reserve_space(xdr, XDR_UNIT); in nfsd4_encode_fattr()
3468 *attrlen_p = cpu_to_be32(xdr->buf->len - attrlen_offset - XDR_UNIT); in nfsd4_encode_fattr()
3982 p = xdr_reserve_space(xdr, XDR_UNIT * 8); in nfsd4_encode_open()
4193 maxcount_p = xdr_reserve_space(xdr, XDR_UNIT); in nfsd4_encode_readlink()
Dnfsd.h59 #define NFSD_BUFSIZE ((RPC_MAX_HEADER_WITH_AUTH+26)*XDR_UNIT + NFSSVC_MAXBLKSIZE)
Dnfs3proc.c563 buf->buflen = clamp(count, (u32)(XDR_UNIT * 2), sendbuf); in nfsd3_init_dirlist_pages()
564 buf->buflen -= XDR_UNIT * 2; in nfsd3_init_dirlist_pages()
Dnfs4proc.c2631 xdr_reserve_space(resp->xdr, XDR_UNIT); in nfsd4_proc_compound()
2634 xdr_reserve_space(resp->xdr, XDR_UNIT * 2 + args->taglen); in nfsd4_proc_compound()
/linux-6.6.21/include/linux/sunrpc/
Dxdr.h27 #define XDR_UNIT sizeof(__be32) macro
367 const size_t mask = XDR_UNIT - 1; in xdr_align_size()
397 const size_t len = XDR_UNIT; in xdr_stream_encode_item_present()
416 const size_t len = XDR_UNIT; in xdr_stream_encode_item_absent()
450 const size_t len = XDR_UNIT; in xdr_stream_encode_bool()
Dsvc.h560 rqstp->rq_accept_statp = xdr_reserve_space(xdr, XDR_UNIT); in svcxdr_set_accept_stat()
/linux-6.6.21/net/sunrpc/xprtrdma/
Dxprt_rdma.h102 char re_write_pad[XDR_UNIT];
Dfrwr_ops.c681 seg.mr_len = XDR_UNIT; in frwr_wp_create()
/linux-6.6.21/fs/nfs/
Dnfs42xdr.c256 * XDR_UNIT);
261 decode_putfh_maxsz + 1) * XDR_UNIT);
266 decode_putfh_maxsz + 3) * XDR_UNIT);
Dnfs4xdr.c926 XDR_UNIT);
932 XDR_UNIT);
937 XDR_UNIT);
1873 * XDR_UNIT + RPC_MAX_AUTH_SIZE; in encode_create_session()