Home
last modified time | relevance | path

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

/fs/nfs/
Dnfs3xdr.c121 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
140 static void encode_uint32(struct xdr_stream *xdr, u32 value) in encode_uint32()
146 static int decode_uint32(struct xdr_stream *xdr, u32 *value) in decode_uint32()
160 static int decode_uint64(struct xdr_stream *xdr, u64 *value) in decode_uint64()
184 static int decode_fileid3(struct xdr_stream *xdr, u64 *fileid) in decode_fileid3()
194 static void encode_filename3(struct xdr_stream *xdr, in encode_filename3()
204 static int decode_inline_filename3(struct xdr_stream *xdr, in decode_inline_filename3()
236 static void encode_nfspath3(struct xdr_stream *xdr, struct page **pages, in encode_nfspath3()
244 static int decode_nfspath3(struct xdr_stream *xdr) in decode_nfspath3()
287 static int decode_cookie3(struct xdr_stream *xdr, u64 *cookie) in decode_cookie3()
[all …]
Dnfs4xdr.c881 static __be32 *reserve_space(struct xdr_stream *xdr, size_t nbytes) in reserve_space()
888 static void encode_opaque_fixed(struct xdr_stream *xdr, const void *buf, size_t len) in encode_opaque_fixed()
896 static void encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) in encode_string()
904 static void encode_uint32(struct xdr_stream *xdr, u32 n) in encode_uint32()
912 static void encode_uint64(struct xdr_stream *xdr, u64 n) in encode_uint64()
920 static void encode_nfs4_seqid(struct xdr_stream *xdr, in encode_nfs4_seqid()
926 static void encode_compound_hdr(struct xdr_stream *xdr, in encode_compound_hdr()
946 static void encode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 op, in encode_op_hdr()
961 static void encode_nfs4_stateid(struct xdr_stream *xdr, const nfs4_stateid *stateid) in encode_nfs4_stateid()
966 static void encode_nfs4_verifier(struct xdr_stream *xdr, const nfs4_verifier *verf) in encode_nfs4_verifier()
[all …]
Dnfs2xdr.c83 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
105 static int decode_nfsdata(struct xdr_stream *xdr, struct nfs_readres *result) in decode_nfsdata()
156 static int decode_stat(struct xdr_stream *xdr, enum nfs_stat *status) in decode_stat()
196 static void encode_fhandle(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fhandle()
205 static int decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fhandle()
281 static int decode_fattr(struct xdr_stream *xdr, struct nfs_fattr *fattr) in decode_fattr()
344 static void encode_sattr(struct xdr_stream *xdr, const struct iattr *attr) in encode_sattr()
386 static void encode_filename(struct xdr_stream *xdr, in encode_filename()
396 static int decode_filename_inline(struct xdr_stream *xdr, in decode_filename_inline()
427 static void encode_path(struct xdr_stream *xdr, struct page **pages, u32 length) in encode_path()
[all …]
Dcallback_xdr.c72 static __be32 *read_buf(struct xdr_stream *xdr, int nbytes) in read_buf()
82 static __be32 decode_string(struct xdr_stream *xdr, unsigned int *len, const char **str) in decode_string()
102 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fh()
120 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap()
139 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid()
150 static __be32 decode_compound_hdr_arg(struct xdr_stream *xdr, struct cb_compound_hdr_arg *hdr) in decode_compound_hdr_arg()
183 static __be32 decode_op_hdr(struct xdr_stream *xdr, unsigned int *op) in decode_op_hdr()
193 static __be32 decode_getattr_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_getattr… in decode_getattr_args()
207 static __be32 decode_recall_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_recallar… in decode_recall_args()
231 struct xdr_stream *xdr, in decode_layoutrecall_args()
[all …]
Dmount_clnt.c281 static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) in encode_mntdirpath()
291 static void mnt_xdr_enc_dirpath(struct rpc_rqst *req, struct xdr_stream *xdr, in mnt_xdr_enc_dirpath()
306 static int decode_status(struct xdr_stream *xdr, struct mountres *res) in decode_status()
329 static int decode_fhandle(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle()
344 struct xdr_stream *xdr, in mnt_xdr_dec_mountres()
355 static int decode_fhs_status(struct xdr_stream *xdr, struct mountres *res) in decode_fhs_status()
378 static int decode_fhandle3(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle3()
401 static int decode_auth_flavors(struct xdr_stream *xdr, struct mountres *res) in decode_auth_flavors()
436 struct xdr_stream *xdr, in mnt_xdr_dec_mountres3()
Ddir.c453 struct nfs_entry *entry, struct xdr_stream *xdr) in xdr_decode()
/fs/lockd/
Dclnt4xdr.c81 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
101 static void encode_bool(struct xdr_stream *xdr, const int value) in encode_bool()
109 static void encode_int32(struct xdr_stream *xdr, const s32 value) in encode_int32()
120 static void encode_netobj(struct xdr_stream *xdr, in encode_netobj()
130 static int decode_netobj(struct xdr_stream *xdr, in decode_netobj()
156 static void encode_cookie(struct xdr_stream *xdr, in encode_cookie()
163 static int decode_cookie(struct xdr_stream *xdr, in decode_cookie()
199 static void encode_fh(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fh()
227 static void encode_nlm4_stat(struct xdr_stream *xdr, in encode_nlm4_stat()
237 static int decode_nlm4_stat(struct xdr_stream *xdr, __be32 *stat) in decode_nlm4_stat()
[all …]
Dclntxdr.c77 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
98 static void encode_bool(struct xdr_stream *xdr, const int value) in encode_bool()
106 static void encode_int32(struct xdr_stream *xdr, const s32 value) in encode_int32()
117 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()
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()
221 static void encode_nlm_stat(struct xdr_stream *xdr, in encode_nlm_stat()
231 static int decode_nlm_stat(struct xdr_stream *xdr, in decode_nlm_stat()
[all …]
Dmon.c407 static void encode_nsm_string(struct xdr_stream *xdr, const char *string) in encode_nsm_string()
420 static void encode_mon_name(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_name()
431 static void encode_my_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_my_id()
446 static void encode_mon_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_id()
457 static void encode_priv(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_priv()
465 static void nsm_xdr_enc_mon(struct rpc_rqst *req, struct xdr_stream *xdr, in nsm_xdr_enc_mon()
472 static void nsm_xdr_enc_unmon(struct rpc_rqst *req, struct xdr_stream *xdr, in nsm_xdr_enc_unmon()
479 struct xdr_stream *xdr, in nsm_xdr_dec_stat_res()
496 struct xdr_stream *xdr, in nsm_xdr_dec_stat()
/fs/nfsd/
Dnfs4callback.c92 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg()
138 static void encode_nfs_cb_opnum4(struct xdr_stream *xdr, enum nfs_cb_opnum4 op) in encode_nfs_cb_opnum4()
151 static void encode_nfs_fh4(struct xdr_stream *xdr, const struct knfsd_fh *fh) in encode_nfs_fh4()
169 static void encode_stateid4(struct xdr_stream *xdr, const stateid_t *sid) in encode_stateid4()
183 static void encode_sessionid4(struct xdr_stream *xdr, in encode_sessionid4()
253 static int decode_cb_op_status(struct xdr_stream *xdr, enum nfs_opnum4 expected, in decode_cb_op_status()
286 static void encode_cb_compound4args(struct xdr_stream *xdr, in encode_cb_compound4args()
318 static int decode_cb_compound4res(struct xdr_stream *xdr, in decode_cb_compound4res()
349 static void encode_cb_recall4args(struct xdr_stream *xdr, in encode_cb_recall4args()
378 static void encode_cb_sequence4args(struct xdr_stream *xdr, in encode_cb_sequence4args()
[all …]
Dnfssvc.c585 kxdrproc_t xdr; in nfsd_dispatch() 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.c383 struct xdr_stream *xdr, in objlayout_encode_layoutcommit()
519 struct xdr_stream *xdr, in objlayout_encode_layoutreturn()
Dobjio_osd.c253 struct xdr_stream *xdr, in objio_alloc_lseg()
/fs/nfs/blocklayout/
Dextents.c658 struct xdr_stream *xdr, in encode_pnfs_block_layoutupdate()
Dblocklayout.c976 bl_encode_layoutcommit(struct pnfs_layout_hdr *lo, struct xdr_stream *xdr, in bl_encode_layoutcommit()