Lines Matching refs:parent
25 struct kernfs_node *kernfs_create_link(struct kernfs_node *parent, in kernfs_create_link() argument
39 kn = kernfs_new_node(parent, name, S_IFLNK|S_IRWXUGO, uid, gid, in kernfs_create_link()
44 if (kernfs_ns_enabled(parent)) in kernfs_create_link()
57 static int kernfs_get_target_path(struct kernfs_node *parent, in kernfs_get_target_path() argument
65 base = parent; in kernfs_get_target_path()
66 while (base->parent) { in kernfs_get_target_path()
67 kn = target->parent; in kernfs_get_target_path()
68 while (kn->parent && base != kn) in kernfs_get_target_path()
69 kn = kn->parent; in kernfs_get_target_path()
79 base = base->parent; in kernfs_get_target_path()
84 while (kn->parent && kn != base) { in kernfs_get_target_path()
86 kn = kn->parent; in kernfs_get_target_path()
98 while (kn->parent && kn != base) { in kernfs_get_target_path()
106 kn = kn->parent; in kernfs_get_target_path()
115 struct kernfs_node *parent = kn->parent; in kernfs_getlink() local
120 error = kernfs_get_target_path(parent, target, path); in kernfs_getlink()