/fs/nfsd/ |
D | nfs3xdr.c | 58 svcxdr_decode_nfstime3(struct xdr_stream *xdr, struct timespec64 *timep) in svcxdr_decode_nfstime3() 81 svcxdr_decode_nfs_fh3(struct xdr_stream *xdr, struct svc_fh *fhp) in svcxdr_decode_nfs_fh3() 110 svcxdr_encode_nfsstat3(struct xdr_stream *xdr, __be32 status) in svcxdr_encode_nfsstat3() 123 svcxdr_encode_nfs_fh3(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_nfs_fh3() 140 svcxdr_encode_post_op_fh3(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_post_op_fh3() 151 svcxdr_encode_cookieverf3(struct xdr_stream *xdr, const __be32 *verf) in svcxdr_encode_cookieverf3() 164 svcxdr_encode_writeverf3(struct xdr_stream *xdr, const __be32 *verf) in svcxdr_encode_writeverf3() 177 svcxdr_decode_filename3(struct xdr_stream *xdr, char **name, unsigned int *len) in svcxdr_decode_filename3() 202 svcxdr_decode_diropargs3(struct xdr_stream *xdr, struct svc_fh *fhp, in svcxdr_decode_diropargs3() 210 svcxdr_decode_sattr3(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_decode_sattr3() [all …]
|
D | nfsxdr.c | 37 svcxdr_encode_stat(struct xdr_stream *xdr, __be32 status) in svcxdr_encode_stat() 59 svcxdr_decode_fhandle(struct xdr_stream *xdr, struct svc_fh *fhp) in svcxdr_decode_fhandle() 74 svcxdr_encode_fhandle(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_fhandle() 98 svcxdr_decode_filename(struct xdr_stream *xdr, char **name, unsigned int *len) in svcxdr_decode_filename() 122 svcxdr_decode_diropargs(struct xdr_stream *xdr, struct svc_fh *fhp, in svcxdr_decode_diropargs() 130 svcxdr_decode_sattr(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_decode_sattr() 214 svcxdr_encode_fattr(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_fattr() 276 nfssvc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_fhandleargs() 284 nfssvc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_sattrargs() 293 nfssvc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_diropargs() [all …]
|
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 | nfs4xdr.c | 2064 nfsd4_vbuf_from_vector(struct nfsd4_compoundargs *argp, struct xdr_buf *xdr, in nfsd4_vbuf_from_vector() 2521 static __be32 nfsd4_encode_components_esc(struct xdr_stream *xdr, char sep, in nfsd4_encode_components_esc() 2581 static __be32 nfsd4_encode_components(struct xdr_stream *xdr, char sep, in nfsd4_encode_components() 2590 static __be32 nfsd4_encode_fs_location4(struct xdr_stream *xdr, in nfsd4_encode_fs_location4() 2608 static __be32 nfsd4_encode_path(struct xdr_stream *xdr, in nfsd4_encode_path() 2678 static __be32 nfsd4_encode_fsloc_fsroot(struct xdr_stream *xdr, in nfsd4_encode_fsloc_fsroot() 2695 static __be32 nfsd4_encode_fs_locations(struct xdr_stream *xdr, in nfsd4_encode_fs_locations() 2733 nfsd4_encode_aclname(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_aclname() 2745 nfsd4_encode_layout_types(struct xdr_stream *xdr, u32 layout_types) in nfsd4_encode_layout_types() 2770 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label() [all …]
|
D | nfs2acl.c | 192 nfsaclsvc_decode_getaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_decode_getaclargs() 205 nfsaclsvc_decode_setaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_decode_setaclargs() 226 nfsaclsvc_decode_accessargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_decode_accessargs() 244 nfsaclsvc_encode_getaclres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_encode_getaclres() 274 nfsaclsvc_encode_accessres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfsaclsvc_encode_accessres()
|
D | nfs3acl.c | 131 nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_getaclargs() 144 nfs3svc_decode_setaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_setaclargs() 170 nfs3svc_encode_getaclres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_getaclres() 204 nfs3svc_encode_setaclres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_setaclres()
|
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()
|
D | nfs4idmap.c | 562 static __be32 encode_ascii_id(struct xdr_stream *xdr, u32 id) in encode_ascii_id() 576 static __be32 idmap_id_to_name(struct xdr_stream *xdr, in idmap_id_to_name() 632 static __be32 encode_name_from_id(struct xdr_stream *xdr, in encode_name_from_id() 674 __be32 nfsd4_encode_user(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_user() 681 __be32 nfsd4_encode_group(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_group()
|
/fs/nfs/ |
D | nfs4xdr.c | 964 static __be32 *reserve_space(struct xdr_stream *xdr, size_t nbytes) in reserve_space() 971 static void encode_opaque_fixed(struct xdr_stream *xdr, const void *buf, size_t len) in encode_opaque_fixed() 976 static void encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) in encode_string() 981 static void encode_uint32(struct xdr_stream *xdr, u32 n) in encode_uint32() 986 static void encode_uint64(struct xdr_stream *xdr, u64 n) in encode_uint64() 991 static ssize_t xdr_encode_bitmap4(struct xdr_stream *xdr, in xdr_encode_bitmap4() 1020 static void encode_nfs4_seqid(struct xdr_stream *xdr, in encode_nfs4_seqid() 1029 static void encode_compound_hdr(struct xdr_stream *xdr, in encode_compound_hdr() 1048 static void encode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 op, in encode_op_hdr() 1063 static void encode_nfs4_stateid(struct xdr_stream *xdr, const nfs4_stateid *stateid) in encode_nfs4_stateid() [all …]
|
D | nfs3xdr.c | 135 static void encode_uint32(struct xdr_stream *xdr, u32 value) in encode_uint32() 141 static int decode_uint32(struct xdr_stream *xdr, u32 *value) in decode_uint32() 152 static int decode_uint64(struct xdr_stream *xdr, u64 *value) in decode_uint64() 173 static int decode_fileid3(struct xdr_stream *xdr, u64 *fileid) in decode_fileid3() 183 static void encode_filename3(struct xdr_stream *xdr, in encode_filename3() 193 static int decode_inline_filename3(struct xdr_stream *xdr, in decode_inline_filename3() 222 static void encode_nfspath3(struct xdr_stream *xdr, struct page **pages, in encode_nfspath3() 229 static int decode_nfspath3(struct xdr_stream *xdr) in decode_nfspath3() 265 static int decode_cookie3(struct xdr_stream *xdr, u64 *cookie) in decode_cookie3() 281 static int decode_cookieverf3(struct xdr_stream *xdr, __be32 *verifier) in decode_cookieverf3() [all …]
|
D | nfs42xdr.c | 268 static void encode_fallocate(struct xdr_stream *xdr, in encode_fallocate() 276 static void encode_allocate(struct xdr_stream *xdr, in encode_allocate() 284 static void encode_nl4_server(struct xdr_stream *xdr, in encode_nl4_server() 304 static void encode_copy(struct xdr_stream *xdr, in encode_copy() 326 static void encode_offload_cancel(struct xdr_stream *xdr, in encode_offload_cancel() 334 static void encode_copy_notify(struct xdr_stream *xdr, in encode_copy_notify() 343 static void encode_deallocate(struct xdr_stream *xdr, in encode_deallocate() 351 static void encode_read_plus(struct xdr_stream *xdr, in encode_read_plus() 361 static void encode_seek(struct xdr_stream *xdr, in encode_seek() 371 static void encode_layoutstats(struct xdr_stream *xdr, in encode_layoutstats() [all …]
|
D | nfs2xdr.c | 97 static int decode_nfsdata(struct xdr_stream *xdr, struct nfs_pgio_res *result) in decode_nfsdata() 142 static int decode_stat(struct xdr_stream *xdr, enum nfs_stat *status) in decode_stat() 185 static void encode_fhandle(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fhandle() 193 static int decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fhandle() 266 static int decode_fattr(struct xdr_stream *xdr, struct nfs_fattr *fattr, in decode_fattr() 340 static void encode_sattr(struct xdr_stream *xdr, const struct iattr *attr, in encode_sattr() 383 static void encode_filename(struct xdr_stream *xdr, in encode_filename() 393 static int decode_filename_inline(struct xdr_stream *xdr, in decode_filename_inline() 421 static void encode_path(struct xdr_stream *xdr, struct page **pages, u32 length) in encode_path() 430 static int decode_path(struct xdr_stream *xdr) in decode_path() [all …]
|
D | callback_xdr.c | 70 static bool nfs4_encode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs4_encode_void() 75 static __be32 decode_string(struct xdr_stream *xdr, unsigned int *len, in decode_string() 87 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fh() 105 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap() 124 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid() 135 static __be32 decode_delegation_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_delegation_stateid() 141 static __be32 decode_compound_hdr_arg(struct xdr_stream *xdr, struct cb_compound_hdr_arg *hdr) in decode_compound_hdr_arg() 166 static __be32 decode_op_hdr(struct xdr_stream *xdr, unsigned int *op) in decode_op_hdr() 177 struct xdr_stream *xdr, void *argp) in decode_getattr_args() 189 struct xdr_stream *xdr, void *argp) in decode_recall_args() [all …]
|
D | mount_clnt.c | 303 static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) in encode_mntdirpath() 312 static void mnt_xdr_enc_dirpath(struct rpc_rqst *req, struct xdr_stream *xdr, in mnt_xdr_enc_dirpath() 327 static int decode_status(struct xdr_stream *xdr, struct mountres *res) in decode_status() 350 static int decode_fhandle(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle() 365 struct xdr_stream *xdr, in mnt_xdr_dec_mountres() 377 static int decode_fhs_status(struct xdr_stream *xdr, struct mountres *res) in decode_fhs_status() 400 static int decode_fhandle3(struct xdr_stream *xdr, struct mountres *res) in decode_fhandle3() 423 static int decode_auth_flavors(struct xdr_stream *xdr, struct mountres *res) in decode_auth_flavors() 458 struct xdr_stream *xdr, in mnt_xdr_dec_mountres3()
|
/fs/lockd/ |
D | xdr4.c | 53 svcxdr_decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in svcxdr_decode_fhandle() 74 svcxdr_decode_lock(struct xdr_stream *xdr, struct nlm_lock *lock) in svcxdr_decode_lock() 99 svcxdr_encode_holder(struct xdr_stream *xdr, const struct nlm_lock *lock) in svcxdr_encode_holder() 125 svcxdr_encode_testrply(struct xdr_stream *xdr, const struct nlm_res *resp) in svcxdr_encode_testrply() 144 nlm4svc_decode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_void() 150 nlm4svc_decode_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_testargs() 168 nlm4svc_decode_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_lockargs() 193 nlm4svc_decode_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_cancargs() 213 nlm4svc_decode_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_unlockargs() 227 nlm4svc_decode_res(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_res() [all …]
|
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 …]
|
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 | 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()
|
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()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 81 static int decode_pnfs_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_pnfs_stateid() 95 static int decode_deviceid(struct xdr_stream *xdr, struct nfs4_deviceid *devid) in decode_deviceid() 107 static int decode_nfs_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_nfs_fh() 139 decode_name(struct xdr_stream *xdr, u32 *id) in decode_name() 2082 static int ff_layout_encode_ioerr(struct xdr_stream *xdr, in ff_layout_encode_ioerr() 2098 encode_opaque_fixed(struct xdr_stream *xdr, const void *buf, size_t len) in encode_opaque_fixed() 2104 ff_layout_encode_ff_iostat_head(struct xdr_stream *xdr, in ff_layout_encode_ff_iostat_head() 2123 ff_layout_encode_ff_iostat(struct xdr_stream *xdr, in ff_layout_encode_ff_iostat() 2133 static void ff_layout_encode_iostats_array(struct xdr_stream *xdr, in ff_layout_encode_iostats_array() 2176 ff_layout_encode_layoutreturn(struct xdr_stream *xdr, in ff_layout_encode_layoutreturn() [all …]
|
/fs/afs/ |
D | addr_list.c | 274 void afs_merge_fs_addr4(struct afs_addr_list *alist, __be32 xdr, u16 port) in afs_merge_fs_addr4() 315 void afs_merge_fs_addr6(struct afs_addr_list *alist, __be32 *xdr, u16 port) in afs_merge_fs_addr6()
|
/fs/nfs_common/ |
D | nfsacl.c | 152 bool nfs_stream_encode_acl(struct xdr_stream *xdr, struct inode *inode, in nfs_stream_encode_acl() 383 bool nfs_stream_decode_acl(struct xdr_stream *xdr, unsigned int *aclcnt, in nfs_stream_decode_acl()
|
/fs/nfs/blocklayout/ |
D | dev.c | 53 nfs4_block_decode_volume(struct xdr_stream *xdr, struct pnfs_block_volume *b) in nfs4_block_decode_volume() 482 struct xdr_stream xdr; in bl_alloc_deviceid_node() local
|