Lines Matching refs:inst
767 _IOOpenServiceIterator * inst;
772 inst = new _IOOpenServiceIterator;
774 if( inst && !inst->init()) {
775 inst->release();
776 inst = 0;
778 if( inst) {
779 inst->iter = _iter;
780 inst->client = client;
781 inst->provider = provider;
784 return( inst );
2396 IOService * inst;
2511 inst = 0;
2525 inst = (IOService *) OSMetaClass::allocClassWithName( symbol);
2527 if( !inst) {
2534 if( !(inst->init( props ))) {
2542 inst->__state[1] |= kIOServiceSynchronousState;
2549 inst->setProperty( gIOMatchCategoryKey, (OSObject *) category );
2555 if( !(inst->attach( this )))
2565 inst->getMetaClass()->getClassName(), getName());
2568 newInst = inst->probe( this, &score );
2569 inst->detach( this );
2621 if( inst)
2622 inst->release();
2648 && (inst = (IOService *)startList->getFirstObject())) {
2650 inst->retain();
2651 startList->removeObject(inst);
2654 debugFlags = getDebugFlags( inst->getPropertyTable() );
2659 LOG( "%s::start(%s) <%d>\n", inst->getName(),
2660 getName(), inst->getRetainCount());
2664 started = startCandidate( inst );
2667 LOG( "%s::start(%s) <%d> failed\n", inst->getName(), getName(),
2668 inst->getRetainCount());
2670 inst->release();
2866 _IOConfigThread * inst;
2869 if( !(inst = new _IOConfigThread))
2871 if( !inst->init())
2873 if( !(IOCreateThread((IOThreadFunc) &_IOConfigThread::main, inst )))
2880 if( inst)
2881 inst->release();
3776 IOResources * inst;
3778 inst = new IOResources;
3779 if( inst && !inst->init()) {
3780 inst->release();
3781 inst = 0;
3784 return( inst );