Lines Matching defs:rqstp
976 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp)
982 if (exp->ex_client == rqstp->rq_gssclient)
986 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor)
991 if (rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL ||
992 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX)
1002 if (nfsd4_spo_must_allow(rqstp))
1005 return rqstp->rq_vers < 4 ? nfserr_acces : nfserr_wrongsec;
1018 rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path)
1021 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
1024 if (rqstp->rq_client == NULL)
1028 exp = exp_get_by_name(cd, rqstp->rq_client, path, &rqstp->rq_chandle);
1038 if (rqstp->rq_gssclient == NULL)
1040 gssexp = exp_get_by_name(cd, rqstp->rq_gssclient, path, &rqstp->rq_chandle);
1049 rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv)
1052 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
1055 if (rqstp->rq_client == NULL)
1059 exp = exp_find(cd, rqstp->rq_client, fsid_type,
1060 fsidv, &rqstp->rq_chandle);
1070 if (rqstp->rq_gssclient == NULL)
1072 gssexp = exp_find(cd, rqstp->rq_gssclient, fsid_type, fsidv,
1073 &rqstp->rq_chandle);
1082 rqst_exp_parent(struct svc_rqst *rqstp, struct path *path)
1085 struct svc_export *exp = rqst_exp_get_by_name(rqstp, path);
1091 exp = rqst_exp_get_by_name(rqstp, path);
1098 struct svc_export *rqst_find_fsidzero_export(struct svc_rqst *rqstp)
1104 return rqst_exp_find(rqstp, FSID_NUM, fsidv);
1113 exp_pseudoroot(struct svc_rqst *rqstp, struct svc_fh *fhp)
1118 exp = rqst_find_fsidzero_export(rqstp);