Home
last modified time | relevance | path

Searched refs:xdr_reserve_space (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.1.9/fs/nfsd/
Dnfs4xdr.c2532 p = xdr_reserve_space(xdr, 4); in nfsd4_encode_components_esc()
2558 p = xdr_reserve_space(xdr, strlen + 4); in nfsd4_encode_components_esc()
2643 p = xdr_reserve_space(xdr, 4); in nfsd4_encode_path()
2654 p = xdr_reserve_space(xdr, len + 4); in nfsd4_encode_path()
2704 p = xdr_reserve_space(xdr, 4); in nfsd4_encode_fs_locations()
2748 p = xdr_reserve_space(xdr, 4 + 4 * i); in nfsd4_encode_layout_types()
2773 p = xdr_reserve_space(xdr, len + 4 + 4 + 4); in nfsd4_encode_security_label()
2835 p = xdr_reserve_space(xdr, 16); in nfsd4_encode_bitmap()
2843 p = xdr_reserve_space(xdr, 12); in nfsd4_encode_bitmap()
2850 p = xdr_reserve_space(xdr, 8); in nfsd4_encode_bitmap()
[all …]
Dnfs4callback.c108 p = xdr_reserve_space(xdr, 4); in encode_nfs_cb_opnum4()
123 p = xdr_reserve_space(xdr, 4 + length); in encode_nfs_fh4()
139 p = xdr_reserve_space(xdr, NFS4_STATEID_SIZE); in encode_stateid4()
154 p = xdr_reserve_space(xdr, NFS4_MAX_SESSIONID_LEN); in encode_sessionid4()
256 p = xdr_reserve_space(xdr, 4 + 4 + 4 + 4); in encode_cb_compound4args()
323 p = xdr_reserve_space(xdr, 4); in encode_cb_recall4args()
356 p = xdr_reserve_space(xdr, 4 + 4 + 4 + 4 + 4); in encode_cb_sequence4args()
463 xdr_reserve_space(xdr, 0); in nfs4_xdr_enc_cb_null()
558 p = xdr_reserve_space(xdr, 5 * 4); in encode_cb_layout4args()
567 p = xdr_reserve_space(xdr, 2 * 8); in encode_cb_layout4args()
[all …]
Dblocklayoutxdr.c24 p = xdr_reserve_space(xdr, sizeof(__be32) + len); in nfsd4_block_encode_layoutget()
49 p = xdr_reserve_space(xdr, len); in nfsd4_block_encode_volume()
60 p = xdr_reserve_space(xdr, len); in nfsd4_block_encode_volume()
85 p = xdr_reserve_space(xdr, len + sizeof(__be32)); in nfsd4_block_encode_getdeviceinfo()
Dflexfilelayoutxdr.c47 p = xdr_reserve_space(xdr, sizeof(__be32) + len); in nfsd4_ff_encode_layoutget()
94 p = xdr_reserve_space(xdr, len + sizeof(__be32)); in nfsd4_ff_encode_getdeviceinfo()
Dnfs3xdr.c114 p = xdr_reserve_space(xdr, sizeof(status)); in svcxdr_encode_nfsstat3()
128 p = xdr_reserve_space(xdr, XDR_UNIT + size); in svcxdr_encode_nfs_fh3()
155 p = xdr_reserve_space(xdr, NFS3_COOKIEVERFSIZE); in svcxdr_encode_cookieverf3()
168 p = xdr_reserve_space(xdr, NFS3_WRITEVERFSIZE); in svcxdr_encode_writeverf3()
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()
1188 p = xdr_reserve_space(xdr, XDR_UNIT * 13); in svcxdr_encode_fsstat3resok()
1231 p = xdr_reserve_space(xdr, XDR_UNIT * 12); in svcxdr_encode_fsinfo3resok()
1277 p = xdr_reserve_space(xdr, XDR_UNIT * 6); in svcxdr_encode_pathconf3resok()
Dnfsxdr.c41 p = xdr_reserve_space(xdr, sizeof(status)); in svcxdr_encode_stat()
78 p = xdr_reserve_space(xdr, NFS_FHSIZE); in svcxdr_encode_fhandle()
224 p = xdr_reserve_space(xdr, XDR_UNIT * 17); in svcxdr_encode_fattr()
537 p = xdr_reserve_space(xdr, XDR_UNIT * 5); in nfssvc_encode_statfsres()
Dnfs4idmap.c569 p = xdr_reserve_space(xdr, len + 4); in encode_ascii_id()
595 p = xdr_reserve_space(xdr, ret + 4); in idmap_id_to_name()
/linux-6.1.9/include/linux/sunrpc/
Dxdr.h245 extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes);
390 __be32 *p = xdr_reserve_space(xdr, len); in xdr_stream_encode_item_present()
409 __be32 *p = xdr_reserve_space(xdr, len); in xdr_stream_encode_item_absent()
443 __be32 *p = xdr_reserve_space(xdr, len); in xdr_stream_encode_bool()
464 __be32 *p = xdr_reserve_space(xdr, len); in xdr_stream_encode_u32()
485 __be32 *p = xdr_reserve_space(xdr, len); in xdr_stream_encode_u64()
507 __be32 *p = xdr_reserve_space(xdr, count); in xdr_stream_encode_opaque_inline()
531 __be32 *p = xdr_reserve_space(xdr, len); in xdr_stream_encode_opaque_fixed()
553 __be32 *p = xdr_reserve_space(xdr, count); in xdr_stream_encode_opaque()
576 __be32 *p = xdr_reserve_space(xdr, ret); in xdr_stream_encode_uint32_array()
/linux-6.1.9/net/sunrpc/auth_gss/
Dgss_rpc_xdr.c15 p = xdr_reserve_space(xdr, 4); in gssx_enc_bool()
38 p = xdr_reserve_space(xdr, sizeof(u32) + buf->len); in gssx_enc_buffer()
50 p = xdr_reserve_space(xdr, 4); in gssx_enc_in_token()
127 p = xdr_reserve_space(xdr, 4); in dummy_enc_opt_array()
357 p = xdr_reserve_space(xdr, 4); in gssx_enc_call_ctx()
406 p = xdr_reserve_space(xdr, 4); in dummy_enc_nameattr_array()
530 p = xdr_reserve_space(xdr, 4); in dummy_enc_credel_array()
601 p = xdr_reserve_space(xdr, 8+8); in gssx_enc_ctx()
695 p = xdr_reserve_space(xdr, 8); in gssx_enc_cb()
706 p = xdr_reserve_space(xdr, 8); in gssx_enc_cb()
/linux-6.1.9/net/sunrpc/
Dauth_unix.c123 p = xdr_reserve_space(xdr, 3 * sizeof(*p)); in unx_marshal()
132 p = xdr_reserve_space(xdr, 3 * sizeof(*p)); in unx_marshal()
144 p = xdr_reserve_space(xdr, (p - gidarr_len - 1) << 2); in unx_marshal()
150 p = xdr_reserve_space(xdr, 2 * sizeof(*p)); in unx_marshal()
Dauth_null.c67 p = xdr_reserve_space(xdr, 4 * sizeof(*p)); in nul_marshal()
Drpcb_clnt.c811 p = xdr_reserve_space(xdr, RPCB_mappingargs_sz << 2); in rpcb_enc_mapping()
866 p = xdr_reserve_space(xdr, 4 + len); in encode_rpcb_string()
876 p = xdr_reserve_space(xdr, (RPCB_program_sz + RPCB_version_sz) << 2); in rpcb_enc_getaddr()
/linux-6.1.9/fs/lockd/
Dclnt4xdr.c93 p = xdr_reserve_space(xdr, 4); in encode_bool()
101 p = xdr_reserve_space(xdr, 4); in encode_int32()
113 p = xdr_reserve_space(xdr, 4 + length); in encode_netobj()
207 p = xdr_reserve_space(xdr, 4); in encode_nlm4_stat()
250 p = xdr_reserve_space(xdr, 4 + 4); in encode_nlm4_holder()
311 p = xdr_reserve_space(xdr, 4 + length); in encode_caller_name()
335 p = xdr_reserve_space(xdr, 4 + 8 + 8); in encode_nlm4_lock()
Dclntxdr.c90 p = xdr_reserve_space(xdr, 4); in encode_bool()
98 p = xdr_reserve_space(xdr, 4); in encode_int32()
110 p = xdr_reserve_space(xdr, 4 + length); in encode_netobj()
201 p = xdr_reserve_space(xdr, 4); in encode_nlm_stat()
245 p = xdr_reserve_space(xdr, 4 + 4); in encode_nlm_holder()
305 p = xdr_reserve_space(xdr, 4 + length); in encode_caller_name()
329 p = xdr_reserve_space(xdr, 4 + 4 + 4); in encode_nlm_lock()
Dsvcxdr.h39 p = xdr_reserve_space(xdr, XDR_UNIT); in svcxdr_encode_stats()
107 p = xdr_reserve_space(xdr, cookie->len); in svcxdr_encode_cookie()
Dmon.c429 p = xdr_reserve_space(xdr, 4 + len); in encode_nsm_string()
452 p = xdr_reserve_space(xdr, 4 + 4 + 4); in encode_my_id()
477 p = xdr_reserve_space(xdr, SM_PRIV_SIZE); in encode_priv()
/linux-6.1.9/fs/nfs/
Dcallback_xdr.c606 p = xdr_reserve_space(xdr, 8); in encode_attr_change()
619 p = xdr_reserve_space(xdr, 8); in encode_attr_size()
630 p = xdr_reserve_space(xdr, 12); in encode_attr_time()
656 hdr->status = xdr_reserve_space(xdr, 4); in encode_compound_hdr_res()
662 hdr->nops = xdr_reserve_space(xdr, 4); in encode_compound_hdr_res()
672 p = xdr_reserve_space(xdr, 8); in encode_op_hdr()
693 savep = xdr_reserve_space(xdr, sizeof(*savep)); in encode_getattr_res()
718 p = xdr_reserve_space(xdr, NFS4_MAX_SESSIONID_LEN); in encode_sessionid()
741 p = xdr_reserve_space(xdr, 4 * sizeof(uint32_t)); in encode_cb_sequence_res()
Dnfs2xdr.c189 p = xdr_reserve_space(xdr, NFS2_FHSIZE); in encode_fhandle()
345 p = xdr_reserve_space(xdr, NFS_sattr_sz << 2); in encode_sattr()
389 p = xdr_reserve_space(xdr, 4 + length); in encode_filename()
425 p = xdr_reserve_space(xdr, 4); in encode_path()
619 p = xdr_reserve_space(xdr, 4 + 4 + 4); in encode_readargs()
657 p = xdr_reserve_space(xdr, 4 + 4 + 4 + 4); in encode_writeargs()
778 p = xdr_reserve_space(xdr, 4 + 4); in encode_readdirargs()
Dnfs3xdr.c137 __be32 *p = xdr_reserve_space(xdr, 4); in encode_uint32()
189 p = xdr_reserve_space(xdr, 4 + length); in encode_filename3()
301 p = xdr_reserve_space(xdr, NFS3_CREATEVERFSIZE); in encode_createverf3()
394 p = xdr_reserve_space(xdr, 8); in encode_specdata3()
423 p = xdr_reserve_space(xdr, 4 + fh->size); in encode_nfs_fh3()
561 p = xdr_reserve_space(xdr, nbytes); in encode_sattr3()
842 p = xdr_reserve_space(xdr, 4 + 8); in encode_sattrguard3()
846 p = xdr_reserve_space(xdr, 4); in encode_sattrguard3()
935 p = xdr_reserve_space(xdr, 8 + 4); in encode_read3args()
978 p = xdr_reserve_space(xdr, 8 + 4 + 4 + 4); in encode_write3args()
[all …]
/linux-6.1.9/net/sunrpc/xprtrdma/
Dsvc_rdma_sendto.c384 p = xdr_reserve_space(&sctxt->sc_stream, len); in svc_rdma_encode_write_segment()
874 p = xdr_reserve_space(&sctxt->sc_stream, in svc_rdma_send_error_msg()
886 p = xdr_reserve_space(&sctxt->sc_stream, 3 * sizeof(*p)); in svc_rdma_send_error_msg()
896 p = xdr_reserve_space(&sctxt->sc_stream, sizeof(*p)); in svc_rdma_send_error_msg()
951 p = xdr_reserve_space(&sctxt->sc_stream, in svc_rdma_sendto()
Drpc_rdma.c271 p = xdr_reserve_space(xdr, 4 * sizeof(*p)); in encode_rdma_segment()
285 p = xdr_reserve_space(xdr, 6 * sizeof(*p)); in encode_read_segment()
414 segcount = xdr_reserve_space(xdr, sizeof(*segcount)); in rpcrdma_encode_write_list()
492 segcount = xdr_reserve_space(xdr, sizeof(*segcount)); in rpcrdma_encode_reply_chunk()
882 p = xdr_reserve_space(xdr, 4 * sizeof(*p)); in rpcrdma_marshal_req()
Dbackchannel.c66 p = xdr_reserve_space(&req->rl_stream, 28); in rpcrdma_bc_marshal_reply()
Dsvc_rdma_backchannel.c157 p = xdr_reserve_space(&ctxt->sc_stream, RPCRDMA_HDRLEN_MIN); in rpcrdma_bc_send_request()
/linux-6.1.9/fs/nfs/flexfilelayout/
Dflexfilelayout.c2087 start = xdr_reserve_space(xdr, 4); in ff_layout_encode_ioerr()
2109 p = xdr_reserve_space(xdr, 8 + 8); in ff_layout_encode_ff_iostat_head()
2113 p = xdr_reserve_space(xdr, 4*8); in ff_layout_encode_ff_iostat_head()
2139 p = xdr_reserve_space(xdr, 4); in ff_layout_encode_iostats_array()
2199 start = xdr_reserve_space(xdr, 4); in ff_layout_encode_layoutreturn()
2385 p = xdr_reserve_space(xdr, 4 + netid_len); in ff_layout_encode_netaddr()
2388 p = xdr_reserve_space(xdr, 4 + len); in ff_layout_encode_netaddr()
2399 p = xdr_reserve_space(xdr, 12); in ff_layout_encode_nfstime()
2411 p = xdr_reserve_space(xdr, 5 * 8); in ff_layout_encode_io_latency()
2437 p = xdr_reserve_space(xdr, 4 + fh->size); in ff_layout_encode_ff_layoutupdate()
[all …]
/linux-6.1.9/fs/nfs_common/
Dnfsacl.c198 if (!xdr_reserve_space(xdr, XDR_UNIT + in nfs_stream_encode_acl()

12