Lines Matching defs:parent
57 struct inode *parent)
106 struct kernfs_node *parent;
108 parent = kernfs_get_parent(kn);
110 kn = parent;
141 return d_obtain_alias(kernfs_get_inode(child->d_sb, kn->parent));
166 * find the next ancestor in the path down to @child, where @parent was the
169 * Say the path is /a/b/c/d. @child is d, @parent is NULL. We return the root
170 * node. If @parent is b, then we return the node for c.
171 * Passing in d as @parent is not ok.
174 struct kernfs_node *parent)
176 if (child == parent) {
177 pr_crit_once("BUG in find_next_ancestor: called with parent == child");
181 while (child->parent != parent) {
182 if (!child->parent)
184 child = child->parent;
206 if (!kn->parent)