Lines Matching refs:path
111 static int get_target(const char *symname, struct path *path, in get_target() argument
116 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
118 if (path->dentry->d_sb == configfs_sb) { in get_target()
119 *target = configfs_get_config_item(path->dentry); in get_target()
122 path_put(path); in get_target()
135 struct path path; in configfs_symlink() local
162 ret = get_target(symname, &path, &target_item); in configfs_symlink()
177 path_put(&path); in configfs_symlink()
239 char *path) in configfs_get_target_path() argument
251 for (s = path; depth--; s += 3) in configfs_get_target_path()
254 fill_item_path(target, path, size); in configfs_get_target_path()
255 pr_debug("%s: path = '%s'\n", __func__, path); in configfs_get_target_path()
260 static int configfs_getlink(struct dentry *dentry, char * path) in configfs_getlink() argument
276 error = configfs_get_target_path(item, target_item, path); in configfs_getlink()