Lines Matching refs:rqstp

938 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp)  in check_nfsd_access()  argument
944 if (exp->ex_client == rqstp->rq_gssclient) in check_nfsd_access()
948 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in check_nfsd_access()
953 if (rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL || in check_nfsd_access()
954 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX) in check_nfsd_access()
970 rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path) in rqst_exp_get_by_name() argument
973 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in rqst_exp_get_by_name()
976 if (rqstp->rq_client == NULL) in rqst_exp_get_by_name()
980 exp = exp_get_by_name(cd, rqstp->rq_client, path, &rqstp->rq_chandle); in rqst_exp_get_by_name()
990 if (rqstp->rq_gssclient == NULL) in rqst_exp_get_by_name()
992 gssexp = exp_get_by_name(cd, rqstp->rq_gssclient, path, &rqstp->rq_chandle); in rqst_exp_get_by_name()
1001 rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv) in rqst_exp_find() argument
1004 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in rqst_exp_find()
1007 if (rqstp->rq_client == NULL) in rqst_exp_find()
1011 exp = exp_find(cd, rqstp->rq_client, fsid_type, in rqst_exp_find()
1012 fsidv, &rqstp->rq_chandle); in rqst_exp_find()
1022 if (rqstp->rq_gssclient == NULL) in rqst_exp_find()
1024 gssexp = exp_find(cd, rqstp->rq_gssclient, fsid_type, fsidv, in rqst_exp_find()
1025 &rqstp->rq_chandle); in rqst_exp_find()
1034 rqst_exp_parent(struct svc_rqst *rqstp, struct path *path) in rqst_exp_parent() argument
1037 struct svc_export *exp = rqst_exp_get_by_name(rqstp, path); in rqst_exp_parent()
1043 exp = rqst_exp_get_by_name(rqstp, path); in rqst_exp_parent()
1050 struct svc_export *rqst_find_fsidzero_export(struct svc_rqst *rqstp) in rqst_find_fsidzero_export() argument
1056 return rqst_exp_find(rqstp, FSID_NUM, fsidv); in rqst_find_fsidzero_export()
1065 exp_pseudoroot(struct svc_rqst *rqstp, struct svc_fh *fhp) in exp_pseudoroot() argument
1070 exp = rqst_find_fsidzero_export(rqstp); in exp_pseudoroot()