Home
last modified time | relevance | path

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

12

/fs/nfs/
Dnfs4xdr.c952 static __be32 *reserve_space(struct xdr_stream *xdr, size_t nbytes) in reserve_space()
959 static void encode_opaque_fixed(struct xdr_stream *xdr, const void *buf, size_t len) in encode_opaque_fixed()
964 static void encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) in encode_string()
969 static void encode_uint32(struct xdr_stream *xdr, u32 n) in encode_uint32()
974 static void encode_uint64(struct xdr_stream *xdr, u64 n) in encode_uint64()
979 static ssize_t xdr_encode_bitmap4(struct xdr_stream *xdr, in xdr_encode_bitmap4()
1008 static void encode_nfs4_seqid(struct xdr_stream *xdr, in encode_nfs4_seqid()
1017 static void encode_compound_hdr(struct xdr_stream *xdr, in encode_compound_hdr()
1036 static void encode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 op, in encode_op_hdr()
1051 static void encode_nfs4_stateid(struct xdr_stream *xdr, const nfs4_stateid *stateid) in encode_nfs4_stateid()
[all …]
Dnfs42xdr.c261 static void encode_fallocate(struct xdr_stream *xdr, in encode_fallocate()
269 static void encode_allocate(struct xdr_stream *xdr, in encode_allocate()
277 static void encode_nl4_server(struct xdr_stream *xdr, in encode_nl4_server()
297 static void encode_copy(struct xdr_stream *xdr, in encode_copy()
319 static void encode_offload_cancel(struct xdr_stream *xdr, in encode_offload_cancel()
327 static void encode_copy_notify(struct xdr_stream *xdr, in encode_copy_notify()
336 static void encode_deallocate(struct xdr_stream *xdr, in encode_deallocate()
344 static void encode_read_plus(struct xdr_stream *xdr, in encode_read_plus()
354 static void encode_seek(struct xdr_stream *xdr, in encode_seek()
364 static void encode_layoutstats(struct xdr_stream *xdr, in encode_layoutstats()
[all …]
Dnfs3xdr.c133 static void encode_uint32(struct xdr_stream *xdr, u32 value) in encode_uint32()
139 static int decode_uint32(struct xdr_stream *xdr, u32 *value) in decode_uint32()
150 static int decode_uint64(struct xdr_stream *xdr, u64 *value) in decode_uint64()
171 static int decode_fileid3(struct xdr_stream *xdr, u64 *fileid) in decode_fileid3()
181 static void encode_filename3(struct xdr_stream *xdr, in encode_filename3()
191 static int decode_inline_filename3(struct xdr_stream *xdr, in decode_inline_filename3()
220 static void encode_nfspath3(struct xdr_stream *xdr, struct page **pages, in encode_nfspath3()
227 static int decode_nfspath3(struct xdr_stream *xdr) in decode_nfspath3()
263 static int decode_cookie3(struct xdr_stream *xdr, u64 *cookie) in decode_cookie3()
279 static int decode_cookieverf3(struct xdr_stream *xdr, __be32 *verifier) in decode_cookieverf3()
[all …]
Dnfs2xdr.c96 static int decode_nfsdata(struct xdr_stream *xdr, struct nfs_pgio_res *result) in decode_nfsdata()
141 static int decode_stat(struct xdr_stream *xdr, enum nfs_stat *status) in decode_stat()
184 static void encode_fhandle(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fhandle()
192 static int decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fhandle()
265 static int decode_fattr(struct xdr_stream *xdr, struct nfs_fattr *fattr, in decode_fattr()
339 static void encode_sattr(struct xdr_stream *xdr, const struct iattr *attr, in encode_sattr()
382 static void encode_filename(struct xdr_stream *xdr, in encode_filename()
392 static int decode_filename_inline(struct xdr_stream *xdr, in decode_filename_inline()
420 static void encode_path(struct xdr_stream *xdr, struct page **pages, u32 length) in encode_path()
429 static int decode_path(struct xdr_stream *xdr) in decode_path()
[all …]
Dcallback_xdr.c76 static __be32 decode_string(struct xdr_stream *xdr, unsigned int *len, in decode_string()
88 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fh()
106 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap()
125 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid()
136 static __be32 decode_delegation_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_delegation_stateid()
142 static __be32 decode_compound_hdr_arg(struct xdr_stream *xdr, struct cb_compound_hdr_arg *hdr) in decode_compound_hdr_arg()
167 static __be32 decode_op_hdr(struct xdr_stream *xdr, unsigned int *op) in decode_op_hdr()
178 struct xdr_stream *xdr, void *argp) in decode_getattr_args()
190 struct xdr_stream *xdr, void *argp) in decode_recall_args()
207 static __be32 decode_layout_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_layout_stateid()
[all …]
Dmount_clnt.c299 static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) in encode_mntdirpath()
308 static void mnt_xdr_enc_dirpath(struct rpc_rqst *req, struct xdr_stream *xdr, in mnt_xdr_enc_dirpath()
323 static int decode_status(struct xdr_stream *xdr, struct mountres *res) in decode_status()
346 static int decode_fhandle(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle()
361 struct xdr_stream *xdr, in mnt_xdr_dec_mountres()
373 static int decode_fhs_status(struct xdr_stream *xdr, struct mountres *res) in decode_fhs_status()
396 static int decode_fhandle3(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle3()
419 static int decode_auth_flavors(struct xdr_stream *xdr, struct mountres *res) in decode_auth_flavors()
454 struct xdr_stream *xdr, in mnt_xdr_dec_mountres3()
Dpnfs_nfs.c1019 nfs4_decode_mp_ds_addr(struct net *net, struct xdr_stream *xdr, gfp_t gfp_flags) in nfs4_decode_mp_ds_addr()
/fs/lockd/
Dclntxdr.c86 static void encode_bool(struct xdr_stream *xdr, const int value) in encode_bool()
94 static void encode_int32(struct xdr_stream *xdr, const s32 value) in encode_int32()
105 static void encode_netobj(struct xdr_stream *xdr, in encode_netobj()
114 static int decode_netobj(struct xdr_stream *xdr, in decode_netobj()
130 static void encode_cookie(struct xdr_stream *xdr, in encode_cookie()
136 static int decode_cookie(struct xdr_stream *xdr, in decode_cookie()
171 static void encode_fh(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fh()
195 static void encode_nlm_stat(struct xdr_stream *xdr, in encode_nlm_stat()
205 static int decode_nlm_stat(struct xdr_stream *xdr, in decode_nlm_stat()
234 static void encode_nlm_holder(struct xdr_stream *xdr, in encode_nlm_holder()
[all …]
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 …]
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()
/fs/nfsd/
Dnfs4callback.c104 static void encode_nfs_cb_opnum4(struct xdr_stream *xdr, enum nfs_cb_opnum4 op) in encode_nfs_cb_opnum4()
117 static void encode_nfs_fh4(struct xdr_stream *xdr, const struct knfsd_fh *fh) in encode_nfs_fh4()
135 static void encode_stateid4(struct xdr_stream *xdr, const stateid_t *sid) in encode_stateid4()
149 static void encode_sessionid4(struct xdr_stream *xdr, in encode_sessionid4()
219 static int decode_cb_op_status(struct xdr_stream *xdr, in decode_cb_op_status()
251 static void encode_cb_compound4args(struct xdr_stream *xdr, in encode_cb_compound4args()
283 static int decode_cb_compound4res(struct xdr_stream *xdr, in decode_cb_compound4res()
314 static void encode_cb_recall4args(struct xdr_stream *xdr, in encode_cb_recall4args()
343 static void encode_cb_sequence4args(struct xdr_stream *xdr, in encode_cb_sequence4args()
387 static int decode_cb_sequence4resok(struct xdr_stream *xdr, in decode_cb_sequence4resok()
[all …]
Dnfs4xdr.c2353 static __be32 nfsd4_encode_components_esc(struct xdr_stream *xdr, char sep, in nfsd4_encode_components_esc()
2413 static __be32 nfsd4_encode_components(struct xdr_stream *xdr, char sep, in nfsd4_encode_components()
2422 static __be32 nfsd4_encode_fs_location4(struct xdr_stream *xdr, in nfsd4_encode_fs_location4()
2440 static __be32 nfsd4_encode_path(struct xdr_stream *xdr, in nfsd4_encode_path()
2510 static __be32 nfsd4_encode_fsloc_fsroot(struct xdr_stream *xdr, in nfsd4_encode_fsloc_fsroot()
2527 static __be32 nfsd4_encode_fs_locations(struct xdr_stream *xdr, in nfsd4_encode_fs_locations()
2565 nfsd4_encode_aclname(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_aclname()
2577 nfsd4_encode_layout_types(struct xdr_stream *xdr, u32 layout_types) in nfsd4_encode_layout_types()
2602 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label()
2622 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label()
[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.c562 static __be32 encode_ascii_id(struct xdr_stream *xdr, u32 id) in encode_ascii_id()
576 static __be32 idmap_id_to_name(struct xdr_stream *xdr, in idmap_id_to_name()
632 static __be32 encode_name_from_id(struct xdr_stream *xdr, in encode_name_from_id()
674 __be32 nfsd4_encode_user(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_user()
681 __be32 nfsd4_encode_group(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_group()
Dnfs4acl.c867 __be32 nfs4_acl_write_who(struct xdr_stream *xdr, int who) in nfs4_acl_write_who()
Dxdr4.h323 struct xdr_stream *xdr; member
721 struct xdr_stream xdr; member
/fs/nfs/flexfilelayout/
Dflexfilelayout.c75 static int decode_pnfs_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_pnfs_stateid()
89 static int decode_deviceid(struct xdr_stream *xdr, struct nfs4_deviceid *devid) in decode_deviceid()
101 static int decode_nfs_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_nfs_fh()
133 decode_name(struct xdr_stream *xdr, u32 *id) in decode_name()
2009 static int ff_layout_encode_ioerr(struct xdr_stream *xdr, in ff_layout_encode_ioerr()
2025 encode_opaque_fixed(struct xdr_stream *xdr, const void *buf, size_t len) in encode_opaque_fixed()
2031 ff_layout_encode_ff_iostat_head(struct xdr_stream *xdr, in ff_layout_encode_ff_iostat_head()
2050 ff_layout_encode_ff_iostat(struct xdr_stream *xdr, in ff_layout_encode_ff_iostat()
2060 static void ff_layout_encode_iostats_array(struct xdr_stream *xdr, in ff_layout_encode_iostats_array()
2103 ff_layout_encode_layoutreturn(struct xdr_stream *xdr, in ff_layout_encode_layoutreturn()
[all …]
Dflexfilelayoutdev.c473 int ff_layout_encode_ds_ioerr(struct xdr_stream *xdr, const struct list_head *head) in ff_layout_encode_ds_ioerr()
/fs/afs/
Daddr_list.c274 void afs_merge_fs_addr4(struct afs_addr_list *alist, __be32 xdr, u16 port) in afs_merge_fs_addr4()
315 void afs_merge_fs_addr6(struct afs_addr_list *alist, __be32 *xdr, u16 port) in afs_merge_fs_addr6()
Dvlclient.c56 struct afs_uuid__xdr *xdr; in afs_deliver_vl_get_entry_by_name_u() local
Dyfsclient.c138 static struct timespec64 xdr_to_time(const struct yfs_xdr_u64 xdr) in xdr_to_time()
184 const struct yfs_xdr_YFSFetchStatus *xdr = (const void *)*_bp; in xdr_decode_YFSFetchStatus() local
Dfsclient.c57 const struct afs_xdr_AFSFetchStatus *xdr = (const void *)*_bp; in xdr_decode_AFSFetchStatus() local
/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
Dblocklayout.c613 bl_alloc_extent(struct xdr_stream *xdr, struct pnfs_layout_hdr *lo, in bl_alloc_extent()
682 struct xdr_stream xdr; in bl_alloc_lseg() local

12