/linux-6.6.21/fs/lockd/ |
D | svcxdr.h | 26 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/ |
D | nfsacl.c | 156 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/ |
D | auth_tls.c | 103 p = xdr_reserve_space(xdr, 4 * XDR_UNIT); in tls_marshal() 126 p = xdr_inline_decode(xdr, XDR_UNIT); in tls_validate()
|
D | svcauth_unix.c | 870 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()
|
D | svc.c | 1316 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/ |
D | svcauth_gss.c | 767 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 …]
|
D | auth_gss.c | 64 + XDR_UNIT * 2 /* RPC verifier */ \
|
/linux-6.6.21/fs/nfsd/ |
D | nfs3xdr.c | 62 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()
|
D | nfsxdr.c | 136 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()
|
D | flexfilelayoutxdr.c | 92 if (xdr_stream_encode_u32(xdr, 0) != XDR_UNIT) in nfsd4_ff_encode_getdeviceinfo()
|
D | blocklayoutxdr.c | 90 if (xdr_stream_encode_u32(xdr, 0) != XDR_UNIT) in nfsd4_block_encode_getdeviceinfo()
|
D | nfsproc.c | 561 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()
|
D | nfs4xdr.c | 240 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()
|
D | nfsd.h | 59 #define NFSD_BUFSIZE ((RPC_MAX_HEADER_WITH_AUTH+26)*XDR_UNIT + NFSSVC_MAXBLKSIZE)
|
D | nfs3proc.c | 563 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()
|
D | nfs4proc.c | 2631 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/ |
D | xdr.h | 27 #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()
|
D | svc.h | 560 rqstp->rq_accept_statp = xdr_reserve_space(xdr, XDR_UNIT); in svcxdr_set_accept_stat()
|
/linux-6.6.21/net/sunrpc/xprtrdma/ |
D | xprt_rdma.h | 102 char re_write_pad[XDR_UNIT];
|
D | frwr_ops.c | 681 seg.mr_len = XDR_UNIT; in frwr_wp_create()
|
/linux-6.6.21/fs/nfs/ |
D | nfs42xdr.c | 256 * XDR_UNIT); 261 decode_putfh_maxsz + 1) * XDR_UNIT); 266 decode_putfh_maxsz + 3) * XDR_UNIT);
|
D | nfs4xdr.c | 926 XDR_UNIT); 932 XDR_UNIT); 937 XDR_UNIT); 1873 * XDR_UNIT + RPC_MAX_AUTH_SIZE; in encode_create_session()
|