| ofctl.c | 237 	int childid = nodeid;  local in function:of_proplib_tree_fill 278 	if (ioctl(fd, OFIOCGETCHILD, &childid) < 0)
 279 		err(1, "OFIOCGETCHILD(%d, %#x)", fd, childid);
 282 	while (childid != 0) {
 285 		prop_array_add(children, of_proplib_tree_fill(fd, childid));
 286 		if (ioctl(fd, OFIOCGETNEXT, &childid) < 0)
 287 			err(1, "OFIOCGETNEXT(%d, %#x)", fd, childid);
 351 OF_parent(int childid)
 355 	if (childid == 0)
 358 	child = of_tree_walk(&of_root, of_match_by_nodeid, &childid);
 [all...]
 |