/kernel/linux/linux-5.10/include/linux/sunrpc/ |
D | xdr.h | 212 struct xdr_stream { struct 228 typedef void (*kxdreproc_t)(struct rpc_rqst *rqstp, struct xdr_stream *xdr, 230 typedef int (*kxdrdproc_t)(struct rpc_rqst *rqstp, struct xdr_stream *xdr, 233 extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, 235 extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes); 236 extern int xdr_reserve_space_vec(struct xdr_stream *xdr, struct kvec *vec, 238 extern void xdr_commit_encode(struct xdr_stream *xdr); 239 extern void xdr_truncate_encode(struct xdr_stream *xdr, size_t len); 240 extern int xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen); 241 extern void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, [all …]
|
D | auth.h | 131 struct xdr_stream *xdr); 134 struct xdr_stream *xdr); 136 struct xdr_stream *xdr); 138 struct xdr_stream *xdr); 166 struct xdr_stream *xdr); 168 struct xdr_stream *xdr); 170 struct xdr_stream *xdr); 172 struct xdr_stream *xdr); 174 struct xdr_stream *xdr); 176 struct xdr_stream *xdr);
|
D | svc_rdma.h | 139 struct xdr_stream rc_stream; 159 struct xdr_stream sc_stream;
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | nfs3xdr.c | 133 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 …]
|
D | nfs2xdr.c | 96 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 …]
|
D | nfs4xdr.c | 71 static void encode_layoutget(struct xdr_stream *xdr, 74 static int decode_layoutget(struct xdr_stream *xdr, struct rpc_rqst *req, 952 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() [all …]
|
D | nfs42xdr.c | 261 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 …]
|
D | callback_xdr.c | 53 __be32 (*decode_args)(struct svc_rqst *, struct xdr_stream *, void *); 54 __be32 (*encode_res)(struct svc_rqst *, struct xdr_stream *, 76 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() [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() 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/fs/lockd/ |
D | clntxdr.c | 86 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 …]
|
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 …]
|
D | mon.c | 424 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/auth_gss/ |
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 …]
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | nfs4callback.c | 104 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 …]
|
D | flexfilelayoutxdr.h | 15 struct xdr_stream; 45 __be32 nfsd4_ff_encode_getdeviceinfo(struct xdr_stream *xdr, 47 __be32 nfsd4_ff_encode_layoutget(struct xdr_stream *xdr,
|
D | blocklayoutxdr.h | 9 struct xdr_stream; 53 __be32 nfsd4_block_encode_getdeviceinfo(struct xdr_stream *xdr, 55 __be32 nfsd4_block_encode_layoutget(struct xdr_stream *xdr,
|
D | pnfs.h | 12 struct xdr_stream; 29 __be32 (*encode_getdeviceinfo)(struct xdr_stream *xdr, 34 __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 | 2353 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 …]
|
D | blocklayoutxdr.c | 17 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()
|
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()
|
/kernel/linux/linux-5.10/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);
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | xdr.c | 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() 773 __be32 * xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes) in xdr_reserve_space() 807 int xdr_reserve_space_vec(struct xdr_stream *xdr, struct kvec *vec, size_t nbytes) in xdr_reserve_space_vec() 859 void xdr_truncate_encode(struct xdr_stream *xdr, size_t len) in xdr_truncate_encode() 921 int xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen) in xdr_restrict_buflen() 946 void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, in xdr_write_pages() [all …]
|
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()
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 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() 424 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_write_list() 489 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_reply_chunk() 879 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_marshal_req() 1140 struct xdr_stream *xdr = &rep->rr_stream; in rpcrdma_is_bcall() 1183 static int decode_rdma_segment(struct xdr_stream *xdr, u32 *length) in decode_rdma_segment() 1198 static int decode_write_chunk(struct xdr_stream *xdr, u32 *length) in decode_write_chunk() 1222 static int decode_read_list(struct xdr_stream *xdr) in decode_read_list() [all …]
|