Home
last modified time | relevance | path

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

12

/fs/nfs/
Dnfs4xdr.c910 static __be32 *reserve_space(struct xdr_stream *xdr, size_t nbytes) in reserve_space()
917 static void encode_opaque_fixed(struct xdr_stream *xdr, const void *buf, size_t len) in encode_opaque_fixed()
925 static void encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) in encode_string()
933 static void encode_uint32(struct xdr_stream *xdr, u32 n) in encode_uint32()
941 static void encode_uint64(struct xdr_stream *xdr, u64 n) in encode_uint64()
949 static void encode_nfs4_seqid(struct xdr_stream *xdr, in encode_nfs4_seqid()
958 static void encode_compound_hdr(struct xdr_stream *xdr, in encode_compound_hdr()
978 static void encode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 op, in encode_op_hdr()
993 static void encode_nfs4_stateid(struct xdr_stream *xdr, const nfs4_stateid *stateid) in encode_nfs4_stateid()
998 static void encode_nfs4_verifier(struct xdr_stream *xdr, const nfs4_verifier *verf) in encode_nfs4_verifier()
[all …]
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 …]
Dnfs2xdr.c84 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
106 static int decode_nfsdata(struct xdr_stream *xdr, struct nfs_pgio_res *result) in decode_nfsdata()
154 static int decode_stat(struct xdr_stream *xdr, enum nfs_stat *status) in decode_stat()
194 static void encode_fhandle(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fhandle()
202 static int decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fhandle()
278 static int decode_fattr(struct xdr_stream *xdr, struct nfs_fattr *fattr) in decode_fattr()
354 static void encode_sattr(struct xdr_stream *xdr, const struct iattr *attr) in encode_sattr()
396 static void encode_filename(struct xdr_stream *xdr, in encode_filename()
406 static int decode_filename_inline(struct xdr_stream *xdr, in decode_filename_inline()
437 static void encode_path(struct xdr_stream *xdr, struct page **pages, u32 length) in encode_path()
[all …]
Dnfs42xdr.c89 static void encode_fallocate(struct xdr_stream *xdr, in encode_fallocate()
97 static void encode_allocate(struct xdr_stream *xdr, in encode_allocate()
105 static void encode_deallocate(struct xdr_stream *xdr, in encode_deallocate()
113 static void encode_seek(struct xdr_stream *xdr, in encode_seek()
123 static void encode_layoutstats(struct xdr_stream *xdr, in encode_layoutstats()
150 static void encode_clone(struct xdr_stream *xdr, in encode_clone()
169 struct xdr_stream *xdr, in nfs4_xdr_enc_allocate()
188 struct xdr_stream *xdr, in nfs4_xdr_enc_deallocate()
207 struct xdr_stream *xdr, in nfs4_xdr_enc_seek()
225 struct xdr_stream *xdr, in nfs4_xdr_enc_layoutstats()
[all …]
Dcallback_xdr.c75 static __be32 *read_buf(struct xdr_stream *xdr, int nbytes) in read_buf()
85 static __be32 decode_string(struct xdr_stream *xdr, unsigned int *len, const char **str) in decode_string()
105 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fh()
123 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap()
142 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid()
153 static __be32 decode_compound_hdr_arg(struct xdr_stream *xdr, struct cb_compound_hdr_arg *hdr) in decode_compound_hdr_arg()
186 static __be32 decode_op_hdr(struct xdr_stream *xdr, unsigned int *op) in decode_op_hdr()
196 static __be32 decode_getattr_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_getattr… in decode_getattr_args()
209 static __be32 decode_recall_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_recallar… in decode_recall_args()
232 struct xdr_stream *xdr, in decode_layoutrecall_args()
[all …]
Dmount_clnt.c297 static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) in encode_mntdirpath()
306 static void mnt_xdr_enc_dirpath(struct rpc_rqst *req, struct xdr_stream *xdr, in mnt_xdr_enc_dirpath()
321 static int decode_status(struct xdr_stream *xdr, struct mountres *res) in decode_status()
344 static int decode_fhandle(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle()
359 struct xdr_stream *xdr, in mnt_xdr_dec_mountres()
370 static int decode_fhs_status(struct xdr_stream *xdr, struct mountres *res) in decode_fhs_status()
393 static int decode_fhandle3(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle3()
416 static int decode_auth_flavors(struct xdr_stream *xdr, struct mountres *res) in decode_auth_flavors()
451 struct xdr_stream *xdr, in mnt_xdr_dec_mountres3()
Dpnfs_nfs.c717 nfs4_decode_mp_ds_addr(struct net *net, struct xdr_stream *xdr, gfp_t gfp_flags) in nfs4_decode_mp_ds_addr()
/fs/lockd/
Dclnt4xdr.c79 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
99 static void encode_bool(struct xdr_stream *xdr, const int value) in encode_bool()
107 static void encode_int32(struct xdr_stream *xdr, const s32 value) in encode_int32()
118 static void encode_netobj(struct xdr_stream *xdr, in encode_netobj()
127 static int decode_netobj(struct xdr_stream *xdr, in decode_netobj()
153 static void encode_cookie(struct xdr_stream *xdr, in encode_cookie()
159 static int decode_cookie(struct xdr_stream *xdr, in decode_cookie()
195 static void encode_fh(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fh()
222 static void encode_nlm4_stat(struct xdr_stream *xdr, in encode_nlm4_stat()
232 static int decode_nlm4_stat(struct xdr_stream *xdr, __be32 *stat) in decode_nlm4_stat()
[all …]
Dclntxdr.c75 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
96 static void encode_bool(struct xdr_stream *xdr, const int value) in encode_bool()
104 static void encode_int32(struct xdr_stream *xdr, const s32 value) in encode_int32()
115 static void encode_netobj(struct xdr_stream *xdr, in encode_netobj()
124 static int decode_netobj(struct xdr_stream *xdr, in decode_netobj()
150 static void encode_cookie(struct xdr_stream *xdr, in encode_cookie()
156 static int decode_cookie(struct xdr_stream *xdr, in decode_cookie()
192 static void encode_fh(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fh()
216 static void encode_nlm_stat(struct xdr_stream *xdr, in encode_nlm_stat()
226 static int decode_nlm_stat(struct xdr_stream *xdr, in decode_nlm_stat()
[all …]
Dmon.c421 static void encode_nsm_string(struct xdr_stream *xdr, const char *string) in encode_nsm_string()
433 static void encode_mon_name(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_name()
444 static void encode_my_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_my_id()
459 static void encode_mon_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_id()
470 static void encode_priv(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_priv()
478 static void nsm_xdr_enc_mon(struct rpc_rqst *req, struct xdr_stream *xdr, in nsm_xdr_enc_mon()
485 static void nsm_xdr_enc_unmon(struct rpc_rqst *req, struct xdr_stream *xdr, in nsm_xdr_enc_unmon()
492 struct xdr_stream *xdr, in nsm_xdr_dec_stat_res()
509 struct xdr_stream *xdr, in nsm_xdr_dec_stat()
/fs/nfsd/
Dnfs4xdr.c1923 static __be32 nfsd4_encode_components_esc(struct xdr_stream *xdr, char sep, in nfsd4_encode_components_esc()
1983 static __be32 nfsd4_encode_components(struct xdr_stream *xdr, char sep, in nfsd4_encode_components()
1992 static __be32 nfsd4_encode_fs_location4(struct xdr_stream *xdr, in nfsd4_encode_fs_location4()
2010 static __be32 nfsd4_encode_path(struct xdr_stream *xdr, in nfsd4_encode_path()
2080 static __be32 nfsd4_encode_fsloc_fsroot(struct xdr_stream *xdr, in nfsd4_encode_fsloc_fsroot()
2097 static __be32 nfsd4_encode_fs_locations(struct xdr_stream *xdr, in nfsd4_encode_fs_locations()
2135 nfsd4_encode_aclname(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_aclname()
2147 nfsd4_encode_layout_type(struct xdr_stream *xdr, enum pnfs_layouttype layout_type) in nfsd4_encode_layout_type()
2174 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label()
2194 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, enum nfs_opnum4 expected, 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()
322 static void encode_cb_recall4args(struct xdr_stream *xdr, in encode_cb_recall4args()
351 static void encode_cb_sequence4args(struct xdr_stream *xdr, in encode_cb_sequence4args()
[all …]
Dblocklayoutxdr.c15 nfsd4_block_encode_layoutget(struct xdr_stream *xdr, in nfsd4_block_encode_layoutget()
39 nfsd4_block_encode_volume(struct xdr_stream *xdr, struct pnfs_block_volume *b) in nfsd4_block_encode_volume()
64 nfsd4_block_encode_getdeviceinfo(struct xdr_stream *xdr, in nfsd4_block_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()
651 __be32 nfsd4_encode_user(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_user()
658 __be32 nfsd4_encode_group(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_group()
Dnfssvc.c692 kxdrproc_t xdr; in nfsd_dispatch() local
Dnfs4acl.c867 __be32 nfs4_acl_write_who(struct xdr_stream *xdr, int who) in nfs4_acl_write_who()
Dxdr4.h292 struct xdr_stream *xdr; member
596 struct xdr_stream xdr; member
Dnfs4proc.c1577 struct xdr_stream *xdr = &resp->xdr; in svcxdr_init_encode() local
/fs/nfs/objlayout/
Dpnfs_osd_xdr_cli.c74 struct xdr_stream *xdr) in _osd_xdr_decode_opaque_cred()
102 struct xdr_stream *xdr) in _osd_xdr_decode_object_cred()
160 struct pnfs_osd_xdr_decode_layout_iter *iter, struct xdr_stream *xdr) in pnfs_osd_xdr_decode_layout_map()
181 struct pnfs_osd_xdr_decode_layout_iter *iter, struct xdr_stream *xdr, in pnfs_osd_xdr_decode_layout_comp()
355 pnfs_osd_xdr_encode_layoutupdate(struct xdr_stream *xdr, in pnfs_osd_xdr_encode_layoutupdate()
406 __be32 *pnfs_osd_xdr_ioerr_reserve_space(struct xdr_stream *xdr) in pnfs_osd_xdr_ioerr_reserve_space()
Dobjlayout.c372 struct xdr_stream *xdr, in objlayout_encode_layoutcommit()
508 struct xdr_stream *xdr, in objlayout_encode_layoutreturn()
Dobjio_osd.c213 struct xdr_stream *xdr, in objio_alloc_lseg()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c56 static int decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid()
69 static int decode_deviceid(struct xdr_stream *xdr, struct nfs4_deviceid *devid) in decode_deviceid()
81 static int decode_nfs_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_nfs_fh()
113 decode_name(struct xdr_stream *xdr, u32 *id) in decode_name()
1827 struct xdr_stream *xdr, in ff_layout_encode_ioerr()
1850 struct xdr_stream *xdr, in ff_layout_encode_iostats()
1874 struct xdr_stream *xdr, in ff_layout_encode_layoutreturn()
1940 ff_layout_encode_netaddr(struct xdr_stream *xdr, struct nfs4_pnfs_ds_addr *da) in ff_layout_encode_netaddr()
1982 ff_layout_encode_nfstime(struct xdr_stream *xdr, in ff_layout_encode_nfstime()
1995 ff_layout_encode_io_latency(struct xdr_stream *xdr, in ff_layout_encode_io_latency()
[all …]
Dflexfilelayoutdev.c508 struct xdr_stream *xdr, int *count, in ff_layout_encode_ds_ioerr()
/fs/nfs/blocklayout/
Ddev.c40 nfs4_block_decode_volume(struct xdr_stream *xdr, struct pnfs_block_volume *b) in nfs4_block_decode_volume()
319 struct xdr_stream xdr; in bl_alloc_deviceid_node() local
Dblocklayout.c540 bl_alloc_extent(struct xdr_stream *xdr, struct pnfs_layout_hdr *lo, in bl_alloc_extent()
607 struct xdr_stream xdr; in bl_alloc_lseg() local

12