Lines Matching refs:path
112 static int get_target(const char *symname, struct path *path, in get_target() argument
117 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
119 if (path->dentry->d_sb == sb) { in get_target()
120 *target = configfs_get_config_item(path->dentry); in get_target()
123 path_put(path); in get_target()
127 path_put(path); in get_target()
138 struct path path; in configfs_symlink() local
161 ret = get_target(symname, &path, &target_item, dentry->d_sb); in configfs_symlink()
176 path_put(&path); in configfs_symlink()
236 char *path) in configfs_get_target_path() argument
248 for (s = path; depth--; s += 3) in configfs_get_target_path()
251 fill_item_path(target, path, size); in configfs_get_target_path()
252 pr_debug("%s: path = '%s'\n", __func__, path); in configfs_get_target_path()
257 static int configfs_getlink(struct dentry *dentry, char * path) in configfs_getlink() argument
273 error = configfs_get_target_path(item, target_item, path); in configfs_getlink()