• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/xnu-2422.115.4/iokit/Kernel/

Lines Matching defs:links

1317     OSArray *	links;
1320 if( (links = (OSArray *)
1323 result = arrayMember( links, to );
1325 result = links->setObject( to );
1329 links = OSArray::withObjects( (const OSObject **) &to, 1, 1 );
1330 result = (links != 0);
1333 links );
1334 links->release();
1345 OSArray * links;
1348 if( (links = (OSArray *)
1351 if( arrayMember( links, to, &index )) {
1352 links->removeObject( index );
1353 if( 0 == links->getCount())
1373 OSArray * links;
1380 links = getParentSetReference( plane );
1381 if( 0 == links)
1382 links = OSArray::withCapacity( 1 );
1384 links = OSArray::withArray( links, links->getCount() );
1387 iter = IOLinkIterator::withCollection( links );
1389 if( links)
1390 links->release();
1398 OSArray * links;
1402 if( (links = getParentSetReference( plane ))) {
1403 entry = (IORegistryEntry *) links->getObject( 0 );
1434 OSArray * links;
1441 links = getChildSetReference( plane );
1442 if( 0 == links)
1443 links = OSArray::withCapacity( 1 );
1445 links = OSArray::withArray( links, links->getCount() );
1448 iter = IOLinkIterator::withCollection( links );
1450 if( links)
1451 links->release();
1461 OSArray * links;
1465 if( (links = getChildSetReference( plane ))) {
1466 entry = (IORegistryEntry *) links->getObject( 0 );
1537 OSArray * links;
1542 if( (links = getChildSetReference( plane ))) {
1543 if( (!onlyChild) || (1 == links->getCount()))
1544 ret = arrayMember( links, child );
1546 if( ret && (links = child->getParentSetReference( plane )))
1547 ret = arrayMember( links, this );
1559 OSArray * links;
1564 if( (links = getParentSetReference( plane ))) {
1565 if( (!onlyParent) || (1 == links->getCount()))
1566 ret = arrayMember( links, parent );
1568 if( ret && (links = parent->getChildSetReference( plane )))
1569 ret = arrayMember( links, this );
1623 OSArray * links;
1637 if( (links = parent->getChildSetReference( plane )))
1638 needParent = (false == arrayMember( links, this ));
1686 OSArray * links;
1697 if( (links = child->getParentSetReference( plane )))
1698 needChild = (false == arrayMember( links, this ));
1713 OSArray * links;
1722 if( (links = parent->getChildSetReference( plane )))
1723 needParent = arrayMember( links, this );
1740 OSArray * links;
1749 if( (links = child->getParentSetReference( plane )))
1750 needChild = arrayMember( links, this );
1981 OSArray * links = 0;
1989 && (links = ( (options & kIORegistryIterateParents) ?
1993 where->iter = OSCollectionIterator::withCollection( links );