Lines Matching +defs:child +defs:name
513 IORegistryEntry * child;
515 if ( (child = getParentEntry(gIOServicePlane)) )
519 if ( (parent = child->getParentEntry(gIODTPlane)) )
521 const char * location = child->getLocation(gIODTPlane);
522 const char * name = child->getName(gIODTPlane);
527 media->setName(name, gIODTPlane);
529 child->detachFromParent(parent, gIODTPlane);
545 IORegistryEntry * child;
547 if ( (child = getParentEntry(gIOServicePlane)) )
554 const char * name = media->getName(gIODTPlane);
556 if ( child->attachToParent(parent, gIODTPlane) )
558 child->setLocation(location, gIODTPlane);
559 child->setName(name, gIODTPlane);