Lines Matching refs:path

80 	/* client fsidtype fsid expiry [path] */
158 dprintk("Found the path %s\n", buf);
185 seq_puts(m, "#domain fsidtype fsid [path]\n");
326 kfree(locations[i].path);
353 /* client path */
452 /* slash separated path component list */
457 fsloc->locations[i].path = kstrdup(buf, GFP_KERNEL);
458 if (!fsloc->locations[i].path)
542 /* client path expiry [flags anonuid anongid fsid] */
569 /* path */
696 seq_puts(m, "#path domain(flags)\n");
863 const struct path *path, struct cache_req *reqp)
872 key.ex_path = *path;
890 exp_parent(struct cache_detail *cd, struct auth_domain *clp, struct path *path)
892 struct dentry *saved = dget(path->dentry);
893 struct svc_export *exp = exp_get_by_name(cd, clp, path, NULL);
895 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) {
896 struct dentry *parent = dget_parent(path->dentry);
897 dput(path->dentry);
898 path->dentry = parent;
899 exp = exp_get_by_name(cd, clp, path, NULL);
901 dput(path->dentry);
902 path->dentry = saved;
918 struct path path;
927 if (kern_path(name, 0, &path)) {
928 printk("nfsd: exp_rootfh path not found %s", name);
931 inode = d_inode(path.dentry);
934 name, path.dentry, clp->name,
936 exp = exp_parent(cd, clp, &path);
946 if (fh_compose(&fh, exp, path.dentry, NULL))
954 path_put(&path);
1018 rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path)
1028 exp = exp_get_by_name(cd, rqstp->rq_client, path, &rqstp->rq_chandle);
1040 gssexp = exp_get_by_name(cd, rqstp->rq_gssclient, path, &rqstp->rq_chandle);
1082 rqst_exp_parent(struct svc_rqst *rqstp, struct path *path)
1084 struct dentry *saved = dget(path->dentry);
1085 struct svc_export *exp = rqst_exp_get_by_name(rqstp, path);
1087 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) {
1088 struct dentry *parent = dget_parent(path->dentry);
1089 dput(path->dentry);
1090 path->dentry = parent;
1091 exp = rqst_exp_get_by_name(rqstp, path);
1093 dput(path->dentry);
1094 path->dentry = saved;
1225 seq_escape(m, fsloc->locations[0].path, ",;@ \t\n\\");
1230 seq_escape(m, fsloc->locations[i].path, ",;@ \t\n\\");