• Home
  • Raw
  • Download

Lines Matching refs:cd

53 static void expkey_request(struct cache_detail *cd,  in expkey_request()  argument
68 static struct svc_expkey *svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new,
70 static struct svc_expkey *svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *);
72 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse() argument
128 ek = svc_expkey_lookup(cd, &key); in expkey_parse()
142 ek = svc_expkey_update(cd, &key, ek); in expkey_parse()
152 ek = svc_expkey_update(cd, &key, ek); in expkey_parse()
160 cache_put(&ek->h, cd); in expkey_parse()
168 struct cache_detail *cd, in expkey_show() argument
276 svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *item) in svc_expkey_lookup() argument
281 ch = sunrpc_cache_lookup_rcu(cd, &item->h, hash); in svc_expkey_lookup()
289 svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new, in svc_expkey_update() argument
295 ch = sunrpc_cache_update(cd, &new->h, &old->h, hash); in svc_expkey_update()
333 static void svc_export_request(struct cache_detail *cd, in svc_export_request() argument
524 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) in svc_export_parse() argument
563 exp.cd = cd; in svc_export_parse()
672 struct cache_detail *cd, in svc_export_show() argument
726 new->cd = item->cd; in svc_export_init()
796 ch = sunrpc_cache_lookup_rcu(exp->cd, &exp->h, hash); in svc_export_lookup()
809 ch = sunrpc_cache_update(old->cd, &new->h, &old->h, hash); in svc_export_update()
818 exp_find_key(struct cache_detail *cd, struct auth_domain *clp, int fsid_type, in exp_find_key() argument
831 ek = svc_expkey_lookup(cd, &key); in exp_find_key()
834 err = cache_check(cd, &ek->h, reqp); in exp_find_key()
841 exp_get_by_name(struct cache_detail *cd, struct auth_domain *clp, in exp_get_by_name() argument
852 key.cd = cd; in exp_get_by_name()
857 err = cache_check(cd, &exp->h, reqp); in exp_get_by_name()
867 exp_parent(struct cache_detail *cd, struct auth_domain *clp, struct path *path) in exp_parent() argument
870 struct svc_export *exp = exp_get_by_name(cd, clp, path, NULL); in exp_parent()
876 exp = exp_get_by_name(cd, clp, path, NULL); in exp_parent()
900 struct cache_detail *cd = nn->svc_export_cache; in exp_rootfh() local
913 exp = exp_parent(cd, clp, &path); in exp_rootfh()
935 static struct svc_export *exp_find(struct cache_detail *cd, in exp_find() argument
940 struct nfsd_net *nn = net_generic(cd->net, nfsd_net_id); in exp_find()
945 exp = exp_get_by_name(cd, clp, &ek->ek_path, reqp); in exp_find()
999 struct cache_detail *cd = nn->svc_export_cache; in rqst_exp_get_by_name() local
1005 exp = exp_get_by_name(cd, rqstp->rq_client, path, &rqstp->rq_chandle); in rqst_exp_get_by_name()
1017 gssexp = exp_get_by_name(cd, rqstp->rq_gssclient, path, &rqstp->rq_chandle); in rqst_exp_get_by_name()
1030 struct cache_detail *cd = nn->svc_export_cache; in rqst_exp_find() local
1036 exp = exp_find(cd, rqstp->rq_client, fsid_type, in rqst_exp_find()
1049 gssexp = exp_find(cd, rqstp->rq_gssclient, fsid_type, fsidv, in rqst_exp_find()
1218 struct cache_detail *cd = m->private; in e_show() local
1227 if (cache_check(cd, &exp->h, NULL)) in e_show()
1230 return svc_export_show(m, cd, cp); in e_show()