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);
370 /* client path */
389 static int check_export(struct path *path, int *flags, unsigned char *uuid)
391 struct inode *inode = d_inode(path->dentry);
430 if (is_idmapped_mnt(path->mnt)) {
481 /* slash separated path component list */
486 fsloc->locations[i].path = kstrdup(buf, GFP_KERNEL);
487 if (!fsloc->locations[i].path)
594 /* client path expiry [flags anonuid anongid fsid] */
619 /* path */
760 seq_puts(m, "#path domain start-time\n#\tstats\n");
762 seq_puts(m, "#path domain(flags)\n");
947 const struct path *path, struct cache_req *reqp)
956 key.ex_path = *path;
974 exp_parent(struct cache_detail *cd, struct auth_domain *clp, struct path *path)
976 struct dentry *saved = dget(path->dentry);
977 struct svc_export *exp = exp_get_by_name(cd, clp, path, NULL);
979 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) {
980 struct dentry *parent = dget_parent(path->dentry);
981 dput(path->dentry);
982 path->dentry = parent;
983 exp = exp_get_by_name(cd, clp, path, NULL);
985 dput(path->dentry);
986 path->dentry = saved;
1002 struct path path;
1011 if (kern_path(name, 0, &path)) {
1012 printk("nfsd: exp_rootfh path not found %s", name);
1015 inode = d_inode(path.dentry);
1018 name, path.dentry, clp->name,
1020 exp = exp_parent(cd, clp, &path);
1030 if (fh_compose(&fh, exp, path.dentry, NULL))
1038 path_put(&path);
1120 rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path)
1130 exp = exp_get_by_name(cd, rqstp->rq_client, path, &rqstp->rq_chandle);
1142 gssexp = exp_get_by_name(cd, rqstp->rq_gssclient, path, &rqstp->rq_chandle);
1184 rqst_exp_parent(struct svc_rqst *rqstp, struct path *path)
1186 struct dentry *saved = dget(path->dentry);
1187 struct svc_export *exp = rqst_exp_get_by_name(rqstp, path);
1189 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) {
1190 struct dentry *parent = dget_parent(path->dentry);
1191 dput(path->dentry);
1192 path->dentry = parent;
1193 exp = rqst_exp_get_by_name(rqstp, path);
1195 dput(path->dentry);
1196 path->dentry = saved;
1327 seq_escape(m, fsloc->locations[0].path, ",;@ \t\n\\");
1332 seq_escape(m, fsloc->locations[i].path, ",;@ \t\n\\");