Lines Matching defs:kn_from
102 * where kn_from is treated as root of the path.
103 * @kn_from: kernfs node which should be treated as root for the path
109 * [1] when @kn_from is an ancestor of @kn_to at some level
110 * kn_from: /n1/n2/n3
114 * [2] when @kn_from is on a different hierarchy and we need to find common
115 * ancestor between @kn_from and @kn_to.
116 * kn_from: /n1/n2/n3/n4
120 * kn_from: /n1/n2/n3/n4/n5 [depth=5]
131 struct kernfs_node *kn_from,
142 if (!kn_from)
143 kn_from = kernfs_root(kn_to)->kn;
145 if (kn_from == kn_to)
151 common = kernfs_common_ancestor(kn_from, kn_to);
156 depth_from = kernfs_depth(common, kn_from);