/linux/fs/nfs/ |
H A D | nfs3xdr.c | 132 static void encode_uint32(struct xdr_stream *xdr, u32 value) in encode_uint32() 138 static int decode_uint32(struct xdr_stream *xdr, u32 *value) in decode_uint32() 149 static int decode_uint64(struct xdr_stream *xdr, u64 *value) in decode_uint64() 170 static int decode_fileid3(struct xdr_stream *xdr, u64 *fileid) in decode_fileid3() 180 static void encode_filename3(struct xdr_stream *xdr, in encode_filename3() 190 static int decode_inline_filename3(struct xdr_stream *xdr, in decode_inline_filename3() 219 static void encode_nfspath3(struct xdr_stream *xdr, struct page **pages, in encode_nfspath3() 226 static int decode_nfspath3(struct xdr_stream *xdr) in decode_nfspath3() 262 static int decode_cookie3(struct xdr_stream *xdr, u64 *cookie) in decode_cookie3() 278 static int decode_cookieverf3(struct xdr_stream *xdr, __be32 *verifier) in decode_cookieverf3() [all …]
|
H A D | nfs2xdr.c | 93 static int decode_nfsdata(struct xdr_stream *xdr, struct nfs_pgio_res *result) in decode_nfsdata() 138 static int decode_stat(struct xdr_stream *xdr, enum nfs_stat *status) in decode_stat() 181 static void encode_fhandle(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fhandle() 189 static int decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fhandle() 262 static int decode_fattr(struct xdr_stream *xdr, struct nfs_fattr *fattr, in decode_fattr() 336 static void encode_sattr(struct xdr_stream *xdr, const struct iattr *attr, in encode_sattr() 379 static void encode_filename(struct xdr_stream *xdr, in encode_filename() 389 static int decode_filename_inline(struct xdr_stream *xdr, in decode_filename_inline() 417 static void encode_path(struct xdr_stream *xdr, struct page **pages, u32 length) in encode_path() 426 static int decode_path(struct xdr_stream *xdr) in decode_path() [all …]
|
H A D | mount_clnt.c | 298 static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) in encode_mntdirpath() 307 static void mnt_xdr_enc_dirpath(struct rpc_rqst *req, struct xdr_stream *xdr, in mnt_xdr_enc_dirpath() 322 static int decode_status(struct xdr_stream *xdr, struct mountres *res) in decode_status() 345 static int decode_fhandle(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle() 360 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()
|
/linux/include/linux/sunrpc/xdrgen/ |
H A D | _builtins.h | 16 xdrgen_decode_void(struct xdr_stream *xdr) in xdrgen_decode_void() 22 xdrgen_encode_void(struct xdr_stream *xdr) in xdrgen_encode_void() 28 xdrgen_decode_bool(struct xdr_stream *xdr, bool *ptr) in xdrgen_decode_bool() 39 xdrgen_encode_bool(struct xdr_stream *xdr, bool val) in xdrgen_encode_bool() 50 xdrgen_decode_int(struct xdr_stream *xdr, s32 *ptr) in xdrgen_decode_int() 61 xdrgen_encode_int(struct xdr_stream *xdr, s32 val) in xdrgen_encode_int() 72 xdrgen_decode_unsigned_int(struct xdr_stream *xdr, u32 *ptr) in xdrgen_decode_unsigned_int() 83 xdrgen_encode_unsigned_int(struct xdr_stream *xdr, u32 val) in xdrgen_encode_unsigned_int() 94 xdrgen_decode_long(struct xdr_stream *xdr, s32 *ptr) in xdrgen_decode_long() 105 xdrgen_encode_long(struct xdr_stream *xdr, s32 val) in xdrgen_encode_long() [all …]
|
/linux/net/sunrpc/auth_gss/ |
H A D | gss_rpc_xdr.c | 11 static int gssx_enc_bool(struct xdr_stream *xdr, int v) in gssx_enc_bool() 22 static int gssx_dec_bool(struct xdr_stream *xdr, u32 *v) in gssx_dec_bool() 33 static int gssx_enc_buffer(struct xdr_stream *xdr, in gssx_enc_buffer() 45 static int gssx_enc_in_token(struct xdr_stream *xdr, in gssx_enc_in_token() 62 static int gssx_dec_buffer(struct xdr_stream *xdr, in gssx_dec_buffer() 95 static int gssx_enc_option(struct xdr_stream *xdr, in gssx_enc_option() 107 static int gssx_dec_option(struct xdr_stream *xdr, in gssx_dec_option() 119 static int dummy_enc_opt_array(struct xdr_stream *xdr, in dummy_enc_opt_array() 135 static int dummy_dec_opt_array(struct xdr_stream *xdr, in dummy_dec_opt_array() 156 static int get_host_u32(struct xdr_stream *xdr, u32 *res) in get_host_u32() [all …]
|
H A D | svcauth_gss.c | 705 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_verify_header() local 863 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_unwrap_integ() local 938 struct xdr_stream *xdr in svcauth_gss_unwrap_priv() local 1014 struct xdr_stream *xdr = &rqstp->rq_res_stream; svcauth_gss_proc_init_verf() local 1050 struct xdr_stream *xdr = &rqstp->rq_arg_stream; gss_read_proxy_verf() local 1127 svcxdr_encode_gss_init_res(struct xdr_stream * xdr,struct xdr_netobj * handle,struct xdr_netobj * gss_token,unsigned int major_status,unsigned int minor_status,u32 seq_num) svcxdr_encode_gss_init_res() argument 1157 struct xdr_stream *xdr = &rqstp->rq_arg_stream; svcauth_gss_legacy_init() local 1377 struct xdr_stream *xdr = &rqstp->rq_arg_stream; svcauth_gss_proc_init() local 1567 svcauth_gss_decode_credbody(struct xdr_stream * xdr,struct rpc_gss_wire_cred * gc,__be32 ** rpcstart) svcauth_gss_decode_credbody() argument 1787 struct xdr_stream *xdr = &rqstp->rq_res_stream; svcauth_gss_wrap_integ() local [all...] |
/linux/fs/lockd/ |
H A D | xdr.c | 51 svcxdr_decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in svcxdr_decode_fhandle() 72 svcxdr_decode_lock(struct xdr_stream *xdr, struct nlm_lock *lock) in svcxdr_decode_lock() 104 svcxdr_encode_holder(struct xdr_stream *xdr, const struct nlm_lock *lock) in svcxdr_encode_holder() 130 svcxdr_encode_testrply(struct xdr_stream *xdr, const struct nlm_res *resp) in svcxdr_encode_testrply() 149 nlmsvc_decode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_void() 155 nlmsvc_decode_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_testargs() 173 nlmsvc_decode_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_lockargs() 198 nlmsvc_decode_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_cancargs() 218 nlmsvc_decode_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_unlockargs() 232 nlmsvc_decode_res(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_res() [all …]
|
H A D | clnt4xdr.c | 89 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 …]
|
H A D | svcxdr.h | 22 svcxdr_decode_stats(struct xdr_stream *xdr, __be32 *status) in svcxdr_decode_stats() 35 svcxdr_encode_stats(struct xdr_stream *xdr, __be32 status) in svcxdr_encode_stats() 48 svcxdr_decode_string(struct xdr_stream *xdr, char **data, unsigned int *data_len) in svcxdr_decode_string() 73 svcxdr_decode_cookie(struct xdr_stream *xdr, struct nlm_cookie *cookie) in svcxdr_decode_cookie() 101 svcxdr_encode_cookie(struct xdr_stream *xdr, const struct nlm_cookie *cookie) in svcxdr_encode_cookie() 116 svcxdr_decode_owner(struct xdr_stream *xdr, struct xdr_netobj *obj) in svcxdr_decode_owner() 135 svcxdr_encode_owner(struct xdr_stream *xdr, const struct xdr_netobj *obj) in svcxdr_encode_owner()
|
H A D | mon.c | 427 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()
|
/linux/fs/nfsd/ |
H A D | nfs4callback.c | 79 static void encode_uint32(struct xdr_stream *xdr, u32 n) in encode_uint32() 84 static void encode_bitmap4(struct xdr_stream *xdr, const __u32 *bitmap, in encode_bitmap4() 90 static int decode_cb_fattr4(struct xdr_stream *xdr, uint32_t *bitmap, in decode_cb_fattr4() 127 static void encode_nfs_cb_opnum4(struct xdr_stream *xdr, enum nfs_cb_opnum4 op) in encode_nfs_cb_opnum4() 140 static void encode_nfs_fh4(struct xdr_stream *xdr, const struct knfsd_fh *fh) in encode_nfs_fh4() 158 static void encode_stateid4(struct xdr_stream *xdr, const stateid_t *sid) in encode_stateid4() 172 static void encode_sessionid4(struct xdr_stream *xdr, in encode_sessionid4() 242 static int decode_cb_op_status(struct xdr_stream *xdr, in decode_cb_op_status() 274 static void encode_cb_compound4args(struct xdr_stream *xdr, in encode_cb_compound4args() 306 static int decode_cb_compound4res(struct xdr_stream *xdr, in decode_cb_compound4res() [all …]
|
H A D | nfs2acl.c | 194 nfsaclsvc_decode_getaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_decode_getaclargs() 207 nfsaclsvc_decode_setaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_decode_setaclargs() 228 nfsaclsvc_decode_accessargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_decode_accessargs() 246 nfsaclsvc_encode_getaclres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_encode_getaclres() 276 nfsaclsvc_encode_accessres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_encode_accessres()
|
H A D | nfs3acl.c | 133 nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_getaclargs() 146 nfs3svc_decode_setaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_setaclargs() 172 nfs3svc_encode_getaclres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_getaclres() 206 nfs3svc_encode_setaclres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_setaclres()
|
H A D | blocklayoutxdr.c | 18 nfsd4_block_encode_layoutget(struct xdr_stream *xdr, in nfsd4_block_encode_layoutget() 42 nfsd4_block_encode_volume(struct xdr_stream *xdr, struct pnfs_block_volume *b) in nfsd4_block_encode_volume() 79 nfsd4_block_encode_getdeviceinfo(struct xdr_stream *xdr, in nfsd4_block_encode_getdeviceinfo()
|
H A D | flexfilelayoutxdr.c | 19 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()
|
H A D | nfs4idmap.c | 563 static __be32 encode_ascii_id(struct xdr_stream *xdr, u32 id) in encode_ascii_id() 577 static __be32 idmap_id_to_name(struct xdr_stream *xdr, in idmap_id_to_name() 638 static __be32 encode_name_from_id(struct xdr_stream *xdr, in encode_name_from_id() 680 __be32 nfsd4_encode_user(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_user() 687 __be32 nfsd4_encode_group(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_group()
|
/linux/net/sunrpc/xprtrdma/ |
H A D | rpc_rdma.c | 129 struct xdr_buf *xdr = &rqst->rq_snd_buf; in rpcrdma_args_inline() local 267 encode_rdma_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr) in encode_rdma_segment() 280 encode_read_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr, in encode_read_segment() 338 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_read_list() local 395 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_write_list() local 473 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_reply_chunk() local 597 struct xdr_buf *xdr) in rpcrdma_prepare_pagelist() 637 struct xdr_buf *xdr, in rpcrdma_prepare_tail_iov() 664 struct xdr_buf *xdr) in rpcrdma_pullup_tail_iov() 678 struct xdr_buf *xdr) in rpcrdma_pullup_pagelist() [all …]
|
H A D | svc_rdma_sendto.c | 621 * @xdr: xdr_buf containing portion of an RPC message to transmit in svc_rdma_xb_dma_map() argument 667 svc_rdma_xb_count_sges(const struct xdr_buf * xdr,void * data) svc_rdma_xb_count_sges() argument 706 svc_rdma_pull_up_needed(const struct svcxprt_rdma * rdma,const struct svc_rdma_send_ctxt * sctxt,const struct svc_rdma_pcl * write_pcl,const struct xdr_buf * xdr) svc_rdma_pull_up_needed() argument 733 svc_rdma_xb_linearize(const struct xdr_buf * xdr,void * data) svc_rdma_xb_linearize() argument 787 svc_rdma_pull_up_reply_msg(const struct svcxprt_rdma * rdma,struct svc_rdma_send_ctxt * sctxt,const struct svc_rdma_pcl * write_pcl,const struct xdr_buf * xdr) svc_rdma_pull_up_reply_msg() argument 822 svc_rdma_map_reply_msg(struct svcxprt_rdma * rdma,struct svc_rdma_send_ctxt * sctxt,const struct svc_rdma_pcl * write_pcl,const struct svc_rdma_pcl * reply_pcl,const struct xdr_buf * xdr) svc_rdma_map_reply_msg() argument [all...] |
H A D | svc_rdma_rw.c | 438 const struct xdr_buf *xdr = info->wi_xdr; in svc_rdma_pagelist_to_sg() local 556 const struct xdr_buf *xdr, in svc_rdma_pages_write() argument 577 svc_rdma_xb_write(const struct xdr_buf * xdr,void * data) svc_rdma_xb_write() argument 606 svc_rdma_send_write_chunk(struct svcxprt_rdma * rdma,const struct svc_rdma_chunk * chunk,const struct xdr_buf * xdr) svc_rdma_send_write_chunk() argument 648 svc_rdma_send_write_list(struct svcxprt_rdma * rdma,const struct svc_rdma_recv_ctxt * rctxt,const struct xdr_buf * xdr) svc_rdma_send_write_list() argument 682 svc_rdma_prepare_reply_chunk(struct svcxprt_rdma * rdma,const struct svc_rdma_pcl * write_pcl,const struct svc_rdma_pcl * reply_pcl,struct svc_rdma_send_ctxt * sctxt,const struct xdr_buf * xdr) svc_rdma_prepare_reply_chunk() argument [all...] |
/linux/net/sunrpc/ |
H A D | auth_tls.c | 19 static void tls_encode_probe(struct rpc_rqst *rqstp, struct xdr_stream *xdr, in tls_encode_probe() 24 static int tls_decode_probe(struct rpc_rqst *rqstp, struct xdr_stream *xdr, in tls_decode_probe() 99 static int tls_marshal(struct rpc_task *task, struct xdr_stream *xdr) in tls_marshal() 121 static int tls_validate(struct rpc_task *task, struct xdr_stream *xdr) in tls_validate()
|
H A D | socklib.c | 90 xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct xdr_skb_reader *desc, xdr_… in xdr_partial_copy_from_skb() 170 int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb) in csum_partial_copy_to_xdr() 222 struct xdr_buf *xdr, size_t base) in xprt_send_pagedata() 265 struct xdr_buf *xdr, unsigned int base, in xprt_sock_sendmsg()
|
H A D | auth.c | 724 int rpcauth_marshcred(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_marshcred() 739 int rpcauth_wrap_req_encode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req_encode() 757 int rpcauth_wrap_req(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req() 779 rpcauth_checkverf(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_checkverf() 794 rpcauth_unwrap_resp_decode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp_decode() 810 rpcauth_unwrap_resp(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp()
|
H A D | auth_null.c | 63 nul_marshal(struct rpc_task *task, struct xdr_stream *xdr) in nul_marshal() 90 nul_validate(struct rpc_task *task, struct xdr_stream *xdr) in nul_validate()
|
H A D | auth_unix.c | 111 unx_marshal(struct rpc_task *task, struct xdr_stream *xdr) in unx_marshal() 173 unx_validate(struct rpc_task *task, struct xdr_stream *xdr) in unx_validate()
|
/linux/net/rxrpc/ |
H A D | key.c | 54 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_rxkad() argument 138 const __be32 *xdr = prep->data, *token, *p; rxrpc_preparse_xdr() local 567 __be32 *xdr, *oldxdr; rxrpc_read() local [all...] |