Home
last modified time | relevance | path

Searched defs:xdr (Results 1 – 25 of 57) sorted by relevance

123

/linux/fs/nfs/
H A Dnfs4xdr.c968 static __be32 *reserve_space(struct xdr_stream *xdr, size_t nbytes) in reserve_space()
975 static void encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) in encode_string()
980 static void encode_uint32(struct xdr_stream *xdr, u32 n) in encode_uint32()
985 static void encode_uint64(struct xdr_stream *xdr, u64 n) in encode_uint64()
990 static ssize_t xdr_encode_bitmap4(struct xdr_stream *xdr, in xdr_encode_bitmap4()
1019 static void encode_nfs4_seqid(struct xdr_stream *xdr, in encode_nfs4_seqid()
1028 static void encode_compound_hdr(struct xdr_stream *xdr, in encode_compound_hdr()
1047 static void encode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 op, in encode_op_hdr()
1062 static void encode_nfs4_stateid(struct xdr_stream *xdr, in encode_nfs4_stateid()
1068 static void encode_nfs4_verifier(struct xdr_stream *xdr, const nfs4_verifier *verf) in encode_nfs4_verifier()
[all …]
H A Dnfs3xdr.c132 static void encode_uint32(struct xdr_stream *xdr, u32 value) in encode_uint32()
138 static int decode_uint32(struct xdr_stream *xdr, u32 *value) in decode_uint32()
149 static int decode_uint64(struct xdr_stream *xdr, u64 *value) in decode_uint64()
170 static int decode_fileid3(struct xdr_stream *xdr, u64 *fileid) in decode_fileid3()
180 static void encode_filename3(struct xdr_stream *xdr, in encode_filename3()
190 static int decode_inline_filename3(struct xdr_stream *xdr, in decode_inline_filename3()
219 static void encode_nfspath3(struct xdr_stream *xdr, struct page **pages, in encode_nfspath3()
226 static int decode_nfspath3(struct xdr_stream *xdr) in decode_nfspath3()
262 static int decode_cookie3(struct xdr_stream *xdr, u64 *cookie) in decode_cookie3()
278 static int decode_cookieverf3(struct xdr_stream *xdr, __be32 *verifier) in decode_cookieverf3()
[all …]
H A Dnfs42xdr.c295 static void encode_fallocate(struct xdr_stream *xdr, in encode_fallocate()
303 static void encode_allocate(struct xdr_stream *xdr, in encode_allocate()
311 static void encode_nl4_server(struct xdr_stream *xdr, in encode_nl4_server()
331 static void encode_copy(struct xdr_stream *xdr, in encode_copy()
353 static void encode_copy_commit(struct xdr_stream *xdr, in encode_copy_commit()
365 static void encode_offload_cancel(struct xdr_stream *xdr, in encode_offload_cancel()
373 static void encode_offload_status(struct xdr_stream *xdr, in encode_offload_status()
381 static void encode_copy_notify(struct xdr_stream *xdr, in encode_copy_notify()
390 static void encode_deallocate(struct xdr_stream *xdr, in encode_deallocate()
398 static void encode_read_plus(struct xdr_stream *xdr, in encode_read_plus()
[all …]
H A Dnfs2xdr.c93 static int decode_nfsdata(struct xdr_stream *xdr, struct nfs_pgio_res *result) in decode_nfsdata()
138 static int decode_stat(struct xdr_stream *xdr, enum nfs_stat *status) in decode_stat()
181 static void encode_fhandle(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fhandle()
189 static int decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fhandle()
262 static int decode_fattr(struct xdr_stream *xdr, struct nfs_fattr *fattr, in decode_fattr()
336 static void encode_sattr(struct xdr_stream *xdr, const struct iattr *attr, in encode_sattr()
379 static void encode_filename(struct xdr_stream *xdr, in encode_filename()
389 static int decode_filename_inline(struct xdr_stream *xdr, in decode_filename_inline()
417 static void encode_path(struct xdr_stream *xdr, struct page **pages, u32 length) in encode_path()
426 static int decode_path(struct xdr_stream *xdr) in decode_path()
[all …]
H A Dmount_clnt.c230 static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) in encode_mntdirpath()
239 static void mnt_xdr_enc_dirpath(struct rpc_rqst *req, struct xdr_stream *xdr, in mnt_xdr_enc_dirpath()
254 static int decode_status(struct xdr_stream *xdr, struct mountres *res) in decode_status()
277 static int decode_fhandle(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle()
292 struct xdr_stream *xdr, in mnt_xdr_dec_mountres()
304 static int decode_fhs_status(struct xdr_stream *xdr, struct mountres *res) in decode_fhs_status()
327 static int decode_fhandle3(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle3()
350 static int decode_auth_flavors(struct xdr_stream *xdr, struct mountres *res) in decode_auth_flavors()
385 struct xdr_stream *xdr, in mnt_xdr_dec_mountres3()
/linux/include/linux/sunrpc/xdrgen/
H A D_builtins.h16 xdrgen_decode_void(struct xdr_stream *xdr) in xdrgen_decode_void()
22 xdrgen_encode_void(struct xdr_stream *xdr) in xdrgen_encode_void()
28 xdrgen_decode_bool(struct xdr_stream *xdr, bool *ptr) in xdrgen_decode_bool()
39 xdrgen_encode_bool(struct xdr_stream *xdr, bool val) in xdrgen_encode_bool()
50 xdrgen_decode_int(struct xdr_stream *xdr, s32 *ptr) in xdrgen_decode_int()
61 xdrgen_encode_int(struct xdr_stream *xdr, s32 val) in xdrgen_encode_int()
72 xdrgen_decode_unsigned_int(struct xdr_stream *xdr, u32 *ptr) in xdrgen_decode_unsigned_int()
83 xdrgen_encode_unsigned_int(struct xdr_stream *xdr, u32 val) in xdrgen_encode_unsigned_int()
94 xdrgen_decode_long(struct xdr_stream *xdr, s32 *ptr) in xdrgen_decode_long()
105 xdrgen_encode_long(struct xdr_stream *xdr, s32 val) in xdrgen_encode_long()
[all …]
/linux/net/sunrpc/auth_gss/
H A Dgss_rpc_xdr.c11 static int gssx_enc_bool(struct xdr_stream *xdr, int v) in gssx_enc_bool()
22 static int gssx_dec_bool(struct xdr_stream *xdr, u32 *v) in gssx_dec_bool()
33 static int gssx_enc_buffer(struct xdr_stream *xdr, in gssx_enc_buffer()
45 static int gssx_enc_in_token(struct xdr_stream *xdr, in gssx_enc_in_token()
62 static int gssx_dec_buffer(struct xdr_stream *xdr, in gssx_dec_buffer()
95 static int gssx_enc_option(struct xdr_stream *xdr, in gssx_enc_option()
107 static int gssx_dec_option(struct xdr_stream *xdr, in gssx_dec_option()
119 static int dummy_enc_opt_array(struct xdr_stream *xdr, in dummy_enc_opt_array()
135 static int dummy_dec_opt_array(struct xdr_stream *xdr, in dummy_dec_opt_array()
156 static int get_host_u32(struct xdr_stream *xdr, u32 *res) in get_host_u32()
[all …]
/linux/fs/lockd/
H A Dxdr.c51 svcxdr_decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in svcxdr_decode_fhandle()
72 svcxdr_decode_lock(struct xdr_stream *xdr, struct nlm_lock *lock) in svcxdr_decode_lock()
104 svcxdr_encode_holder(struct xdr_stream *xdr, const struct nlm_lock *lock) in svcxdr_encode_holder()
130 svcxdr_encode_testrply(struct xdr_stream *xdr, const struct nlm_res *resp) in svcxdr_encode_testrply()
149 nlmsvc_decode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_void()
155 nlmsvc_decode_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_testargs()
173 nlmsvc_decode_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_lockargs()
198 nlmsvc_decode_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_cancargs()
218 nlmsvc_decode_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_unlockargs()
232 nlmsvc_decode_res(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_res()
[all …]
H A Dclnt4xdr.c89 static void encode_bool(struct xdr_stream *xdr, const int value) in encode_bool()
97 static void encode_int32(struct xdr_stream *xdr, const s32 value) in encode_int32()
108 static void encode_netobj(struct xdr_stream *xdr, in encode_netobj()
117 static int decode_netobj(struct xdr_stream *xdr, in decode_netobj()
133 static void encode_cookie(struct xdr_stream *xdr, in encode_cookie()
139 static int decode_cookie(struct xdr_stream *xdr, in decode_cookie()
174 static void encode_fh(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fh()
201 static void encode_nlm4_stat(struct xdr_stream *xdr, in encode_nlm4_stat()
211 static int decode_nlm4_stat(struct xdr_stream *xdr, __be32 *stat) in decode_nlm4_stat()
239 static void encode_nlm4_holder(struct xdr_stream *xdr, in encode_nlm4_holder()
[all …]
H A Dsvcxdr.h22 svcxdr_decode_stats(struct xdr_stream *xdr, __be32 *status) in svcxdr_decode_stats()
35 svcxdr_encode_stats(struct xdr_stream *xdr, __be32 status) in svcxdr_encode_stats()
48 svcxdr_decode_string(struct xdr_stream *xdr, char **data, unsigned int *data_len) in svcxdr_decode_string()
73 svcxdr_decode_cookie(struct xdr_stream *xdr, struct nlm_cookie *cookie) in svcxdr_decode_cookie()
101 svcxdr_encode_cookie(struct xdr_stream *xdr, const struct nlm_cookie *cookie) in svcxdr_encode_cookie()
116 svcxdr_decode_owner(struct xdr_stream *xdr, struct xdr_netobj *obj) in svcxdr_decode_owner()
135 svcxdr_encode_owner(struct xdr_stream *xdr, const struct xdr_netobj *obj) in svcxdr_encode_owner()
H A Dmon.c427 static void encode_nsm_string(struct xdr_stream *xdr, const char *string) in encode_nsm_string()
439 static void encode_mon_name(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_name()
450 static void encode_my_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_my_id()
465 static void encode_mon_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_id()
476 static void encode_priv(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_priv()
484 static void nsm_xdr_enc_mon(struct rpc_rqst *req, struct xdr_stream *xdr, in nsm_xdr_enc_mon()
491 static void nsm_xdr_enc_unmon(struct rpc_rqst *req, struct xdr_stream *xdr, in nsm_xdr_enc_unmon()
498 struct xdr_stream *xdr, in nsm_xdr_dec_stat_res()
516 struct xdr_stream *xdr, in nsm_xdr_dec_stat()
/linux/fs/nfsd/
H A Dnfs4xdr.c2150 nfsd4_vbuf_from_vector(struct nfsd4_compoundargs *argp, struct xdr_buf *xdr, in nfsd4_vbuf_from_vector()
2565 static __be32 nfsd4_encode_nfs_fh4(struct xdr_stream *xdr, in nfsd4_encode_nfs_fh4()
2572 static __be32 nfsd4_encode_nfstime4(struct xdr_stream *xdr, in nfsd4_encode_nfstime4()
2585 static __be32 nfsd4_encode_specdata4(struct xdr_stream *xdr, in nfsd4_encode_specdata4()
2597 nfsd4_encode_change_info4(struct xdr_stream *xdr, const struct nfsd4_change_info *c) in nfsd4_encode_change_info4()
2610 static __be32 nfsd4_encode_netaddr4(struct xdr_stream *xdr, in nfsd4_encode_netaddr4()
2626 static __be32 nfsd4_encode_components_esc(struct xdr_stream *xdr, char sep, in nfsd4_encode_components_esc()
2680 static __be32 nfsd4_encode_components(struct xdr_stream *xdr, char sep, in nfsd4_encode_components()
2686 static __be32 nfsd4_encode_fs_location4(struct xdr_stream *xdr, in nfsd4_encode_fs_location4()
2701 static __be32 nfsd4_encode_pathname4(struct xdr_stream *xdr, in nfsd4_encode_pathname4()
[all …]
H A Dnfs4callback.c79 static void encode_uint32(struct xdr_stream *xdr, u32 n) in encode_uint32()
84 static void encode_bitmap4(struct xdr_stream *xdr, const __u32 *bitmap, in encode_bitmap4()
90 static int decode_cb_fattr4(struct xdr_stream *xdr, uint32_t *bitmap, in decode_cb_fattr4()
127 static void encode_nfs_cb_opnum4(struct xdr_stream *xdr, enum nfs_cb_opnum4 op) in encode_nfs_cb_opnum4()
140 static void encode_nfs_fh4(struct xdr_stream *xdr, const struct knfsd_fh *fh) in encode_nfs_fh4()
158 static void encode_stateid4(struct xdr_stream *xdr, const stateid_t *sid) in encode_stateid4()
172 static void encode_sessionid4(struct xdr_stream *xdr, in encode_sessionid4()
242 static int decode_cb_op_status(struct xdr_stream *xdr, in decode_cb_op_status()
274 static void encode_cb_compound4args(struct xdr_stream *xdr, in encode_cb_compound4args()
306 static int decode_cb_compound4res(struct xdr_stream *xdr, in decode_cb_compound4res()
[all …]
H A Dblocklayoutxdr.c18 nfsd4_block_encode_layoutget(struct xdr_stream *xdr, in nfsd4_block_encode_layoutget()
41 nfsd4_block_encode_volume(struct xdr_stream *xdr, struct pnfs_block_volume *b) in nfsd4_block_encode_volume()
78 nfsd4_block_encode_getdeviceinfo(struct xdr_stream *xdr, in nfsd4_block_encode_getdeviceinfo()
134 nfsd4_block_decode_layoutupdate(struct xdr_stream *xdr, struct iomap **iomapp, in nfsd4_block_decode_layoutupdate()
228 nfsd4_scsi_decode_layoutupdate(struct xdr_stream *xdr, struct iomap **iomapp, in nfsd4_scsi_decode_layoutupdate()
H A Dnfs2acl.c194 nfsaclsvc_decode_getaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_decode_getaclargs()
207 nfsaclsvc_decode_setaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_decode_setaclargs()
228 nfsaclsvc_decode_accessargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_decode_accessargs()
246 nfsaclsvc_encode_getaclres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_encode_getaclres()
276 nfsaclsvc_encode_accessres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_encode_accessres()
H A Dnfs3acl.c133 nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_getaclargs()
146 nfs3svc_decode_setaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_setaclargs()
172 nfs3svc_encode_getaclres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_getaclres()
206 nfs3svc_encode_setaclres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_setaclres()
H A Dflexfilelayoutxdr.c19 nfsd4_ff_encode_layoutget(struct xdr_stream *xdr, in nfsd4_ff_encode_layoutget()
78 nfsd4_ff_encode_getdeviceinfo(struct xdr_stream *xdr, in nfsd4_ff_encode_getdeviceinfo()
/linux/net/sunrpc/
H A Dxdr.c148 const struct xdr_buf *xdr) in xdr_buf_to_bvec()
200 xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, in xdr_inline_pages()
892 unsigned int xdr_stream_pos(const struct xdr_stream *xdr) in xdr_stream_pos()
898 static void xdr_stream_set_pos(struct xdr_stream *xdr, unsigned int pos) in xdr_stream_set_pos()
905 static void xdr_stream_page_set_pos(struct xdr_stream *xdr, unsigned int pos) in xdr_stream_page_set_pos()
914 unsigned int xdr_page_pos(const struct xdr_stream *xdr) in xdr_page_pos()
937 void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, in xdr_init_encode()
970 void xdr_init_encode_pages(struct xdr_stream *xdr, struct xdr_buf *buf) in xdr_init_encode_pages()
996 void __xdr_commit_encode(struct xdr_stream *xdr) in __xdr_commit_encode()
1013 static noinline __be32 *xdr_get_next_encode_buffer(struct xdr_stream *xdr, in xdr_get_next_encode_buffer()
[all …]
H A Dauth_tls.c19 static void tls_encode_probe(struct rpc_rqst *rqstp, struct xdr_stream *xdr, in tls_encode_probe()
24 static int tls_decode_probe(struct rpc_rqst *rqstp, struct xdr_stream *xdr, in tls_decode_probe()
99 static int tls_marshal(struct rpc_task *task, struct xdr_stream *xdr) in tls_marshal()
121 static int tls_validate(struct rpc_task *task, struct xdr_stream *xdr) in tls_validate()
H A Dsocklib.c65 xdr_partial_copy_from_skb(struct xdr_buf *xdr, struct xdr_skb_reader *desc) in xdr_partial_copy_from_skb()
126 int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb) in csum_partial_copy_to_xdr()
176 struct xdr_buf *xdr, size_t base) in xprt_send_pagedata()
219 struct xdr_buf *xdr, unsigned int base, in xprt_sock_sendmsg()
H A Dauth.c724 int rpcauth_marshcred(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_marshcred()
739 int rpcauth_wrap_req_encode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req_encode()
757 int rpcauth_wrap_req(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req()
779 rpcauth_checkverf(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_checkverf()
794 rpcauth_unwrap_resp_decode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp_decode()
810 rpcauth_unwrap_resp(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp()
H A Dauth_null.c63 nul_marshal(struct rpc_task *task, struct xdr_stream *xdr) in nul_marshal()
90 nul_validate(struct rpc_task *task, struct xdr_stream *xdr) in nul_validate()
/linux/include/linux/sunrpc/
H A Dxdr.h284 xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen) in xdr_set_scratch_buffer()
298 xdr_set_scratch_folio(struct xdr_stream *xdr, struct folio *folio) in xdr_set_scratch_folio()
310 xdr_reset_scratch_buffer(struct xdr_stream *xdr) in xdr_reset_scratch_buffer()
323 static inline void xdr_commit_encode(struct xdr_stream *xdr) in xdr_commit_encode()
337 xdr_stream_remaining(const struct xdr_stream *xdr) in xdr_stream_remaining()
387 static inline ssize_t xdr_stream_encode_item_present(struct xdr_stream *xdr) in xdr_stream_encode_item_present()
406 static inline int xdr_stream_encode_item_absent(struct xdr_stream *xdr) in xdr_stream_encode_item_absent()
440 static inline int xdr_stream_encode_bool(struct xdr_stream *xdr, __u32 n) in xdr_stream_encode_bool()
461 xdr_stream_encode_u32(struct xdr_stream *xdr, __u32 n) in xdr_stream_encode_u32()
482 xdr_stream_encode_be32(struct xdr_stream *xdr, __be32 n) in xdr_stream_encode_be32()
[all …]
/linux/net/sunrpc/xprtrdma/
H A Drpc_rdma.c129 struct xdr_buf *xdr = &rqst->rq_snd_buf; in rpcrdma_args_inline() local
267 encode_rdma_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr) in encode_rdma_segment()
280 encode_read_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr, in encode_read_segment()
338 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_read_list() local
395 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_write_list() local
473 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_reply_chunk() local
597 struct xdr_buf *xdr) in rpcrdma_prepare_pagelist()
637 struct xdr_buf *xdr, in rpcrdma_prepare_tail_iov()
664 struct xdr_buf *xdr) in rpcrdma_pullup_tail_iov()
678 struct xdr_buf *xdr) in rpcrdma_pullup_pagelist()
[all …]
H A Dsvc_rdma_sendto.c621 * @xdr: xdr_buf containing portion of an RPC message to transmit in svc_rdma_xb_dma_map() argument
667 svc_rdma_xb_count_sges(const struct xdr_buf * xdr,void * data) svc_rdma_xb_count_sges() argument
706 svc_rdma_pull_up_needed(const struct svcxprt_rdma * rdma,const struct svc_rdma_send_ctxt * sctxt,const struct svc_rdma_pcl * write_pcl,const struct xdr_buf * xdr) svc_rdma_pull_up_needed() argument
733 svc_rdma_xb_linearize(const struct xdr_buf * xdr,void * data) svc_rdma_xb_linearize() argument
787 svc_rdma_pull_up_reply_msg(const struct svcxprt_rdma * rdma,struct svc_rdma_send_ctxt * sctxt,const struct svc_rdma_pcl * write_pcl,const struct xdr_buf * xdr) svc_rdma_pull_up_reply_msg() argument
822 svc_rdma_map_reply_msg(struct svcxprt_rdma * rdma,struct svc_rdma_send_ctxt * sctxt,const struct svc_rdma_pcl * write_pcl,const struct svc_rdma_pcl * reply_pcl,const struct xdr_buf * xdr) svc_rdma_map_reply_msg() argument
[all...]

123