/linux-4.4.14/include/linux/sunrpc/ |
D | xdr.h | 199 struct xdr_stream { struct 213 typedef void (*kxdreproc_t)(void *rqstp, struct xdr_stream *xdr, void *obj); 214 typedef int (*kxdrdproc_t)(void *rqstp, struct xdr_stream *xdr, void *obj); 216 extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p); 217 extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes); 218 extern void xdr_commit_encode(struct xdr_stream *xdr); 219 extern void xdr_truncate_encode(struct xdr_stream *xdr, size_t len); 220 extern int xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen); 221 extern void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, 223 extern unsigned int xdr_stream_pos(const struct xdr_stream *xdr); [all …]
|
/linux-4.4.14/fs/nfs/ |
D | nfs3xdr.c | 123 static void print_overflow_msg(const char *func, const struct xdr_stream *xdr) in print_overflow_msg() 142 static void encode_uint32(struct xdr_stream *xdr, u32 value) in encode_uint32() 148 static int decode_uint32(struct xdr_stream *xdr, u32 *value) in decode_uint32() 162 static int decode_uint64(struct xdr_stream *xdr, u64 *value) in decode_uint64() 186 static int decode_fileid3(struct xdr_stream *xdr, u64 *fileid) in decode_fileid3() 196 static void encode_filename3(struct xdr_stream *xdr, in encode_filename3() 206 static int decode_inline_filename3(struct xdr_stream *xdr, in decode_inline_filename3() 238 static void encode_nfspath3(struct xdr_stream *xdr, struct page **pages, in encode_nfspath3() 245 static int decode_nfspath3(struct xdr_stream *xdr) in decode_nfspath3() 284 static int decode_cookie3(struct xdr_stream *xdr, u64 *cookie) in decode_cookie3() [all …]
|
D | nfs2xdr.c | 84 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 …]
|
D | nfs4xdr.c | 910 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 …]
|
D | nfs42xdr.c | 89 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 …]
|
D | callback_xdr.c | 47 typedef __be32 (*callback_decode_arg_t)(struct svc_rqst *, struct xdr_stream *, void *); 48 typedef __be32 (*callback_encode_res_t)(struct svc_rqst *, struct xdr_stream *, void *); 75 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() [all …]
|
D | mount_clnt.c | 297 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()
|
D | pnfs.h | 175 struct xdr_stream *xdr, 181 struct xdr_stream *xdr, 363 struct xdr_stream *xdr,
|
D | internal.h | 269 extern int nfs2_decode_dirent(struct xdr_stream *, 274 extern int nfs3_decode_dirent(struct xdr_stream *, 279 extern int nfs4_decode_dirent(struct xdr_stream *,
|
D | dir.c | 154 typedef int (*decode_dirent_t)(struct xdr_stream *, struct nfs_entry *, int); 399 struct nfs_entry *entry, struct xdr_stream *xdr) in xdr_decode() 535 struct xdr_stream stream; in nfs_readdir_page_filler()
|
D | pnfs_nfs.c | 717 nfs4_decode_mp_ds_addr(struct net *net, struct xdr_stream *xdr, gfp_t gfp_flags) in nfs4_decode_mp_ds_addr()
|
/linux-4.4.14/fs/lockd/ |
D | clntxdr.c | 75 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 …]
|
D | clnt4xdr.c | 79 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 …]
|
D | mon.c | 421 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()
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
D | gss_rpc_xdr.c | 24 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 …]
|
D | gss_rpc_xdr.h | 181 struct xdr_stream *xdr, 184 struct xdr_stream *xdr,
|
D | auth_gss.c | 1656 struct xdr_stream xdr; in gss_wrap_req_encode() 1927 struct xdr_stream xdr; in gss_unwrap_req_decode()
|
/linux-4.4.14/fs/nfsd/ |
D | blocklayoutxdr.h | 8 struct xdr_stream; 40 __be32 nfsd4_block_encode_getdeviceinfo(struct xdr_stream *xdr, 42 __be32 nfsd4_block_encode_layoutget(struct xdr_stream *xdr,
|
D | nfs4callback.c | 65 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 …]
|
D | pnfs.h | 11 struct xdr_stream; 25 __be32 (*encode_getdeviceinfo)(struct xdr_stream *xdr, 30 __be32 (*encode_layoutget)(struct xdr_stream *,
|
D | idmap.h | 57 __be32 nfsd4_encode_user(struct xdr_stream *, struct svc_rqst *, kuid_t); 58 __be32 nfsd4_encode_group(struct xdr_stream *, struct svc_rqst *, kgid_t);
|
D | nfs4xdr.c | 1923 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 …]
|
D | blocklayoutxdr.c | 15 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()
|
D | acl.h | 52 __be32 nfs4_acl_write_who(struct xdr_stream *xdr, int who);
|
D | nfs4idmap.c | 547 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()
|
D | xdr4.h | 292 struct xdr_stream *xdr; 596 struct xdr_stream xdr; 654 void nfsd4_encode_replay(struct xdr_stream *xdr, struct nfsd4_op *op);
|
D | nfs4acl.c | 867 __be32 nfs4_acl_write_who(struct xdr_stream *xdr, int who) in nfs4_acl_write_who()
|
D | nfs4proc.c | 1577 struct xdr_stream *xdr = &resp->xdr; in svcxdr_init_encode()
|
D | nfs4state.c | 2283 struct xdr_stream *xdr = &resp->xdr; in nfsd4_replay_cache_entry() 2896 struct xdr_stream *xdr = &resp->xdr; in nfsd4_sequence()
|
/linux-4.4.14/include/linux/ |
D | pnfs_osd_xdr.h | 294 struct pnfs_osd_xdr_decode_layout_iter *iter, struct xdr_stream *xdr); 297 struct pnfs_osd_xdr_decode_layout_iter *iter, struct xdr_stream *xdr, 310 pnfs_osd_xdr_encode_layoutupdate(struct xdr_stream *xdr, 314 extern __be32 *pnfs_osd_xdr_ioerr_reserve_space(struct xdr_stream *xdr);
|
D | nfs_xdr.h | 325 typedef void (*layoutstats_encode_t)(struct xdr_stream *, 1548 int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, int);
|
/linux-4.4.14/fs/nfs/objlayout/ |
D | pnfs_osd_xdr_cli.c | 74 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()
|
D | objlayout.h | 113 struct xdr_stream *xdr, 174 struct xdr_stream *, 179 struct xdr_stream *,
|
D | objlayout.c | 87 struct xdr_stream stream; in objlayout_alloc_lseg() 372 struct xdr_stream *xdr, in objlayout_encode_layoutcommit() 508 struct xdr_stream *xdr, in objlayout_encode_layoutreturn()
|
D | objio_osd.c | 213 struct xdr_stream *xdr, in objio_alloc_lseg()
|
/linux-4.4.14/net/sunrpc/ |
D | xdr.c | 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() 729 static int xdr_set_page_base(struct xdr_stream *xdr, in xdr_set_page_base() [all …]
|
D | rpcb_clnt.c | 847 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() 886 static int rpcb_dec_set(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_set() 906 static void encode_rpcb_string(struct xdr_stream *xdr, const char *string, in encode_rpcb_string() 921 static void rpcb_enc_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_getaddr() 941 static int rpcb_dec_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getaddr()
|
D | auth.c | 773 struct xdr_stream xdr; in rpcauth_wrap_req_encode() 798 struct xdr_stream xdr; in rpcauth_unwrap_req_decode()
|
D | clnt.c | 2397 static void rpcproc_encode_null(void *rqstp, struct xdr_stream *xdr, void *obj) in rpcproc_encode_null() 2401 static int rpcproc_decode_null(void *rqstp, struct xdr_stream *xdr, void *obj) in rpcproc_decode_null()
|
/linux-4.4.14/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 56 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() 362 struct xdr_stream stream; in ff_layout_alloc_lseg() 1805 struct xdr_stream *xdr, in ff_layout_encode_ioerr() 1828 struct xdr_stream *xdr, in ff_layout_encode_iostats() 1852 struct xdr_stream *xdr, in ff_layout_encode_layoutreturn() 1918 ff_layout_encode_netaddr(struct xdr_stream *xdr, struct nfs4_pnfs_ds_addr *da) in ff_layout_encode_netaddr() 1960 ff_layout_encode_nfstime(struct xdr_stream *xdr, in ff_layout_encode_nfstime() [all …]
|
D | flexfilelayout.h | 177 struct xdr_stream *xdr, int *count,
|
D | flexfilelayoutdev.c | 41 struct xdr_stream stream; in nfs4_ff_alloc_deviceid_node() 507 struct xdr_stream *xdr, int *count, in ff_layout_encode_ds_ioerr()
|
/linux-4.4.14/fs/nfs/blocklayout/ |
D | dev.c | 40 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()
|
D | blocklayout.c | 540 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()
|
/linux-4.4.14/fs/nfs/filelayout/ |
D | filelayoutdev.c | 73 struct xdr_stream stream; in nfs4_fl_alloc_deviceid_node()
|
D | filelayout.c | 654 struct xdr_stream stream; in filelayout_decode_layout()
|