Home
last modified time | relevance | path

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

12

/Linux-v4.19/fs/nfs/
Dnfs3xdr.c124 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
143 static void encode_uint32(struct xdr_stream *xdr, u32 value) in encode_uint32()
149 static int decode_uint32(struct xdr_stream *xdr, u32 *value) in decode_uint32()
163 static int decode_uint64(struct xdr_stream *xdr, u64 *value) in decode_uint64()
187 static int decode_fileid3(struct xdr_stream *xdr, u64 *fileid) in decode_fileid3()
197 static void encode_filename3(struct xdr_stream *xdr, in encode_filename3()
207 static int decode_inline_filename3(struct xdr_stream *xdr, in decode_inline_filename3()
239 static void encode_nfspath3(struct xdr_stream *xdr, struct page **pages, in encode_nfspath3()
246 static int decode_nfspath3(struct xdr_stream *xdr) in decode_nfspath3()
285 static int decode_cookie3(struct xdr_stream *xdr, u64 *cookie) in decode_cookie3()
[all …]
Dnfs4xdr.c948 static __be32 *reserve_space(struct xdr_stream *xdr, size_t nbytes) in reserve_space()
955 static void encode_opaque_fixed(struct xdr_stream *xdr, const void *buf, size_t len) in encode_opaque_fixed()
960 static void encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) in encode_string()
965 static void encode_uint32(struct xdr_stream *xdr, u32 n) in encode_uint32()
970 static void encode_uint64(struct xdr_stream *xdr, u64 n) in encode_uint64()
975 static ssize_t xdr_encode_bitmap4(struct xdr_stream *xdr, in xdr_encode_bitmap4()
1004 static void encode_nfs4_seqid(struct xdr_stream *xdr, in encode_nfs4_seqid()
1013 static void encode_compound_hdr(struct xdr_stream *xdr, in encode_compound_hdr()
1033 static void encode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 op, in encode_op_hdr()
1048 static void encode_nfs4_stateid(struct xdr_stream *xdr, const nfs4_stateid *stateid) in encode_nfs4_stateid()
[all …]
Dnfs42xdr.c124 static void encode_fallocate(struct xdr_stream *xdr, in encode_fallocate()
132 static void encode_allocate(struct xdr_stream *xdr, in encode_allocate()
140 static void encode_copy(struct xdr_stream *xdr, in encode_copy()
157 static void encode_offload_cancel(struct xdr_stream *xdr, in encode_offload_cancel()
165 static void encode_deallocate(struct xdr_stream *xdr, in encode_deallocate()
173 static void encode_seek(struct xdr_stream *xdr, in encode_seek()
183 static void encode_layoutstats(struct xdr_stream *xdr, in encode_layoutstats()
211 static void encode_clone(struct xdr_stream *xdr, in encode_clone()
230 struct xdr_stream *xdr, in nfs4_xdr_enc_allocate()
246 static void encode_copy_commit(struct xdr_stream *xdr, in encode_copy_commit()
[all …]
Dnfs2xdr.c85 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
107 static int decode_nfsdata(struct xdr_stream *xdr, struct nfs_pgio_res *result) in decode_nfsdata()
155 static int decode_stat(struct xdr_stream *xdr, enum nfs_stat *status) in decode_stat()
195 static void encode_fhandle(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fhandle()
203 static int decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fhandle()
279 static int decode_fattr(struct xdr_stream *xdr, struct nfs_fattr *fattr) in decode_fattr()
355 static void encode_sattr(struct xdr_stream *xdr, const struct iattr *attr) in encode_sattr()
402 static void encode_filename(struct xdr_stream *xdr, in encode_filename()
412 static int decode_filename_inline(struct xdr_stream *xdr, in decode_filename_inline()
443 static void encode_path(struct xdr_stream *xdr, struct page **pages, u32 length) in encode_path()
[all …]
Dcallback_xdr.c75 static __be32 *read_buf(struct xdr_stream *xdr, size_t nbytes) in read_buf()
85 static __be32 decode_string(struct xdr_stream *xdr, unsigned int *len, in decode_string()
97 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fh()
115 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap()
134 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid()
145 static __be32 decode_delegation_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_delegation_stateid()
151 static __be32 decode_compound_hdr_arg(struct xdr_stream *xdr, struct cb_compound_hdr_arg *hdr) in decode_compound_hdr_arg()
176 static __be32 decode_op_hdr(struct xdr_stream *xdr, unsigned int *op) in decode_op_hdr()
187 struct xdr_stream *xdr, void *argp) in decode_getattr_args()
199 struct xdr_stream *xdr, void *argp) in decode_recall_args()
[all …]
Dmount_clnt.c298 static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) in encode_mntdirpath()
307 static void mnt_xdr_enc_dirpath(struct rpc_rqst *req, struct xdr_stream *xdr, in mnt_xdr_enc_dirpath()
322 static int decode_status(struct xdr_stream *xdr, struct mountres *res) in decode_status()
345 static int decode_fhandle(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle()
360 struct xdr_stream *xdr, in mnt_xdr_dec_mountres()
372 static int decode_fhs_status(struct xdr_stream *xdr, struct mountres *res) in decode_fhs_status()
395 static int decode_fhandle3(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle3()
418 static int decode_auth_flavors(struct xdr_stream *xdr, struct mountres *res) in decode_auth_flavors()
453 struct xdr_stream *xdr, in mnt_xdr_dec_mountres3()
/Linux-v4.19/net/sunrpc/auth_gss/
Dgss_rpc_xdr.c24 static int gssx_enc_bool(struct xdr_stream *xdr, int v) in gssx_enc_bool()
35 static int gssx_dec_bool(struct xdr_stream *xdr, u32 *v) in gssx_dec_bool()
46 static int gssx_enc_buffer(struct xdr_stream *xdr, in gssx_enc_buffer()
58 static int gssx_enc_in_token(struct xdr_stream *xdr, in gssx_enc_in_token()
75 static int gssx_dec_buffer(struct xdr_stream *xdr, in gssx_dec_buffer()
108 static int gssx_enc_option(struct xdr_stream *xdr, in gssx_enc_option()
120 static int gssx_dec_option(struct xdr_stream *xdr, in gssx_dec_option()
132 static int dummy_enc_opt_array(struct xdr_stream *xdr, in dummy_enc_opt_array()
148 static int dummy_dec_opt_array(struct xdr_stream *xdr, in dummy_dec_opt_array()
169 static int get_host_u32(struct xdr_stream *xdr, u32 *res) in get_host_u32()
[all …]
/Linux-v4.19/fs/lockd/
Dclntxdr.c76 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
97 static void encode_bool(struct xdr_stream *xdr, const int value) in encode_bool()
105 static void encode_int32(struct xdr_stream *xdr, const s32 value) in encode_int32()
116 static void encode_netobj(struct xdr_stream *xdr, in encode_netobj()
125 static int decode_netobj(struct xdr_stream *xdr, in decode_netobj()
151 static void encode_cookie(struct xdr_stream *xdr, in encode_cookie()
157 static int decode_cookie(struct xdr_stream *xdr, in decode_cookie()
193 static void encode_fh(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fh()
217 static void encode_nlm_stat(struct xdr_stream *xdr, in encode_nlm_stat()
227 static int decode_nlm_stat(struct xdr_stream *xdr, in decode_nlm_stat()
[all …]
Dclnt4xdr.c80 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
100 static void encode_bool(struct xdr_stream *xdr, const int value) in encode_bool()
108 static void encode_int32(struct xdr_stream *xdr, const s32 value) in encode_int32()
119 static void encode_netobj(struct xdr_stream *xdr, in encode_netobj()
128 static int decode_netobj(struct xdr_stream *xdr, in decode_netobj()
154 static void encode_cookie(struct xdr_stream *xdr, in encode_cookie()
160 static int decode_cookie(struct xdr_stream *xdr, in decode_cookie()
196 static void encode_fh(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fh()
223 static void encode_nlm4_stat(struct xdr_stream *xdr, in encode_nlm4_stat()
233 static int decode_nlm4_stat(struct xdr_stream *xdr, __be32 *stat) in decode_nlm4_stat()
[all …]
Dmon.c423 static void encode_nsm_string(struct xdr_stream *xdr, const char *string) in encode_nsm_string()
435 static void encode_mon_name(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_name()
446 static void encode_my_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_my_id()
461 static void encode_mon_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_id()
472 static void encode_priv(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_priv()
480 static void nsm_xdr_enc_mon(struct rpc_rqst *req, struct xdr_stream *xdr, in nsm_xdr_enc_mon()
487 static void nsm_xdr_enc_unmon(struct rpc_rqst *req, struct xdr_stream *xdr, in nsm_xdr_enc_unmon()
494 struct xdr_stream *xdr, in nsm_xdr_dec_stat_res()
512 struct xdr_stream *xdr, in nsm_xdr_dec_stat()
/Linux-v4.19/net/sunrpc/xprtrdma/
Drpc_rdma.c133 struct xdr_buf *xdr = &rqst->rq_snd_buf; in rpcrdma_args_inline() local
265 encode_item_present(struct xdr_stream *xdr) in encode_item_present()
278 encode_item_not_present(struct xdr_stream *xdr) in encode_item_not_present()
299 encode_rdma_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr) in encode_rdma_segment()
312 encode_read_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr, in encode_read_segment()
345 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_read_list() local
397 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_write_list() local
457 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_reply_chunk() local
557 struct xdr_buf *xdr, enum rpcrdma_chunktype rtype) in rpcrdma_prepare_msg_sges()
689 struct xdr_buf *xdr, enum rpcrdma_chunktype rtype) in rpcrdma_prepare_send_sges()
[all …]
Dsvc_rdma_rw.c380 struct xdr_buf *xdr = info->wi_xdr; in svc_rdma_pagelist_to_sg() local
499 struct xdr_buf *xdr) in svc_rdma_send_xdr_pagelist()
521 struct xdr_buf *xdr) in svc_rdma_send_write_chunk()
564 bool writelist, struct xdr_buf *xdr) in svc_rdma_send_reply_chunk()
/Linux-v4.19/net/sunrpc/
Dxdr.c132 xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, in xdr_inline_pages()
441 unsigned int xdr_stream_pos(const struct xdr_stream *xdr) in xdr_stream_pos()
460 void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p) in xdr_init_encode()
498 void xdr_commit_encode(struct xdr_stream *xdr) in xdr_commit_encode()
512 static __be32 *xdr_get_next_encode_buffer(struct xdr_stream *xdr, in xdr_get_next_encode_buffer()
562 __be32 * xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes) in xdr_reserve_space()
603 void xdr_truncate_encode(struct xdr_stream *xdr, size_t len) in xdr_truncate_encode()
666 int xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen) in xdr_restrict_buflen()
691 void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, in xdr_write_pages()
718 static void xdr_set_iov(struct xdr_stream *xdr, struct kvec *iov, in xdr_set_iov()
[all …]
Dsocklib.c72 ssize_t xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct xdr_skb_reader *de… in xdr_partial_copy_from_skb()
153 int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb) in csum_partial_copy_to_xdr()
Drpcb_clnt.c846 static void rpcb_enc_mapping(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_mapping()
864 static int rpcb_dec_getport(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getport()
887 static int rpcb_dec_set(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_set()
908 static void encode_rpcb_string(struct xdr_stream *xdr, const char *string, in encode_rpcb_string()
923 static void rpcb_enc_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_getaddr()
944 static int rpcb_dec_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getaddr()
/Linux-v4.19/fs/nfsd/
Dnfs4xdr.c2050 static __be32 nfsd4_encode_components_esc(struct xdr_stream *xdr, char sep, in nfsd4_encode_components_esc()
2110 static __be32 nfsd4_encode_components(struct xdr_stream *xdr, char sep, in nfsd4_encode_components()
2119 static __be32 nfsd4_encode_fs_location4(struct xdr_stream *xdr, in nfsd4_encode_fs_location4()
2137 static __be32 nfsd4_encode_path(struct xdr_stream *xdr, in nfsd4_encode_path()
2207 static __be32 nfsd4_encode_fsloc_fsroot(struct xdr_stream *xdr, in nfsd4_encode_fsloc_fsroot()
2224 static __be32 nfsd4_encode_fs_locations(struct xdr_stream *xdr, in nfsd4_encode_fs_locations()
2262 nfsd4_encode_aclname(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_aclname()
2274 nfsd4_encode_layout_types(struct xdr_stream *xdr, u32 layout_types) in nfsd4_encode_layout_types()
2299 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label()
2319 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label()
[all …]
Dnfs4callback.c65 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
111 static void encode_nfs_cb_opnum4(struct xdr_stream *xdr, enum nfs_cb_opnum4 op) in encode_nfs_cb_opnum4()
124 static void encode_nfs_fh4(struct xdr_stream *xdr, const struct knfsd_fh *fh) in encode_nfs_fh4()
142 static void encode_stateid4(struct xdr_stream *xdr, const stateid_t *sid) in encode_stateid4()
156 static void encode_sessionid4(struct xdr_stream *xdr, in encode_sessionid4()
226 static int decode_cb_op_status(struct xdr_stream *xdr, in decode_cb_op_status()
259 static void encode_cb_compound4args(struct xdr_stream *xdr, in encode_cb_compound4args()
291 static int decode_cb_compound4res(struct xdr_stream *xdr, in decode_cb_compound4res()
323 static void encode_cb_recall4args(struct xdr_stream *xdr, in encode_cb_recall4args()
352 static void encode_cb_sequence4args(struct xdr_stream *xdr, in encode_cb_sequence4args()
[all …]
Dblocklayoutxdr.c17 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()
Dflexfilelayoutxdr.c19 nfsd4_ff_encode_layoutget(struct xdr_stream *xdr, in nfsd4_ff_encode_layoutget()
79 nfsd4_ff_encode_getdeviceinfo(struct xdr_stream *xdr, in nfsd4_ff_encode_getdeviceinfo()
Dnfs4idmap.c547 static __be32 encode_ascii_id(struct xdr_stream *xdr, u32 id) in encode_ascii_id()
561 static __be32 idmap_id_to_name(struct xdr_stream *xdr, in idmap_id_to_name()
617 static __be32 encode_name_from_id(struct xdr_stream *xdr, in encode_name_from_id()
659 __be32 nfsd4_encode_user(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_user()
666 __be32 nfsd4_encode_group(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_group()
/Linux-v4.19/include/linux/sunrpc/
Dxdr.h251 xdr_stream_remaining(const struct xdr_stream *xdr) in xdr_stream_remaining()
289 xdr_stream_encode_u32(struct xdr_stream *xdr, __u32 n) in xdr_stream_encode_u32()
310 xdr_stream_encode_u64(struct xdr_stream *xdr, __u64 n) in xdr_stream_encode_u64()
332 xdr_stream_encode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t len) in xdr_stream_encode_opaque_inline()
357 xdr_stream_encode_opaque_fixed(struct xdr_stream *xdr, const void *ptr, size_t len) in xdr_stream_encode_opaque_fixed()
378 xdr_stream_encode_opaque(struct xdr_stream *xdr, const void *ptr, size_t len) in xdr_stream_encode_opaque()
400 xdr_stream_encode_uint32_array(struct xdr_stream *xdr, in xdr_stream_encode_uint32_array()
424 xdr_stream_decode_u32(struct xdr_stream *xdr, __u32 *ptr) in xdr_stream_decode_u32()
446 xdr_stream_decode_opaque_fixed(struct xdr_stream *xdr, void *ptr, size_t len) in xdr_stream_decode_opaque_fixed()
473 xdr_stream_decode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t maxlen) in xdr_stream_decode_opaque_inline()
[all …]
/Linux-v4.19/net/rxrpc/
Dkey.c92 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_rxkad()
221 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_principal() local
297 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_tagged_data() local
344 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_tagged_array() local
393 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_ticket() local
433 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_rxk5()
561 const __be32 *xdr = prep->data, *token; in rxrpc_preparse_xdr() local
1052 __be32 __user *xdr, *oldxdr; in rxrpc_read() local
/Linux-v4.19/fs/nfs/flexfilelayout/
Dflexfilelayout.c70 static int decode_pnfs_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_pnfs_stateid()
84 static int decode_deviceid(struct xdr_stream *xdr, struct nfs4_deviceid *devid) in decode_deviceid()
96 static int decode_nfs_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_nfs_fh()
128 decode_name(struct xdr_stream *xdr, u32 *id) in decode_name()
1922 static int ff_layout_encode_ioerr(struct xdr_stream *xdr, in ff_layout_encode_ioerr()
1938 encode_opaque_fixed(struct xdr_stream *xdr, const void *buf, size_t len) in encode_opaque_fixed()
1944 ff_layout_encode_ff_iostat_head(struct xdr_stream *xdr, in ff_layout_encode_ff_iostat_head()
1963 ff_layout_encode_ff_iostat(struct xdr_stream *xdr, in ff_layout_encode_ff_iostat()
1973 static void ff_layout_encode_iostats_array(struct xdr_stream *xdr, in ff_layout_encode_iostats_array()
2016 ff_layout_encode_layoutreturn(struct xdr_stream *xdr, in ff_layout_encode_layoutreturn()
[all …]
/Linux-v4.19/fs/afs/
Daddr_list.c238 void afs_merge_fs_addr4(struct afs_addr_list *alist, __be32 xdr, u16 port) in afs_merge_fs_addr4()
274 void afs_merge_fs_addr6(struct afs_addr_list *alist, __be32 *xdr, u16 port) in afs_merge_fs_addr6()
/Linux-v4.19/fs/nfs/blocklayout/
Ddev.c53 nfs4_block_decode_volume(struct xdr_stream *xdr, struct pnfs_block_volume *b) in nfs4_block_decode_volume()
502 struct xdr_stream xdr; in bl_alloc_deviceid_node() local

12