Lines Matching refs:from
62 /* kernfs_node_depth - compute depth from @from to @to */
63 static size_t kernfs_depth(struct kernfs_node *from, struct kernfs_node *to)
67 while (to->parent && to != from) {
192 * This function can be called from any context.
206 * kernfs_path_from_node - build path of node @to relative to @from.
207 * @from: parent kernfs_node relative to which we need to build the path
212 * Builds @to's path relative to @from in @buf. @from and @to must
213 * be on the same kernfs-root. If @from is not parent of @to, then a relative
214 * path (which includes '..'s) as needed to reach from @from to @to is
221 int kernfs_path_from_node(struct kernfs_node *to, struct kernfs_node *from,
228 ret = kernfs_path_from_node_locked(to, from, buf, buflen);
238 * This function can be called from any context.
256 * This function can be called from any context.
288 * called from any context.
352 * Link @kn into its sibling rbtree which starts from
396 * kernfs_unlink_sibling - unlink kernfs_node from sibling rbtree
399 * Try to unlink @kn from its sibling rbtree which starts from
701 * kernfs_find_and_get_node_by_id - get kernfs_node from node id
1012 * kernfs_remove holds kernfs_rwsem from the root so the root
1125 * Also kernfs negative dentries transitioning from
1212 * or transforms from positive dentry in dentry_unlink_inode()
1213 * called from vfs_rmdir().
1578 * kernfs_remove_self - remove a kernfs_node from its own method