Home
last modified time | relevance | path

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

12

/linux/fs/nfs/
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.c297 static void encode_fallocate(struct xdr_stream *xdr, in encode_fallocate()
305 static void encode_allocate(struct xdr_stream *xdr, in encode_allocate()
313 static void encode_nl4_server(struct xdr_stream *xdr, in encode_nl4_server()
333 static void encode_copy(struct xdr_stream *xdr, in encode_copy()
355 static void encode_copy_commit(struct xdr_stream *xdr, in encode_copy_commit()
367 static void encode_offload_cancel(struct xdr_stream *xdr, in encode_offload_cancel()
375 static void encode_offload_status(struct xdr_stream *xdr, in encode_offload_status()
383 static void encode_copy_notify(struct xdr_stream *xdr, in encode_copy_notify()
392 static void encode_deallocate(struct xdr_stream *xdr, in encode_deallocate()
400 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 Dcallback_xdr.c69 static bool nfs4_encode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs4_encode_void()
74 static __be32 decode_string(struct xdr_stream *xdr, unsigned int *len, in decode_string()
86 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fh()
103 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap()
124 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid()
135 static __be32 decode_delegation_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_delegation_stateid()
141 static __be32 decode_compound_hdr_arg(struct xdr_stream *xdr, struct cb_compound_hdr_arg *hdr) in decode_compound_hdr_arg()
166 static __be32 decode_op_hdr(struct xdr_stream *xdr, unsigned int *op) in decode_op_hdr()
177 struct xdr_stream *xdr, void *argp) in decode_getattr_args()
189 struct xdr_stream *xdr, void *argp) in decode_recall_args()
[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/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 …]
H A Dsvcauth_gss.c705 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_verify_header() local
863 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_unwrap_integ() local
938 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_unwrap_priv() local
1014 struct xdr_stream *xdr = &rqstp->rq_res_stream; in svcauth_gss_proc_init_verf() local
1050 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in gss_read_proxy_verf() local
1128 svcxdr_encode_gss_init_res(struct xdr_stream *xdr, in svcxdr_encode_gss_init_res()
1158 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_legacy_init() local
1378 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_proc_init() local
1568 svcauth_gss_decode_credbody(struct xdr_stream *xdr, in svcauth_gss_decode_credbody()
1789 struct xdr_stream *xdr = &rqstp->rq_res_stream; in svcauth_gss_wrap_integ() local
/linux/fs/nfsd/
H A Dnfs4xdr.c2287 nfsd4_vbuf_from_vector(struct nfsd4_compoundargs *argp, struct xdr_buf *xdr, in nfsd4_vbuf_from_vector()
2703 static __be32 nfsd4_encode_nfs_fh4(struct xdr_stream *xdr, in nfsd4_encode_nfs_fh4()
2710 static __be32 nfsd4_encode_nfstime4(struct xdr_stream *xdr, in nfsd4_encode_nfstime4()
2723 static __be32 nfsd4_encode_specdata4(struct xdr_stream *xdr, in nfsd4_encode_specdata4()
2735 nfsd4_encode_change_info4(struct xdr_stream *xdr, const struct nfsd4_change_info *c) in nfsd4_encode_change_info4()
2748 static __be32 nfsd4_encode_netaddr4(struct xdr_stream *xdr, in nfsd4_encode_netaddr4()
2764 static __be32 nfsd4_encode_components_esc(struct xdr_stream *xdr, char sep, in nfsd4_encode_components_esc()
2818 static __be32 nfsd4_encode_components(struct xdr_stream *xdr, char sep, in nfsd4_encode_components()
2824 static __be32 nfsd4_encode_fs_location4(struct xdr_stream *xdr, in nfsd4_encode_fs_location4()
2839 static __be32 nfsd4_encode_pathname4(struct xdr_stream *xdr, in nfsd4_encode_pathname4()
[all …]
H A Dblocklayoutxdr.c31 nfsd4_block_encode_layoutget(struct xdr_stream *xdr, in nfsd4_block_encode_layoutget()
59 nfsd4_block_encode_volume(struct xdr_stream *xdr, struct pnfs_block_volume *b) in nfsd4_block_encode_volume()
96 nfsd4_block_encode_getdeviceinfo(struct xdr_stream *xdr, in nfsd4_block_encode_getdeviceinfo()
152 nfsd4_block_decode_layoutupdate(struct xdr_stream *xdr, struct iomap **iomapp, in nfsd4_block_decode_layoutupdate()
246 nfsd4_scsi_decode_layoutupdate(struct xdr_stream *xdr, struct iomap **iomapp, in nfsd4_scsi_decode_layoutupdate()
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()
H A Dnfs4idmap.c563 static __be32 encode_ascii_id(struct xdr_stream *xdr, u32 id) in encode_ascii_id()
577 static __be32 idmap_id_to_name(struct xdr_stream *xdr, in idmap_id_to_name()
638 static __be32 encode_name_from_id(struct xdr_stream *xdr, in encode_name_from_id()
720 __be32 nfsd4_encode_user(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_user()
727 __be32 nfsd4_encode_group(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_group()
/linux/fs/lockd/
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()
/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()
H A Drpcb_clnt.c833 static void rpcb_enc_mapping(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_mapping()
846 static int rpcb_dec_getport(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getport()
867 static int rpcb_dec_set(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_set()
883 static void encode_rpcb_string(struct xdr_stream *xdr, const char *string, in encode_rpcb_string()
898 static void rpcb_enc_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_getaddr()
913 static int rpcb_dec_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getaddr()
H A Dauth_unix.c111 unx_marshal(struct rpc_task *task, struct xdr_stream *xdr) in unx_marshal()
173 unx_validate(struct rpc_task *task, struct xdr_stream *xdr) in unx_validate()
/linux/net/sunrpc/xprtrdma/
H A Drpc_rdma.c129 struct xdr_buf *xdr = &rqst->rq_snd_buf; in rpcrdma_args_inline() local
230 encode_rdma_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr) in encode_rdma_segment()
243 encode_read_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr, in encode_read_segment()
300 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_read_list() local
353 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_write_list() local
427 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_reply_chunk() local
548 struct xdr_buf *xdr) in rpcrdma_prepare_pagelist()
588 struct xdr_buf *xdr, in rpcrdma_prepare_tail_iov()
615 struct xdr_buf *xdr) in rpcrdma_pullup_tail_iov()
629 struct xdr_buf *xdr) in rpcrdma_pullup_pagelist()
[all …]
H A Dsvc_rdma_sendto.c621 svc_rdma_xb_dma_map(const struct xdr_buf * xdr,void * data) 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...]
H A Dsvc_rdma_rw.c457 const struct xdr_buf *xdr = info->wi_xdr; svc_rdma_pagelist_to_bvec() local
572 svc_rdma_pages_write(struct svc_rdma_write_info * info,const struct xdr_buf * xdr,unsigned int offset,unsigned long length) svc_rdma_pages_write() argument
593 svc_rdma_xb_write(const struct xdr_buf * xdr,void * data) svc_rdma_xb_write() argument
622 svc_rdma_send_write_chunk(struct svcxprt_rdma * rdma,const struct svc_rdma_chunk * chunk,const struct xdr_buf * xdr) svc_rdma_send_write_chunk() argument
664 svc_rdma_send_write_list(struct svcxprt_rdma * rdma,const struct svc_rdma_recv_ctxt * rctxt,const struct xdr_buf * xdr) svc_rdma_send_write_list() argument
698 svc_rdma_prepare_reply_chunk(struct svcxprt_rdma * rdma,const struct svc_rdma_pcl * write_pcl,const struct svc_rdma_pcl * reply_pcl,struct svc_rdma_send_ctxt * sctxt,const struct xdr_buf * xdr) svc_rdma_prepare_reply_chunk() argument
[all...]
H A Dsvc_rdma_pcl.c232 static int pcl_process_region(const struct xdr_buf *xdr, in pcl_process_region()
266 const struct xdr_buf *xdr, in pcl_process_nonpayloads()
/linux/net/rxrpc/
H A Dkey.c55 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_rxkad()
133 static u64 xdr_dec64(const __be32 *xdr) in xdr_dec64()
168 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_yfs_rxgk()
297 const __be32 *xdr = prep->data, *token, *p; in rxrpc_preparse_xdr() local
743 __be32 *xdr, *oldxdr; in rxrpc_read() local

12