Lines Matching defs:path
80 /* client fsidtype fsid expiry [path] */
156 dprintk("Found the path %s\n", buf);
183 seq_puts(m, "#domain fsidtype fsid [path]\n");
324 kfree(locations[i].path);
386 /* client path */
405 static int check_export(struct path *path, int *flags, unsigned char *uuid)
407 struct inode *inode = d_inode(path->dentry);
445 if (is_idmapped_mnt(path->mnt)) {
496 /* slash separated path component list */
501 fsloc->locations[i].path = kstrdup(buf, GFP_KERNEL);
502 if (!fsloc->locations[i].path)
609 /* client path expiry [flags anonuid anongid fsid] */
634 /* path */
775 seq_puts(m, "#path domain start-time\n#\tstats\n");
777 seq_puts(m, "#path domain(flags)\n");
971 const struct path *path, struct cache_req *reqp)
980 key.ex_path = *path;
998 exp_parent(struct cache_detail *cd, struct auth_domain *clp, struct path *path)
1000 struct dentry *saved = dget(path->dentry);
1001 struct svc_export *exp = exp_get_by_name(cd, clp, path, NULL);
1003 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) {
1004 struct dentry *parent = dget_parent(path->dentry);
1005 dput(path->dentry);
1006 path->dentry = parent;
1007 exp = exp_get_by_name(cd, clp, path, NULL);
1009 dput(path->dentry);
1010 path->dentry = saved;
1026 struct path path;
1035 if (kern_path(name, 0, &path)) {
1036 printk("nfsd: exp_rootfh path not found %s", name);
1039 inode = d_inode(path.dentry);
1042 name, path.dentry, clp->name,
1044 exp = exp_parent(cd, clp, &path);
1054 if (fh_compose(&fh, exp, path.dentry, NULL))
1062 path_put(&path);
1184 rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path)
1194 exp = exp_get_by_name(cd, rqstp->rq_client, path, &rqstp->rq_chandle);
1206 gssexp = exp_get_by_name(cd, rqstp->rq_gssclient, path, &rqstp->rq_chandle);
1263 rqst_exp_parent(struct svc_rqst *rqstp, struct path *path)
1265 struct dentry *saved = dget(path->dentry);
1266 struct svc_export *exp = rqst_exp_get_by_name(rqstp, path);
1268 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) {
1269 struct dentry *parent = dget_parent(path->dentry);
1270 dput(path->dentry);
1271 path->dentry = parent;
1272 exp = rqst_exp_get_by_name(rqstp, path);
1274 dput(path->dentry);
1275 path->dentry = saved;
1408 seq_escape(m, fsloc->locations[0].path, ",;@ \t\n\\");
1413 seq_escape(m, fsloc->locations[i].path, ",;@ \t\n\\");