Searched refs:rqstp (Results 26 - 50 of 81) sorted by relevance

1234

/linux-master/fs/nfsd/
H A Dnfs4proc.c82 check_attr_support(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, argument
104 nfsd4_check_open_attributes(struct svc_rqst *rqstp, argument
112 status = check_attr_support(rqstp, cstate,
115 status = check_attr_support(rqstp, cstate,
142 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int accmode) argument
158 return fh_verify(rqstp, current_fh, S_IFREG, accmode);
232 nfsd4_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, argument
251 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC);
273 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE);
370 status = nfsd_create_setattr(rqstp, fh
418 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh **resfh) argument
485 do_open_fhandle(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open) argument
526 nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
651 nfsd4_open_omfg(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_op *op) argument
667 nfsd4_getfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
675 nfsd4_putfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
696 nfsd4_putrootfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
705 nfsd4_restorefh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
720 nfsd4_savefh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
735 nfsd4_access(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
764 nfsd4_commit(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
784 nfsd4_create(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
879 nfsd4_getattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
901 nfsd4_link(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
914 nfsd4_do_lookupp(struct svc_rqst *rqstp, struct svc_fh *fh) argument
932 nfsd4_lookupp(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
939 nfsd4_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
948 nfsd4_read(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1000 nfsd4_readdir(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1026 nfsd4_readlink(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1035 nfsd4_remove(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1051 nfsd4_rename(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1070 nfsd4_secinfo(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1099 nfsd4_secinfo_no_name(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1136 nfsd4_setattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1187 nfsd4_write(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1227 nfsd4_verify_copy(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, stateid_t *src_stateid, struct nfsd_file **src, stateid_t *dst_stateid, struct nfsd_file **dst) argument
1265 nfsd4_clone(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1337 nfsd4_ssc_setup_dul(struct nfsd_net *nn, char *ipaddr, struct nfsd4_ssc_umount_item **nsui, struct svc_rqst *rqstp) argument
1415 nfsd4_interssc_connect(struct nl4_server *nss, struct svc_rqst *rqstp, struct nfsd4_ssc_umount_item **nsui) argument
1515 nfsd4_setup_inter_ssc(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_copy *copy) argument
1573 nfsd4_setup_inter_ssc(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_copy *copy) argument
1595 nfsd4_setup_intra_ssc(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_copy *copy) argument
1803 nfsd4_copy(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1919 nfsd4_offload_cancel(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1939 nfsd4_copy_notify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
1983 nfsd4_fallocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_fallocate *fallocate, int flags) argument
2004 nfsd4_offload_status(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2030 nfsd4_allocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2037 nfsd4_deallocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2045 nfsd4_seek(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2092 _nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_verify *verify) argument
2150 nfsd4_nverify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2160 nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2170 nfsd4_get_dir_delegation(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2212 nfsd4_getdeviceinfo(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2264 nfsd4_layoutget(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2350 nfsd4_layoutcommit(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2414 nfsd4_layoutreturn(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2461 nfsd4_getxattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2472 nfsd4_setxattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2492 nfsd4_listxattrs(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2504 nfsd4_removexattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) argument
2526 nfsd4_proc_null(struct svc_rqst *rqstp) argument
2591 need_wrongsec_check(struct svc_rqst *rqstp) argument
2667 nfsd4_proc_compound(struct svc_rqst *rqstp) argument
2846 nfsd4_max_payload(const struct svc_rqst *rqstp) argument
2856 nfsd4_only_status_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2862 nfsd4_status_stateid_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2868 nfsd4_access_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2875 nfsd4_commit_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2881 nfsd4_create_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2893 nfsd4_getattr_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2931 nfsd4_getfh_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2937 nfsd4_link_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2944 nfsd4_lock_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2951 nfsd4_open_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2960 nfsd4_read_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2968 nfsd4_read_plus_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2982 nfsd4_readdir_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2991 nfsd4_readlink_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
2997 nfsd4_remove_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3004 nfsd4_rename_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3011 nfsd4_sequence_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3018 nfsd4_test_stateid_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3025 nfsd4_setattr_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3031 nfsd4_secinfo_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3038 nfsd4_setclientid_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3045 nfsd4_write_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3051 nfsd4_exchange_id_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3066 nfsd4_bind_conn_to_session_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3074 nfsd4_create_session_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3084 nfsd4_copy_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3097 nfsd4_offload_status_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3105 nfsd4_copy_notify_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3120 nfsd4_get_dir_delegation_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3133 nfsd4_getdeviceinfo_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3149 nfsd4_layoutget_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3159 nfsd4_layoutcommit_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3167 nfsd4_layoutreturn_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3177 nfsd4_seek_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3183 nfsd4_getxattr_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3191 nfsd4_setxattr_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3197 nfsd4_listxattrs_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3205 nfsd4_removexattr_rsize(const struct svc_rqst *rqstp, const struct nfsd4_op *op) argument
3643 nfsd4_spo_must_allow(struct svc_rqst *rqstp) argument
3672 nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op) argument
[all...]
H A Dflexfilelayout.c81 nfsd4_ff_proc_getdeviceinfo(struct super_block *sb, struct svc_rqst *rqstp, argument
98 da->rsize = svc_max_payload(rqstp);
101 rpc_ntop((struct sockaddr *)&rqstp->rq_daddr,
103 if (rqstp->rq_daddr.ss_family == AF_INET) {
106 sin = (struct sockaddr_in *)&rqstp->rq_daddr;
113 sin6 = (struct sockaddr_in6 *)&rqstp->rq_daddr;
H A Dnfs4idmap.c507 idmap_lookup(struct svc_rqst *rqstp, argument
517 ret = cache_check(detail, &(*item)->h, &rqstp->rq_chandle);
530 rqst_authname(struct svc_rqst *rqstp) argument
534 clp = rqstp->rq_gssclient ? rqstp->rq_gssclient : rqstp->rq_client;
539 idmap_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, argument
546 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
552 strscpy(key.authname, rqst_authname(rqstp), sizeof(key.authname));
553 ret = idmap_lookup(rqstp, nametoid_looku
577 idmap_id_to_name(struct xdr_stream *xdr, struct svc_rqst *rqstp, int type, u32 id) argument
605 numeric_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) argument
621 do_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) argument
633 encode_name_from_id(struct xdr_stream *xdr, struct svc_rqst *rqstp, int type, u32 id) argument
642 nfsd_map_name_to_uid(struct svc_rqst *rqstp, const char *name, size_t namelen, kuid_t *uid) argument
659 nfsd_map_name_to_gid(struct svc_rqst *rqstp, const char *name, size_t namelen, kgid_t *gid) argument
675 nfsd4_encode_user(struct xdr_stream *xdr, struct svc_rqst *rqstp, kuid_t uid) argument
682 nfsd4_encode_group(struct xdr_stream *xdr, struct svc_rqst *rqstp, kgid_t gid) argument
[all...]
H A Dvfs.h72 int nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp,
85 __be32 nfsd4_clone_file_range(struct svc_rqst *rqstp,
97 __be32 nfsd_create_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp,
103 __be32 nfsd_getxattr(struct svc_rqst *rqstp, struct svc_fh *fhp,
105 __be32 nfsd_listxattr(struct svc_rqst *rqstp, struct svc_fh *fhp,
107 __be32 nfsd_removexattr(struct svc_rqst *rqstp, struct svc_fh *fhp,
109 __be32 nfsd_setxattr(struct svc_rqst *rqstp, struct svc_fh *fhp,
115 int nfsd_open_verified(struct svc_rqst *rqstp, struct svc_fh *fhp,
117 __be32 nfsd_splice_read(struct svc_rqst *rqstp, struct svc_fh *fhp,
121 __be32 nfsd_iter_read(struct svc_rqst *rqstp, struc
[all...]
H A Dvfs.c121 nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp, argument
144 exp2 = rqst_exp_get_by_name(rqstp, &path);
159 if (nfsd_v4client(rqstp) ||
190 static int nfsd_lookup_parent(struct svc_rqst *rqstp, struct dentry *dparent, struct svc_export **exp, struct dentry **dentryp) argument
198 exp2 = rqst_exp_parent(rqstp, &path);
239 nfsd_lookup_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp, argument
259 else if (!EX_NOHIDE(exp) && !nfsd_v4client(rqstp))
263 host_err = nfsd_lookup_parent(rqstp, dparent, &exp, &dentry);
273 host_err = nfsd_cross_mnt(rqstp, &dentry, &exp);
292 * @rqstp
310 nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name, unsigned int len, struct svc_fh *resfh) argument
340 commit_reset_write_verifier(struct nfsd_net *nn, struct svc_rqst *rqstp, int err) argument
416 nfsd_get_write_access(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap) argument
488 nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_attrs *attr, const struct timespec64 *guardtime) argument
641 nfsd4_get_cstate(struct svc_rqst *rqstp) argument
646 nfsd4_clone_file_range(struct svc_rqst *rqstp, struct nfsd_file *nf_src, u64 src_pos, struct nfsd_file *nf_dst, u64 dst_pos, u64 count, bool sync) argument
715 nfsd4_vfs_fallocate(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, loff_t offset, loff_t len, int flags) argument
787 nfsd_access(struct svc_rqst *rqstp, struct svc_fh *fhp, u32 *access, u32 *supported) argument
861 __nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int may_flags, struct file **filp) argument
914 nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int may_flags, struct file **filp) argument
958 nfsd_open_verified(struct svc_rqst *rqstp, struct svc_fh *fhp, int may_flags, struct file **filp) argument
976 struct svc_rqst *rqstp = sd->u.data; local
1017 nfsd_finish_read(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, loff_t offset, unsigned long *count, u32 *eof, ssize_t host_err) argument
1048 nfsd_splice_read(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, loff_t offset, unsigned long *count, u32 *eof) argument
1084 nfsd_iter_read(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, loff_t offset, unsigned long *count, unsigned int base, u32 *eof) argument
1150 nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, loff_t offset, struct kvec *vec, int vlen, unsigned long *cnt, int stable, __be32 *verf) argument
1246 nfsd_read_splice_ok(struct svc_rqst *rqstp) argument
1272 nfsd_read(struct svc_rqst *rqstp, struct svc_fh *fhp, loff_t offset, unsigned long *count, u32 *eof) argument
1301 nfsd_write(struct svc_rqst *rqstp, struct svc_fh *fhp, loff_t offset, struct kvec *vec, int vlen, unsigned long *cnt, int stable, __be32 *verf) argument
1343 nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, u64 offset, u32 count, __be32 *verf) argument
1402 nfsd_create_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct svc_fh *resfhp, struct nfsd_attrs *attrs) argument
1464 nfsd_create_locked(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_attrs *attrs, int type, dev_t rdev, struct svc_fh *resfhp) argument
1555 nfsd_create(struct svc_rqst *rqstp, struct svc_fh *fhp, char *fname, int flen, struct nfsd_attrs *attrs, int type, dev_t rdev, struct svc_fh *resfhp) argument
1607 nfsd_readlink(struct svc_rqst *rqstp, struct svc_fh *fhp, char *buf, int *lenp) argument
1654 nfsd_symlink(struct svc_rqst *rqstp, struct svc_fh *fhp, char *fname, int flen, char *path, struct nfsd_attrs *attrs, struct svc_fh *resfhp) argument
1714 nfsd_link(struct svc_rqst *rqstp, struct svc_fh *ffhp, char *name, int len, struct svc_fh *tfhp) argument
1813 nfsd_rename(struct svc_rqst *rqstp, struct svc_fh *ffhp, char *fname, int flen, struct svc_fh *tfhp, char *tname, int tlen) argument
1949 nfsd_unlink(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, char *fname, int flen) argument
2173 nfsd_readdir(struct svc_rqst *rqstp, struct svc_fh *fhp, loff_t *offsetp, struct readdir_cd *cdp, nfsd_filldir_t func) argument
2242 nfsd_statfs(struct svc_rqst *rqstp, struct svc_fh *fhp, struct kstatfs *stat, int access) argument
2258 exp_rdonly(struct svc_rqst *rqstp, struct svc_export *exp) argument
2305 nfsd_getxattr(struct svc_rqst *rqstp, struct svc_fh *fhp, char *name, void **bufp, int *lenp) argument
2378 nfsd_listxattr(struct svc_rqst *rqstp, struct svc_fh *fhp, char **bufp, int *lenp) argument
2443 nfsd_removexattr(struct svc_rqst *rqstp, struct svc_fh *fhp, char *name) argument
2472 nfsd_setxattr(struct svc_rqst *rqstp, struct svc_fh *fhp, char *name, void *buf, u32 len, u32 flags) argument
2504 nfsd_permission(struct svc_rqst *rqstp, struct svc_export *exp, struct dentry *dentry, int acc) argument
[all...]
H A Dcache.h85 int nfsd_cache_lookup(struct svc_rqst *rqstp, unsigned int start,
87 void nfsd_cache_update(struct svc_rqst *rqstp, struct nfsd_cacherep *rp,
H A Dpnfs.h26 struct svc_rqst *rqstp,
55 __be32 nfsd4_preprocess_layout_stateid(struct svc_rqst *rqstp,
60 __be32 nfsd4_return_file_layouts(struct svc_rqst *rqstp,
63 __be32 nfsd4_return_client_layouts(struct svc_rqst *rqstp,
H A Dnfsfh.c65 nfsd_mode_check(struct svc_rqst *rqstp, struct dentry *dentry, argument
83 if (rqstp->rq_vers == 4 && mode == S_IFLNK)
92 static bool nfsd_originating_port_ok(struct svc_rqst *rqstp, int flags) argument
97 if (rqstp->rq_cred.cr_flavor >= RPC_AUTH_GSS)
99 return test_bit(RQ_SECURE, &rqstp->rq_flags);
102 static __be32 nfsd_setuser_and_check_port(struct svc_rqst *rqstp, argument
105 int flags = nfsexp_flags(rqstp, exp);
108 if (!nfsd_originating_port_ok(rqstp, flags)) {
111 svc_print_addr(rqstp, buf, sizeof(buf)));
116 return nfserrno(nfsd_setuser(rqstp, ex
119 check_pseudo_root(struct svc_rqst *rqstp, struct dentry *dentry, struct svc_export *exp) argument
154 nfsd_set_fh_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp) argument
328 fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int access) argument
[all...]
H A Dfilecache.h61 __be32 nfsd_file_acquire_gc(struct svc_rqst *rqstp, struct svc_fh *fhp,
63 __be32 nfsd_file_acquire(struct svc_rqst *rqstp, struct svc_fh *fhp,
65 __be32 nfsd_file_acquire_opened(struct svc_rqst *rqstp, struct svc_fh *fhp,
H A Dnfssvc.c832 nfsd_acl_init_request(struct svc_rqst *rqstp, argument
836 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
839 if (likely(nfsd_support_acl_version(rqstp->rq_vers) &&
840 nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST)))
841 return svc_generic_init_request(rqstp, progp, ret);
845 if (nfsd_support_acl_version(rqstp->rq_vers) &&
855 if (nfsd_support_acl_version(rqstp->rq_vers) &&
877 nfsd_init_request(struct svc_rqst *rqstp, argument
881 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
884 if (likely(nfsd_vers(nn, rqstp
912 struct svc_rqst *rqstp = (struct svc_rqst *) vrqstp; local
961 nfsd_dispatch(struct svc_rqst *rqstp) argument
1048 nfssvc_decode_voidarg(struct svc_rqst *rqstp, struct xdr_stream *xdr) argument
1062 nfssvc_encode_voidres(struct svc_rqst *rqstp, struct xdr_stream *xdr) argument
[all...]
H A Dnfscache.c40 static int nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *vec);
88 nfsd_cacherep_alloc(struct svc_rqst *rqstp, __wsum csum, argument
101 rp->c_key.k_xid = rqstp->rq_xid;
102 rp->c_key.k_proc = rqstp->rq_proc;
103 rpc_copy_addr((struct sockaddr *)&rp->c_key.k_addr, svc_addr(rqstp));
104 rpc_set_port((struct sockaddr *)&rp->c_key.k_addr, rpc_get_port(svc_addr(rqstp)));
105 rp->c_key.k_prot = rqstp->rq_prot;
106 rp->c_key.k_vers = rqstp->rq_vers;
107 rp->c_key.k_len = rqstp->rq_arg.len;
414 * Search the request hash for an entry that matches the given rqstp
479 nfsd_cache_lookup(struct svc_rqst *rqstp, unsigned int start, unsigned int len, struct nfsd_cacherep **cacherep) argument
585 nfsd_cache_update(struct svc_rqst *rqstp, struct nfsd_cacherep *rp, int cachetype, __be32 *statp) argument
640 nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *data) argument
[all...]
H A Dtrace.h30 __entry->netns_ino = SVC_NET(rqstp)->ns.inum; \
31 __entry->xid = be32_to_cpu(rqstp->rq_xid); \
33 memcpy(__entry->server, &rqstp->rq_xprt->xpt_local, \
34 rqstp->rq_xprt->xpt_locallen); \
35 memcpy(__entry->client, &rqstp->rq_xprt->xpt_remote, \
36 rqstp->rq_xprt->xpt_remotelen); \
41 const struct svc_rqst *rqstp
43 TP_ARGS(rqstp),
49 __sockaddr(server, rqstp->rq_xprt->xpt_locallen)
50 __sockaddr(client, rqstp
[all...]
H A Dlockd.c28 nlm_fopen(struct svc_rqst *rqstp, struct nfs_fh *f, struct file **filp, argument
43 nfserr = nfsd_open(rqstp, &fh, S_IFREG, access, filp);
H A Dxdr4.h858 struct svc_rqst *rqstp; member in struct:nfsd4_compoundargs
873 struct svc_rqst * rqstp; member in struct:nfsd4_compoundres
885 struct nfsd4_compoundargs *args = resp->rqstp->rq_argp;
904 static inline bool nfsd4_last_compound_op(struct svc_rqst *rqstp) argument
906 struct nfsd4_compoundres *resp = rqstp->rq_resp;
907 struct nfsd4_compoundargs *argp = rqstp->rq_argp;
913 int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op);
918 bool nfsd4_mach_creds_match(struct nfs4_client *cl, struct svc_rqst *rqstp);
919 bool nfs4svc_decode_compoundargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
920 bool nfs4svc_encode_compoundres(struct svc_rqst *rqstp, struc
[all...]
H A Dexport.h102 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp);
103 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp);
H A Dexport.c1077 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp) argument
1080 struct svc_xprt *xprt = rqstp->rq_xprt;
1100 if (exp->ex_client == rqstp->rq_gssclient)
1104 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor)
1109 if (rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL ||
1110 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX)
1120 if (nfsd4_spo_must_allow(rqstp))
1124 return rqstp->rq_vers < 4 ? nfserr_acces : nfserr_wrongsec;
1137 rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path) argument
1140 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_i
1168 rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv) argument
1201 rqst_exp_parent(struct svc_rqst *rqstp, struct path *path) argument
1217 rqst_find_fsidzero_export(struct svc_rqst *rqstp) argument
1232 exp_pseudoroot(struct svc_rqst *rqstp, struct svc_fh *fhp) argument
[all...]
H A Dnfsd.h98 bool nfssvc_decode_voidarg(struct svc_rqst *rqstp,
100 bool nfssvc_encode_voidres(struct svc_rqst *rqstp,
107 int nfsd_dispatch(struct svc_rqst *rqstp);
161 nfsd_user_namespace(const struct svc_rqst *rqstp) argument
163 const struct cred *cred = rqstp->rq_xprt->xpt_cred;
180 bool nfsd4_spo_must_allow(struct svc_rqst *rqstp);
183 bool nfsd_wait_for_delegreturn(struct svc_rqst *rqstp, struct inode *inode);
193 static inline bool nfsd4_spo_must_allow(struct svc_rqst *rqstp) argument
199 static inline bool nfsd_wait_for_delegreturn(struct svc_rqst *rqstp, argument
/linux-master/include/trace/events/
H A Drpcgss.h177 const struct svc_rqst *rqstp,
181 TP_ARGS(rqstp, maj_stat),
186 __string(addr, rqstp->rq_xprt->xpt_remotebuf)
190 __entry->xid = __be32_to_cpu(rqstp->rq_xid);
204 const struct svc_rqst *rqstp, \
207 TP_ARGS(rqstp, maj_stat))
216 const struct svc_rqst *rqstp
219 TP_ARGS(rqstp),
223 __string(addr, rqstp->rq_xprt->xpt_remotebuf)
227 __entry->xid = be32_to_cpu(rqstp
[all...]
/linux-master/fs/nfs/
H A Dcallback.c77 struct svc_rqst *rqstp = vrqstp; local
81 while (!svc_thread_should_stop(rqstp))
82 svc_recv(rqstp);
84 svc_exit_thread(rqstp);
284 check_gss_callback_principal(struct nfs_client *clp, struct svc_rqst *rqstp) argument
286 char *p = rqstp->rq_cred.cr_principal;
288 if (rqstp->rq_authop->flavour != RPC_AUTH_GSS)
332 static enum svc_auth_status nfs_callback_authenticate(struct svc_rqst *rqstp) argument
334 rqstp->rq_auth_stat = rpc_autherr_badcred;
336 switch (rqstp
[all...]
H A Dcallback_xdr.c61 static __be32 nfs4_callback_null(struct svc_rqst *rqstp) argument
70 static bool nfs4_encode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr) argument
176 static __be32 decode_getattr_args(struct svc_rqst *rqstp, argument
188 static __be32 decode_recall_args(struct svc_rqst *rqstp, argument
212 static __be32 decode_layoutrecall_args(struct svc_rqst *rqstp, argument
256 __be32 decode_devicenotify_args(struct svc_rqst *rqstp, argument
395 static __be32 decode_cb_sequence_args(struct svc_rqst *rqstp, argument
412 args->csa_addr = svc_addr(rqstp);
443 static __be32 decode_recallany_args(struct svc_rqst *rqstp, argument
463 static __be32 decode_recallslot_args(struct svc_rqst *rqstp, argument
507 decode_notify_lock_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, void *argp) argument
548 decode_offload_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, void *data) argument
680 encode_getattr_res(struct svc_rqst *rqstp, struct xdr_stream *xdr, const void *resp) argument
726 encode_cb_sequence_res(struct svc_rqst *rqstp, struct xdr_stream *xdr, const void *resp) argument
861 process_op(int nop, struct svc_rqst *rqstp, struct cb_process_state *cps) argument
921 nfs4_callback_compound(struct svc_rqst *rqstp) argument
988 nfs_callback_dispatch(struct svc_rqst *rqstp) argument
[all...]
/linux-master/include/linux/sunrpc/
H A Dbc_xprt.h38 static inline bool svc_is_backchannel(const struct svc_rqst *rqstp) argument
40 return rqstp->rq_server->sv_bc_enabled;
59 static inline bool svc_is_backchannel(const struct svc_rqst *rqstp) argument
H A Dsvcsock.h59 void svc_recv(struct svc_rqst *rqstp);
60 void svc_send(struct svc_rqst *rqstp);
/linux-master/fs/lockd/
H A Dsvc.c124 struct svc_rqst *rqstp = vrqstp; local
137 while (!svc_thread_should_stop(rqstp)) {
139 rqstp->rq_server->sv_maxconn = nlm_max_connections;
141 nlmsvc_retry_blocked(rqstp);
142 svc_recv(rqstp);
152 svc_exit_thread(rqstp);
507 static enum svc_auth_status lockd_authenticate(struct svc_rqst *rqstp) argument
509 rqstp->rq_client = NULL;
510 switch (rqstp->rq_authop->flavour) {
513 rqstp
640 nlmsvc_dispatch(struct svc_rqst *rqstp) argument
[all...]
/linux-master/net/sunrpc/xprtrdma/
H A Dsvc_rdma_rw.c721 * @rqstp: RPC transaction context
731 static int svc_rdma_build_read_segment(struct svc_rqst *rqstp, argument
735 struct svcxprt_rdma *rdma = svc_rdma_rqst_rdma(rqstp);
757 sg_set_page(sg, rqstp->rq_pages[head->rc_curpage],
768 if (len && ((head->rc_curpage + 1) > ARRAY_SIZE(rqstp->rq_pages)))
789 * @rqstp: RPC transaction context
799 static int svc_rdma_build_read_chunk(struct svc_rqst *rqstp, argument
808 ret = svc_rdma_build_read_segment(rqstp, head, segment);
818 * @rqstp: RPC transaction context
823 * Take a page at a time from rqstp
832 svc_rdma_copy_inline_range(struct svc_rqst *rqstp, struct svc_rdma_recv_ctxt *head, unsigned int offset, unsigned int remaining) argument
882 svc_rdma_read_multiple_chunks(struct svc_rqst *rqstp, struct svc_rdma_recv_ctxt *head) argument
936 svc_rdma_read_data_item(struct svc_rqst *rqstp, struct svc_rdma_recv_ctxt *head) argument
958 svc_rdma_read_chunk_range(struct svc_rqst *rqstp, struct svc_rdma_recv_ctxt *head, const struct svc_rdma_chunk *chunk, unsigned int offset, unsigned int length) argument
1002 svc_rdma_read_call_chunk(struct svc_rqst *rqstp, struct svc_rdma_recv_ctxt *head) argument
1065 svc_rdma_read_special(struct svc_rqst *rqstp, struct svc_rdma_recv_ctxt *head) argument
1081 svc_rdma_clear_rqst_pages(struct svc_rqst *rqstp, struct svc_rdma_recv_ctxt *head) argument
1115 svc_rdma_process_read_list(struct svcxprt_rdma *rdma, struct svc_rqst *rqstp, struct svc_rdma_recv_ctxt *head) argument
[all...]
H A Dsvc_rdma_sendto.c853 static void svc_rdma_save_io_pages(struct svc_rqst *rqstp, argument
856 int i, pages = rqstp->rq_next_page - rqstp->rq_respages;
860 ctxt->sc_pages[i] = rqstp->rq_respages[i];
861 rqstp->rq_respages[i] = NULL;
865 rqstp->rq_next_page = rqstp->rq_respages;
883 struct svc_rqst *rqstp)
889 &rctxt->rc_reply_pcl, &rqstp->rq_res);
896 svc_rdma_save_io_pages(rqstp, sctx
880 svc_rdma_send_reply_msg(struct svcxprt_rdma *rdma, struct svc_rdma_send_ctxt *sctxt, const struct svc_rdma_recv_ctxt *rctxt, struct svc_rqst *rqstp) argument
989 svc_rdma_sendto(struct svc_rqst *rqstp) argument
1083 svc_rdma_result_payload(struct svc_rqst *rqstp, unsigned int offset, unsigned int length) argument
[all...]

Completed in 372 milliseconds

1234