Lines Matching +defs:child +defs:name
186 const IORegistryPlane * IORegistryEntry::makePlane( const char * name )
197 strlcpy( key, name, kIOMaxPlaneName + 1 );
250 const IORegistryPlane * IORegistryEntry::getPlane( const char * name )
255 plane = (const IORegistryPlane *) gIORegistryPlanes->getObject( name );
561 IOLog("%s: IORegistryEntry name %s with key \"%s\" \n",
782 void IORegistryEntry::setName( const OSSymbol * name,
787 if( name) {
794 registryTable()->setObject( key, (OSObject *) name);
799 void IORegistryEntry::setName( const char * name,
802 OSSymbol * sym = (OSSymbol *)OSSymbol::withCString( name );
837 IORegistryEntry::compareName( OSString * name, OSString ** matched ) const
842 isEqual = sym->isEqualTo( name );
845 name->retain();
846 *matched = name;
1206 // get plane name
1533 bool IORegistryEntry::isChild( IORegistryEntry * child,
1544 ret = arrayMember( links, child );
1546 if( ret && (links = child->getParentSetReference( plane )))
1683 bool IORegistryEntry::attachToChild( IORegistryEntry * child,
1690 if( this == child)
1695 ret = makeLink( child, kChildSetIndex, plane );
1697 if( (links = child->getParentSetReference( plane )))
1705 ret &= child->attachToParent( this, plane );
1737 void IORegistryEntry::detachFromChild( IORegistryEntry * child,
1745 child->retain();
1747 breakLink( child, kChildSetIndex, plane );
1749 if( (links = child->getParentSetReference( plane )))
1757 child->detachFromParent( this, plane );
1759 child->release();