• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/

Lines Matching refs:service

195     IOService *   service;
234 requireMaxCpuDelay(IOService * service, UInt32 ns, UInt32 delayType);
373 // Probe a matched service and return an instance to be started.
402 * Attach in service plane
464 // check for last client detach from a terminated service
617 IOService * service;
646 LOG("Matching service count = %ld\n", count);
652 while( (service = (IOService *) allSet->getAnyObject())) {
653 service->startMatching(kIOServiceAsynchronous);
654 allSet->removeObject(service);
687 * Called on a registered service to see if it matches
702 * Called on a matched service to allocate resources
950 element->service = this;
962 if( active->service == element->service ) {
1009 if( active->service == waiting->service ) {
1224 if( element->service == this ) {
1258 if( element->service == this ) {
1309 // send a message to a client or interested party of this service
1314 IOService * service;
1317 if( (service = OSDynamicCast( IOService, client)))
1318 ret = service->message( type, this, argument );
1405 IOService * service;
1417 ret = context->service->messageClient( context->type,
1429 context.service = this;
1619 IOService * service,
1625 if( (wl = service->getWorkLoop())) {
1627 wl->runAction( action, service, p0, p1, p2, p3 );
1630 (*action)( service, p0, p1, p2, p3 );
2141 IOService * service;
2152 context->service->messageClient( context->type, object, (void *) context->options );
2162 context.service = this;
2205 context.service = this;
2290 IOService * service;
2298 else if( (service = OSDynamicCast( IOService, entry)))
2299 offset = OSDynamicCast(OSNumber, service->getProperty( key ));
2334 IOService * service = 0;
2340 while( (service = (IOService *) iter->getNextObject())) {
2341 if( kIOServiceInactiveState & service->__state[0])
2344 service->getProperty( gIOMatchCategoryKey ));
2350 return( service );
2703 bool IOService::startCandidate( IOService * service )
2707 ok = service->attach( this );
2716 service->checkResources();
2726 ok = service->start(this);
2737 IOLog("%s::start took %ld ms\n", service->getName(), (UInt32)(nano / 1000000ULL));
2741 service->detach( this );
3004 context.service = next;
3125 // gNumConfigThreads--; // we're out of service
3126 gNumWaitingThreads--; // we're out of service
3156 gNumWaitingThreads++; // back in service
3251 IOService * service;
3261 && (service = gIOResources))
3263 if( (inState == (service->__state[0] & inState))
3264 && (0 == (service->__state[0] & kIOServiceInactiveState))
3265 && service->passiveMatch( matching ))
3268 current = service;
3271 (const OSObject **) &service, 1, 1 );
3281 while( (service = (IOService *) iter->getNextObject())) {
3282 if( (inState == (service->__state[0] & inState))
3283 && (0 == (service->__state[0] & kIOServiceInactiveState))
3284 && service->passiveMatch( matching )) {
3287 current = service;
3291 ((OSSet *)current)->setObject( service );
3294 (const OSObject **) &service, 1, 1 );
3297 } while( !service && !iter->isValid());
4063 IOService * service = 0;
4069 while( (service = (IOService *) iter->getNextObject())) {
4070 if( kIOServiceInactiveState & service->__state[0])
4072 if( 0 == service->getProperty( gIOMatchCategoryKey ))
4477 requireMaxCpuDelay(IOService * service, UInt32 ns, UInt32 delayType)
4490 const CpuDelayEntry ne = {service, ns, delayType};
4491 holder = service;
4496 if ((service == thisService) && sameType)
4526 if (service == thisService)