Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/nfs/
Dnfs4xdr.c952 static __be32 *reserve_space(struct xdr_stream *xdr, size_t nbytes) in reserve_space()
959 static void encode_opaque_fixed(struct xdr_stream *xdr, const void *buf, size_t len) in encode_opaque_fixed()
964 static void encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) in encode_string()
969 static void encode_uint32(struct xdr_stream *xdr, u32 n) in encode_uint32()
974 static void encode_uint64(struct xdr_stream *xdr, u64 n) in encode_uint64()
979 static ssize_t xdr_encode_bitmap4(struct xdr_stream *xdr, in xdr_encode_bitmap4()
1008 static void encode_nfs4_seqid(struct xdr_stream *xdr, in encode_nfs4_seqid()
1017 static void encode_compound_hdr(struct xdr_stream *xdr, in encode_compound_hdr()
1036 static void encode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 op, in encode_op_hdr()
1051 static void encode_nfs4_stateid(struct xdr_stream *xdr, const nfs4_stateid *stateid) in encode_nfs4_stateid()
[all …]
Dnfs42xdr.c261 static void encode_fallocate(struct xdr_stream *xdr, in encode_fallocate()
269 static void encode_allocate(struct xdr_stream *xdr, in encode_allocate()
277 static void encode_nl4_server(struct xdr_stream *xdr, in encode_nl4_server()
297 static void encode_copy(struct xdr_stream *xdr, in encode_copy()
319 static void encode_offload_cancel(struct xdr_stream *xdr, in encode_offload_cancel()
327 static void encode_copy_notify(struct xdr_stream *xdr, in encode_copy_notify()
336 static void encode_deallocate(struct xdr_stream *xdr, in encode_deallocate()
344 static void encode_read_plus(struct xdr_stream *xdr, in encode_read_plus()
354 static void encode_seek(struct xdr_stream *xdr, in encode_seek()
364 static void encode_layoutstats(struct xdr_stream *xdr, in encode_layoutstats()
[all …]
Dnfs3xdr.c133 static void encode_uint32(struct xdr_stream *xdr, u32 value) in encode_uint32()
139 static int decode_uint32(struct xdr_stream *xdr, u32 *value) in decode_uint32()
150 static int decode_uint64(struct xdr_stream *xdr, u64 *value) in decode_uint64()
171 static int decode_fileid3(struct xdr_stream *xdr, u64 *fileid) in decode_fileid3()
181 static void encode_filename3(struct xdr_stream *xdr, in encode_filename3()
191 static int decode_inline_filename3(struct xdr_stream *xdr, in decode_inline_filename3()
220 static void encode_nfspath3(struct xdr_stream *xdr, struct page **pages, in encode_nfspath3()
227 static int decode_nfspath3(struct xdr_stream *xdr) in decode_nfspath3()
263 static int decode_cookie3(struct xdr_stream *xdr, u64 *cookie) in decode_cookie3()
279 static int decode_cookieverf3(struct xdr_stream *xdr, __be32 *verifier) in decode_cookieverf3()
[all …]
Dnfs2xdr.c96 static int decode_nfsdata(struct xdr_stream *xdr, struct nfs_pgio_res *result) in decode_nfsdata()
141 static int decode_stat(struct xdr_stream *xdr, enum nfs_stat *status) in decode_stat()
184 static void encode_fhandle(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fhandle()
192 static int decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fhandle()
265 static int decode_fattr(struct xdr_stream *xdr, struct nfs_fattr *fattr, in decode_fattr()
339 static void encode_sattr(struct xdr_stream *xdr, const struct iattr *attr, in encode_sattr()
382 static void encode_filename(struct xdr_stream *xdr, in encode_filename()
392 static int decode_filename_inline(struct xdr_stream *xdr, in decode_filename_inline()
420 static void encode_path(struct xdr_stream *xdr, struct page **pages, u32 length) in encode_path()
429 static int decode_path(struct xdr_stream *xdr) in decode_path()
[all …]
Dcallback_xdr.c76 static __be32 decode_string(struct xdr_stream *xdr, unsigned int *len, in decode_string()
88 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fh()
106 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap()
125 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid()
136 static __be32 decode_delegation_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_delegation_stateid()
142 static __be32 decode_compound_hdr_arg(struct xdr_stream *xdr, struct cb_compound_hdr_arg *hdr) in decode_compound_hdr_arg()
167 static __be32 decode_op_hdr(struct xdr_stream *xdr, unsigned int *op) in decode_op_hdr()
178 struct xdr_stream *xdr, void *argp) in decode_getattr_args()
190 struct xdr_stream *xdr, void *argp) in decode_recall_args()
207 static __be32 decode_layout_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_layout_stateid()
[all …]
Dmount_clnt.c299 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()
373 static int decode_fhs_status(struct xdr_stream *xdr, struct mountres *res) in decode_fhs_status()
396 static int decode_fhandle3(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle3()
419 static int decode_auth_flavors(struct xdr_stream *xdr, struct mountres *res) in decode_auth_flavors()
454 struct xdr_stream *xdr, in mnt_xdr_dec_mountres3()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dgss_rpc_xdr.c11 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 …]
/kernel/linux/linux-5.10/fs/lockd/
Dclntxdr.c86 static void encode_bool(struct xdr_stream *xdr, const int value) in encode_bool()
94 static void encode_int32(struct xdr_stream *xdr, const s32 value) in encode_int32()
105 static void encode_netobj(struct xdr_stream *xdr, in encode_netobj()
114 static int decode_netobj(struct xdr_stream *xdr, in decode_netobj()
130 static void encode_cookie(struct xdr_stream *xdr, in encode_cookie()
136 static int decode_cookie(struct xdr_stream *xdr, in decode_cookie()
171 static void encode_fh(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fh()
195 static void encode_nlm_stat(struct xdr_stream *xdr, in encode_nlm_stat()
205 static int decode_nlm_stat(struct xdr_stream *xdr, in decode_nlm_stat()
234 static void encode_nlm_holder(struct xdr_stream *xdr, in encode_nlm_holder()
[all …]
Dclnt4xdr.c89 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 …]
Dmon.c424 static void encode_nsm_string(struct xdr_stream *xdr, const char *string) in encode_nsm_string()
436 static void encode_mon_name(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_name()
447 static void encode_my_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_my_id()
462 static void encode_mon_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_id()
473 static void encode_priv(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_priv()
481 static void nsm_xdr_enc_mon(struct rpc_rqst *req, struct xdr_stream *xdr, in nsm_xdr_enc_mon()
488 static void nsm_xdr_enc_unmon(struct rpc_rqst *req, struct xdr_stream *xdr, in nsm_xdr_enc_unmon()
495 struct xdr_stream *xdr, in nsm_xdr_dec_stat_res()
513 struct xdr_stream *xdr, in nsm_xdr_dec_stat()
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Drpc_rdma.c133 struct xdr_buf *xdr = &rqst->rq_snd_buf; in rpcrdma_args_inline() local
295 encode_rdma_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr) in encode_rdma_segment()
308 encode_read_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr, in encode_read_segment()
367 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_read_list() local
424 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_write_list() local
489 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_reply_chunk() local
613 struct xdr_buf *xdr) in rpcrdma_prepare_pagelist()
653 struct xdr_buf *xdr, in rpcrdma_prepare_tail_iov()
680 struct xdr_buf *xdr) in rpcrdma_pullup_tail_iov()
694 struct xdr_buf *xdr) in rpcrdma_pullup_pagelist()
[all …]
Dsvc_rdma_sendto.c558 struct xdr_buf *xdr) in svc_rdma_pull_up_needed()
611 const struct xdr_buf *xdr) in svc_rdma_pull_up_reply_msg()
671 struct xdr_buf *xdr) in svc_rdma_map_reply_msg()
899 struct xdr_buf *xdr = &rqstp->rq_res; in svc_rdma_sendto() local
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4callback.c104 static void encode_nfs_cb_opnum4(struct xdr_stream *xdr, enum nfs_cb_opnum4 op) in encode_nfs_cb_opnum4()
117 static void encode_nfs_fh4(struct xdr_stream *xdr, const struct knfsd_fh *fh) in encode_nfs_fh4()
135 static void encode_stateid4(struct xdr_stream *xdr, const stateid_t *sid) in encode_stateid4()
149 static void encode_sessionid4(struct xdr_stream *xdr, in encode_sessionid4()
219 static int decode_cb_op_status(struct xdr_stream *xdr, in decode_cb_op_status()
251 static void encode_cb_compound4args(struct xdr_stream *xdr, in encode_cb_compound4args()
283 static int decode_cb_compound4res(struct xdr_stream *xdr, in decode_cb_compound4res()
314 static void encode_cb_recall4args(struct xdr_stream *xdr, in encode_cb_recall4args()
343 static void encode_cb_sequence4args(struct xdr_stream *xdr, in encode_cb_sequence4args()
387 static int decode_cb_sequence4resok(struct xdr_stream *xdr, in decode_cb_sequence4resok()
[all …]
Dnfs4xdr.c2353 static __be32 nfsd4_encode_components_esc(struct xdr_stream *xdr, char sep, in nfsd4_encode_components_esc()
2413 static __be32 nfsd4_encode_components(struct xdr_stream *xdr, char sep, in nfsd4_encode_components()
2422 static __be32 nfsd4_encode_fs_location4(struct xdr_stream *xdr, in nfsd4_encode_fs_location4()
2440 static __be32 nfsd4_encode_path(struct xdr_stream *xdr, in nfsd4_encode_path()
2510 static __be32 nfsd4_encode_fsloc_fsroot(struct xdr_stream *xdr, in nfsd4_encode_fsloc_fsroot()
2527 static __be32 nfsd4_encode_fs_locations(struct xdr_stream *xdr, in nfsd4_encode_fs_locations()
2565 nfsd4_encode_aclname(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_aclname()
2577 nfsd4_encode_layout_types(struct xdr_stream *xdr, u32 layout_types) in nfsd4_encode_layout_types()
2602 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label()
2622 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label()
[all …]
Dblocklayoutxdr.c17 nfsd4_block_encode_layoutget(struct xdr_stream *xdr, in nfsd4_block_encode_layoutget()
41 nfsd4_block_encode_volume(struct xdr_stream *xdr, struct pnfs_block_volume *b) in nfsd4_block_encode_volume()
78 nfsd4_block_encode_getdeviceinfo(struct xdr_stream *xdr, in nfsd4_block_encode_getdeviceinfo()
Dflexfilelayoutxdr.c19 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()
/kernel/linux/linux-5.10/net/sunrpc/
Dxdr.c180 xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, in xdr_inline_pages()
633 unsigned int xdr_stream_pos(const struct xdr_stream *xdr) in xdr_stream_pos()
643 unsigned int xdr_page_pos(const struct xdr_stream *xdr) in xdr_page_pos()
666 void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, in xdr_init_encode()
706 inline void xdr_commit_encode(struct xdr_stream *xdr) in xdr_commit_encode()
720 static __be32 *xdr_get_next_encode_buffer(struct xdr_stream *xdr, in xdr_get_next_encode_buffer()
777 __be32 * xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes) in xdr_reserve_space()
811 int xdr_reserve_space_vec(struct xdr_stream *xdr, struct kvec *vec, size_t nbytes) in xdr_reserve_space_vec()
863 void xdr_truncate_encode(struct xdr_stream *xdr, size_t len) in xdr_truncate_encode()
925 int xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen) in xdr_restrict_buflen()
[all …]
Dsocklib.c89 xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct xdr_skb_reader *desc, xdr_… in xdr_partial_copy_from_skb()
169 int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb) in csum_partial_copy_to_xdr()
221 struct xdr_buf *xdr, size_t base) in xprt_send_pagedata()
270 struct xdr_buf *xdr, unsigned int base, in xprt_sock_sendmsg()
Dauth_null.c63 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()
Dauth.c723 int rpcauth_marshcred(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_marshcred()
738 int rpcauth_wrap_req_encode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req_encode()
756 int rpcauth_wrap_req(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req()
773 rpcauth_checkverf(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_checkverf()
788 rpcauth_unwrap_resp_decode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp_decode()
804 rpcauth_unwrap_resp(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp()
Dauth_unix.c103 unx_marshal(struct rpc_task *task, struct xdr_stream *xdr) in unx_marshal()
165 unx_validate(struct rpc_task *task, struct xdr_stream *xdr) in unx_validate()
Drpcb_clnt.c802 static void rpcb_enc_mapping(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_mapping()
815 static int rpcb_dec_getport(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getport()
836 static int rpcb_dec_set(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_set()
852 static void encode_rpcb_string(struct xdr_stream *xdr, const char *string, in encode_rpcb_string()
867 static void rpcb_enc_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_getaddr()
882 static int rpcb_dec_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getaddr()
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dxdr.h265 xdr_stream_remaining(const struct xdr_stream *xdr) in xdr_stream_remaining()
316 static inline ssize_t xdr_stream_encode_item_present(struct xdr_stream *xdr) in xdr_stream_encode_item_present()
335 static inline int xdr_stream_encode_item_absent(struct xdr_stream *xdr) in xdr_stream_encode_item_absent()
356 xdr_stream_encode_u32(struct xdr_stream *xdr, __u32 n) in xdr_stream_encode_u32()
377 xdr_stream_encode_u64(struct xdr_stream *xdr, __u64 n) in xdr_stream_encode_u64()
399 xdr_stream_encode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t len) in xdr_stream_encode_opaque_inline()
424 xdr_stream_encode_opaque_fixed(struct xdr_stream *xdr, const void *ptr, size_t len) in xdr_stream_encode_opaque_fixed()
445 xdr_stream_encode_opaque(struct xdr_stream *xdr, const void *ptr, size_t len) in xdr_stream_encode_opaque()
467 xdr_stream_encode_uint32_array(struct xdr_stream *xdr, in xdr_stream_encode_uint32_array()
517 xdr_stream_decode_u32(struct xdr_stream *xdr, __u32 *ptr) in xdr_stream_decode_u32()
[all …]
/kernel/linux/linux-5.10/net/rxrpc/
Dkey.c90 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_rxkad()
219 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_principal() local
295 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_tagged_data() local
342 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_tagged_array() local
391 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_ticket() local
431 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_rxk5()
559 const __be32 *xdr = prep->data, *token; in rxrpc_preparse_xdr() local
1049 __be32 *xdr, *oldxdr; in rxrpc_read() local
/kernel/linux/linux-5.10/fs/nfs/flexfilelayout/
Dflexfilelayout.c75 static int decode_pnfs_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_pnfs_stateid()
89 static int decode_deviceid(struct xdr_stream *xdr, struct nfs4_deviceid *devid) in decode_deviceid()
101 static int decode_nfs_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_nfs_fh()
133 decode_name(struct xdr_stream *xdr, u32 *id) in decode_name()
2008 static int ff_layout_encode_ioerr(struct xdr_stream *xdr, in ff_layout_encode_ioerr()
2024 encode_opaque_fixed(struct xdr_stream *xdr, const void *buf, size_t len) in encode_opaque_fixed()
2030 ff_layout_encode_ff_iostat_head(struct xdr_stream *xdr, in ff_layout_encode_ff_iostat_head()
2049 ff_layout_encode_ff_iostat(struct xdr_stream *xdr, in ff_layout_encode_ff_iostat()
2059 static void ff_layout_encode_iostats_array(struct xdr_stream *xdr, in ff_layout_encode_iostats_array()
2102 ff_layout_encode_layoutreturn(struct xdr_stream *xdr, in ff_layout_encode_layoutreturn()
[all …]

12