/linux-4.1.27/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 | nfs4xdr.c | 907 static __be32 *reserve_space(struct xdr_stream *xdr, size_t nbytes) in reserve_space() 914 static void encode_opaque_fixed(struct xdr_stream *xdr, const void *buf, size_t len) in encode_opaque_fixed() 922 static void encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) in encode_string() 930 static void encode_uint32(struct xdr_stream *xdr, u32 n) in encode_uint32() 938 static void encode_uint64(struct xdr_stream *xdr, u64 n) in encode_uint64() 946 static void encode_nfs4_seqid(struct xdr_stream *xdr, in encode_nfs4_seqid() 955 static void encode_compound_hdr(struct xdr_stream *xdr, in encode_compound_hdr() 975 static void encode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 op, in encode_op_hdr() 990 static void encode_nfs4_stateid(struct xdr_stream *xdr, const nfs4_stateid *stateid) in encode_nfs4_stateid() 995 static void encode_nfs4_verifier(struct xdr_stream *xdr, const nfs4_verifier *verf) in encode_nfs4_verifier() [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 | nfs42xdr.c | 50 static void encode_fallocate(struct xdr_stream *xdr, in encode_fallocate() 58 static void encode_allocate(struct xdr_stream *xdr, in encode_allocate() 66 static void encode_deallocate(struct xdr_stream *xdr, in encode_deallocate() 74 static void encode_seek(struct xdr_stream *xdr, in encode_seek() 88 struct xdr_stream *xdr, in nfs4_xdr_enc_allocate() 107 struct xdr_stream *xdr, in nfs4_xdr_enc_deallocate() 126 struct xdr_stream *xdr, in nfs4_xdr_enc_seek() 140 static int decode_allocate(struct xdr_stream *xdr, struct nfs42_falloc_res *res) in decode_allocate() 145 static int decode_deallocate(struct xdr_stream *xdr, struct nfs42_falloc_res *res) in decode_deallocate() 150 static int decode_seek(struct xdr_stream *xdr, struct nfs42_seek_res *res) in decode_seek() [all …]
|
D | callback_xdr.c | 73 static __be32 *read_buf(struct xdr_stream *xdr, int nbytes) in read_buf() 83 static __be32 decode_string(struct xdr_stream *xdr, unsigned int *len, const char **str) in decode_string() 103 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fh() 121 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap() 140 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid() 151 static __be32 decode_compound_hdr_arg(struct xdr_stream *xdr, struct cb_compound_hdr_arg *hdr) in decode_compound_hdr_arg() 184 static __be32 decode_op_hdr(struct xdr_stream *xdr, unsigned int *op) in decode_op_hdr() 194 static __be32 decode_getattr_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_getattr… in decode_getattr_args() 208 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 …]
|
D | mount_clnt.c | 299 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() 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()
|
D | pnfs_nfs.c | 703 nfs4_decode_mp_ds_addr(struct net *net, struct xdr_stream *xdr, gfp_t gfp_flags) in nfs4_decode_mp_ds_addr()
|
D | dir.c | 399 struct nfs_entry *entry, struct xdr_stream *xdr) in xdr_decode()
|
/linux-4.1.27/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 | auth_gss.c | 1657 struct xdr_stream xdr; in gss_wrap_req_encode() local 1928 struct xdr_stream xdr; in gss_unwrap_req_decode() local
|
/linux-4.1.27/fs/lockd/ |
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 | 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 | mon.c | 472 static void encode_nsm_string(struct xdr_stream *xdr, const char *string) in encode_nsm_string() 484 static void encode_mon_name(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_name() 495 static void encode_my_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_my_id() 510 static void encode_mon_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_id() 521 static void encode_priv(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_priv() 529 static void nsm_xdr_enc_mon(struct rpc_rqst *req, struct xdr_stream *xdr, in nsm_xdr_enc_mon() 536 static void nsm_xdr_enc_unmon(struct rpc_rqst *req, struct xdr_stream *xdr, in nsm_xdr_enc_unmon() 543 struct xdr_stream *xdr, in nsm_xdr_dec_stat_res() 560 struct xdr_stream *xdr, in nsm_xdr_dec_stat()
|
/linux-4.1.27/fs/nfsd/ |
D | nfs4xdr.c | 1922 static __be32 nfsd4_encode_components_esc(struct xdr_stream *xdr, char sep, in nfsd4_encode_components_esc() 1982 static __be32 nfsd4_encode_components(struct xdr_stream *xdr, char sep, in nfsd4_encode_components() 1991 static __be32 nfsd4_encode_fs_location4(struct xdr_stream *xdr, in nfsd4_encode_fs_location4() 2009 static __be32 nfsd4_encode_path(struct xdr_stream *xdr, in nfsd4_encode_path() 2079 static __be32 nfsd4_encode_fsloc_fsroot(struct xdr_stream *xdr, in nfsd4_encode_fsloc_fsroot() 2096 static __be32 nfsd4_encode_fs_locations(struct xdr_stream *xdr, in nfsd4_encode_fs_locations() 2134 nfsd4_encode_aclname(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_aclname() 2146 nfsd4_encode_layout_type(struct xdr_stream *xdr, enum pnfs_layouttype layout_type) in nfsd4_encode_layout_type() 2173 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label() 2193 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label() [all …]
|
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 | 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 | nfs4idmap.c | 550 static __be32 encode_ascii_id(struct xdr_stream *xdr, u32 id) in encode_ascii_id() 564 static __be32 idmap_id_to_name(struct xdr_stream *xdr, in idmap_id_to_name() 620 static __be32 encode_name_from_id(struct xdr_stream *xdr, in encode_name_from_id() 654 __be32 nfsd4_encode_user(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_user() 661 __be32 nfsd4_encode_group(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_group()
|
D | nfssvc.c | 654 kxdrproc_t xdr; in nfsd_dispatch() local
|
D | nfs4acl.c | 879 __be32 nfs4_acl_write_who(struct xdr_stream *xdr, int who) in nfs4_acl_write_who()
|
D | xdr4.h | 291 struct xdr_stream *xdr; member 595 struct xdr_stream xdr; member
|
D | nfs4proc.c | 1588 struct xdr_stream *xdr = &resp->xdr; in svcxdr_init_encode() local
|
D | nfs4state.c | 2265 struct xdr_stream *xdr = &resp->xdr; in nfsd4_replay_cache_entry() local 2872 struct xdr_stream *xdr = &resp->xdr; in nfsd4_sequence() local
|
/linux-4.1.27/net/sunrpc/ |
D | xdr.c | 132 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 …]
|
D | socklib.c | 72 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()
|
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 | xprtsock.c | 343 static int xs_send_pagedata(struct socket *sock, struct xdr_buf *xdr, unsigned int base, int more, … in xs_send_pagedata() 390 …sendpages(struct socket *sock, struct sockaddr *addr, int addrlen, struct xdr_buf *xdr, unsigned i… in xs_sendpages() 517 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_local_send_request() local 572 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_udp_send_request() local 662 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_tcp_send_request() local 887 static int xs_local_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb) in xs_local_copy_to_xdr()
|
D | auth.c | 773 struct xdr_stream xdr; in rpcauth_wrap_req_encode() local 798 struct xdr_stream xdr; in rpcauth_unwrap_req_decode() local
|
D | svcsock.c | 175 int svc_send_common(struct socket *sock, struct xdr_buf *xdr, in svc_send_common() 234 static int svc_sendto(struct svc_rqst *rqstp, struct xdr_buf *xdr) in svc_sendto()
|
D | clnt.c | 2393 static void rpcproc_encode_null(void *rqstp, struct xdr_stream *xdr, void *obj) in rpcproc_encode_null() 2397 static int rpcproc_decode_null(void *rqstp, struct xdr_stream *xdr, void *obj) in rpcproc_decode_null()
|
D | svc.c | 1078 kxdrproc_t xdr; in svc_process_common() local
|
/linux-4.1.27/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.c | 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.1.27/net/rxrpc/ |
D | ar-key.c | 90 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_rxkad() 217 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_principal() local 293 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_tagged_data() local 338 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_tagged_array() local 387 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_ticket() local 425 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_rxk5() 551 const __be32 *xdr = prep->data, *token; in rxrpc_preparse_xdr() local 1052 __be32 __user *xdr, *oldxdr; in rxrpc_read() local
|
/linux-4.1.27/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 54 static int decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid() 67 static int decode_deviceid(struct xdr_stream *xdr, struct nfs4_deviceid *devid) in decode_deviceid() 79 static int decode_nfs_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_nfs_fh() 111 decode_name(struct xdr_stream *xdr, u32 *id) in decode_name() 1430 struct xdr_stream *xdr, in ff_layout_encode_ioerr() 1453 struct xdr_stream *xdr, in ff_layout_encode_iostats() 1477 struct xdr_stream *xdr, in ff_layout_encode_layoutreturn()
|
D | flexfilelayoutdev.c | 492 struct xdr_stream *xdr, int *count, in ff_layout_encode_ds_ioerr()
|
/linux-4.1.27/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() 314 struct xdr_stream xdr; in bl_alloc_deviceid_node() local
|
D | blocklayout.c | 545 bl_alloc_extent(struct xdr_stream *xdr, struct pnfs_layout_hdr *lo, in bl_alloc_extent() 612 struct xdr_stream xdr; in bl_alloc_lseg() local
|
/linux-4.1.27/net/sunrpc/xprtrdma/ |
D | svc_rdma_sendto.c | 54 struct xdr_buf *xdr, in map_xdr() 110 struct xdr_buf *xdr, in dma_map_xdr()
|