Lines Matching refs:from
58 /* kernfs_node_depth - compute depth from @from to @to */
59 static size_t kernfs_depth(struct kernfs_node *from, struct kernfs_node *to)
63 while (to->parent && to != from) {
189 * This function can be called from any context.
203 * kernfs_path_from_node - build path of node @to relative to @from.
204 * @from: parent kernfs_node relative to which we need to build the path
209 * Builds @to's path relative to @from in @buf. @from and @to must
210 * be on the same kernfs-root. If @from is not parent of @to, then a relative
211 * path (which includes '..'s) as needed to reach from @from to @to is
218 int kernfs_path_from_node(struct kernfs_node *to, struct kernfs_node *from,
225 ret = kernfs_path_from_node_locked(to, from, buf, buflen);
235 * This function can be called from any context.
253 * This function can be called from any context.
285 * called from any context.
347 * Link @kn into its sibling rbtree which starts from
388 * kernfs_unlink_sibling - unlink kernfs_node from sibling rbtree
391 * Try to unlink @kn from its sibling rbtree which starts from
721 * kernfs_find_and_get_node_by_id - get kernfs_node from node id
1437 * kernfs_remove_self - remove a kernfs_node from its own method