Lines Matching refs:child
184 struct device_node *dp, *child; in openpromfs_lookup() local
202 child = dp->child; in openpromfs_lookup()
203 while (child) { in openpromfs_lookup()
204 const char *node_name = kbasename(child->full_name); in openpromfs_lookup()
210 ent_data.node = child; in openpromfs_lookup()
211 ino = child->unique_id; in openpromfs_lookup()
214 child = child->sibling; in openpromfs_lookup()
270 struct device_node *child; in openpromfs_readdir() local
292 child = dp->child; in openpromfs_readdir()
293 while (i && child) { in openpromfs_readdir()
294 child = child->sibling; in openpromfs_readdir()
297 while (child) { in openpromfs_readdir()
299 kbasename(child->full_name), in openpromfs_readdir()
300 strlen(kbasename(child->full_name)), in openpromfs_readdir()
301 child->unique_id, DT_DIR)) in openpromfs_readdir()
305 child = child->sibling; in openpromfs_readdir()