Lines Matching defs:rqstp
1060 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp)
1063 struct svc_xprt *xprt = rqstp->rq_xprt;
1083 if (exp->ex_client == rqstp->rq_gssclient)
1087 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor)
1092 if (rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL ||
1093 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX)
1103 if (nfsd4_spo_must_allow(rqstp))
1107 return rqstp->rq_vers < 4 ? nfserr_acces : nfserr_wrongsec;
1120 rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path)
1123 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
1126 if (rqstp->rq_client == NULL)
1130 exp = exp_get_by_name(cd, rqstp->rq_client, path, &rqstp->rq_chandle);
1140 if (rqstp->rq_gssclient == NULL)
1142 gssexp = exp_get_by_name(cd, rqstp->rq_gssclient, path, &rqstp->rq_chandle);
1151 rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv)
1154 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
1157 if (rqstp->rq_client == NULL)
1161 exp = exp_find(cd, rqstp->rq_client, fsid_type,
1162 fsidv, &rqstp->rq_chandle);
1172 if (rqstp->rq_gssclient == NULL)
1174 gssexp = exp_find(cd, rqstp->rq_gssclient, fsid_type, fsidv,
1175 &rqstp->rq_chandle);
1184 rqst_exp_parent(struct svc_rqst *rqstp, struct path *path)
1187 struct svc_export *exp = rqst_exp_get_by_name(rqstp, path);
1193 exp = rqst_exp_get_by_name(rqstp, path);
1200 struct svc_export *rqst_find_fsidzero_export(struct svc_rqst *rqstp)
1206 return rqst_exp_find(rqstp, FSID_NUM, fsidv);
1215 exp_pseudoroot(struct svc_rqst *rqstp, struct svc_fh *fhp)
1220 exp = rqst_find_fsidzero_export(rqstp);