| /linux/include/linux/sunrpc/xdrgen/ |
| H A D | _builtins.h | 30 __be32 *p = xdr_inline_decode(xdr, XDR_UNIT); in xdrgen_decode_bool() 41 __be32 *p = xdr_reserve_space(xdr, XDR_UNIT); in xdrgen_encode_bool() 58 __be32 *p = xdr_inline_decode(xdr, XDR_UNIT); in xdrgen_decode_int() 75 __be32 *p = xdr_reserve_space(xdr, XDR_UNIT); in xdrgen_decode_unsigned_int() 85 * 16-bit integer zero-extended to fill one XDR_UNIT. in xdrgen_encode_unsigned_int() 90 __be32 *p = xdr_inline_decode(xdr, XDR_UNIT); in xdrgen_encode_unsigned_int() 101 __be32 *p = xdr_reserve_space(xdr, XDR_UNIT); in xdrgen_decode_long() 112 __be32 *p = xdr_inline_decode(xdr, XDR_UNIT); in xdrgen_encode_long() 123 __be32 *p = xdr_reserve_space(xdr, XDR_UNIT); in xdrgen_decode_unsigned_long() 134 __be32 *p = xdr_inline_decode(xdr, XDR_UNIT); in xdrgen_encode_unsigned_long() [all...] |
| /linux/fs/nfsd/ |
| H A D | nfs4xdr.c | 242 p = xdr_inline_decode(argp->xdr, XDR_UNIT * 3); in nfsd4_decode_nfstime4() 1805 p = xdr_inline_decode(argp->xdr, XDR_UNIT * 7); in nfsd4_decode_channel_attrs4() 1949 p = xdr_inline_decode(argp->xdr, XDR_UNIT); in nfsd4_decode_layoutcommit() 2028 p = xdr_inline_decode(argp->xdr, XDR_UNIT * 4); in nfsd4_decode_sequence() 2612 max_reply += XDR_UNIT; in nfsd4_decode_compound() 2714 p = xdr_reserve_space(xdr, XDR_UNIT * 3); in nfsd4_encode_nfstime4() 2875 if (xdr_stream_encode_u32(xdr, ncomponents) != XDR_UNIT) in nfsd4_encode_pathname4() 2921 if (xdr_stream_encode_u32(xdr, fslocs->locations_count) != XDR_UNIT) in nfsd4_encode_fs_locations4() 3025 if (xdr_stream_encode_u32(xdr, 0) != XDR_UNIT) in nfsd4_encode_posixace4() 3052 if (xdr_stream_encode_u32(xdr, 0) != XDR_UNIT) in nfsd4_encode_posixacl() [all …]
|
| H A D | flexfilelayoutxdr.c | 91 if (xdr_stream_encode_u32(xdr, 0) != XDR_UNIT) in nfsd4_ff_encode_getdeviceinfo()
|
| H A D | blocklayoutxdr.c | 107 if (xdr_stream_encode_u32(xdr, 0) != XDR_UNIT) in nfsd4_block_encode_getdeviceinfo()
|
| H A D | nfs4callback.c | 312 p = xdr_inline_decode(xdr, XDR_UNIT); in decode_cb_compound4res() 469 p = xdr_reserve_space(xdr, XDR_UNIT * 4); in encode_cb_sequence4args()
|
| H A D | nfs4proc.c | 3052 xdr_reserve_space(resp->xdr, XDR_UNIT); in nfsd4_proc_compound() 3055 xdr_reserve_space(resp->xdr, XDR_UNIT * 2 + args->taglen); in nfsd4_proc_compound()
|
| /linux/fs/lockd/ |
| H A 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/net/sunrpc/auth_gss/ |
| H A D | svcauth_gss.c | 727 if (flavor != RPC_AUTH_GSS || checksum.len < XDR_UNIT) { in svcauth_gss_verify_header() 767 iov.iov_len = XDR_UNIT; in svcauth_gss_encode_verf() 895 if (read_bytes_from_xdr_buf(buf, offset + XDR_UNIT, checksum.data, in svcauth_gss_unwrap_integ() 909 xdr_truncate_decode(xdr, XDR_UNIT + checksum.len); in svcauth_gss_unwrap_integ() 1576 p = xdr_inline_decode(xdr, XDR_UNIT); in svcauth_gss_decode_credbody() 1602 if (body_len != XDR_UNIT * 5 + xdr_align_size(handle_len)) in svcauth_gss_decode_credbody() 1704 xdr_reserve_space(&rqstp->rq_res_stream, XDR_UNIT * 2); in svcauth_gss_accept() 1712 xdr_reserve_space(&rqstp->rq_res_stream, XDR_UNIT * 2); in svcauth_gss_accept() 1735 xdr_truncate_encode(&rqstp->rq_res_stream, XDR_UNIT * 2); in svcauth_gss_accept() 1800 if (xdr_buf_subsegment(buf, &databody_integ, offset + XDR_UNIT, in svcauth_gss_wrap_integ() [all …]
|
| H A D | auth_gss.c | 66 + XDR_UNIT * 2 /* RPC verifier */ \
|
| /linux/net/sunrpc/ |
| H A 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()
|
| H A D | svc.c | 1393 p = xdr_inline_decode(&rqstp->rq_arg_stream, XDR_UNIT * 4); in svc_process_common() 1525 xdr_truncate_encode(xdr, XDR_UNIT * 2); in svc_process_common() 1611 p = xdr_inline_decode(&rqstp->rq_arg_stream, XDR_UNIT * 2); in svc_process() 1681 if (!xdr_inline_decode(&rqstp->rq_arg_stream, XDR_UNIT * 2)) in svc_process_bc()
|
| H A D | svcauth_unix.c | 871 p = xdr_reserve_space(&rqstp->rq_res_stream, XDR_UNIT * 2 + 8); in svcauth_tls_accept() 931 p = xdr_inline_decode(xdr, XDR_UNIT * 3); in svcauth_unix_accept() 960 p = xdr_inline_decode(xdr, XDR_UNIT * len); in svcauth_unix_accept()
|
| /linux/include/linux/sunrpc/ |
| H A D | xdr.h | 27 #define XDR_UNIT sizeof(__be32) macro 359 const size_t mask = XDR_UNIT - 1; in xdr_align_size() 389 const size_t len = XDR_UNIT; in xdr_stream_encode_item_present() 408 const size_t len = XDR_UNIT; in xdr_stream_encode_item_absent() 442 const size_t len = XDR_UNIT; in xdr_stream_encode_bool()
|
| H A D | svc.h | 595 rqstp->rq_accept_statp = xdr_reserve_space(xdr, XDR_UNIT);
|
| /linux/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/ |
| H A D | variable_length_array.j2 | 9 if (xdr_stream_encode_u32(xdr, value->{{ name }}.count) != XDR_UNIT)
|
| /linux/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/ |
| H A D | variable_length_array.j2 | 9 if (xdr_stream_encode_u32(xdr, value->{{ name }}.count) != XDR_UNIT)
|
| /linux/tools/net/sunrpc/xdrgen/templates/C/typedef/encoder/ |
| H A D | variable_length_array.j2 | 20 if (xdr_stream_encode_u32(xdr, value.count) != XDR_UNIT)
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | xprt_rdma.h | 104 char re_write_pad[XDR_UNIT];
|
| H A D | frwr_ops.c | 682 seg.mr_len = XDR_UNIT; in frwr_wp_create()
|
| /linux/fs/nfs/ |
| H A D | nfs42xdr.c | 283 * XDR_UNIT); 288 decode_putfh_maxsz + 1) * XDR_UNIT); 293 decode_putfh_maxsz + 3) * XDR_UNIT);
|