Lines Matching refs:client
464 // check for last client detach from a terminated service
764 const IOService * client,
780 inst->client = client;
805 if( (client && (next->isOpen( client )))
1309 // send a message to a client or interested party of this service
1310 IOReturn IOService::messageClient( UInt32 type, OSObject * client,
1317 if( (service = OSDynamicCast( IOService, client)))
1320 else if( (notify = OSDynamicCast( _IOServiceInterestNotifier, client))) {
1653 IOService * client;
1698 while( (client = (IOService *) iter->getNextObject())) {
1700 client->getName(), victim->getName(), options);
1701 ok = client->requestTerminate( victim, options );
1703 client->getName(), victim->getName(), ok);
1705 makeInactive->setObject( client );
1869 IOService * client;
1874 while( (client = (IOService *) iter->getNextObject())) {
1876 client->getName(), victim->getName(), options);
1877 ok = client->willTerminate( victim, options );
1878 doPhase2List->tailQ( client );
1887 IOService * client;
1894 while( (client = (IOService *) iter->getNextObject())) {
1896 client->getName(), victim->getName(), options);
1897 client->didTerminate( victim, options, &defer );
1899 client->getName(), victim->getName(), defer);
1911 void IOService::actionStop( IOService * provider, IOService * client )
1913 TLOG("%s::stop(%s)\n", client->getName(), provider->getName());
1914 client->stop( provider );
1915 if( provider->isOpen( client ))
1916 provider->close( client );
1917 TLOG("%s::detach(%s)\n", client->getName(), provider->getName());
1918 client->detach( provider );
1928 IOService * client;
2015 (!doPhase3) && (client = (IOService *) gIOStopList->getObject(idx)); ) {
2020 if( !provider->isChild( client, gIOServicePlane )) {
2022 TLOG("%s::nop stop(%s)\n", client->getName(), provider->getName());
2025 if( (client->__state[1] & kIOServiceTermPhase3State) && client->getClient()) {
2026 TLOG("%s::defer stop(%s)\n", client->getName(), provider->getName());
2033 provider, (void *) client );
2039 freeList->setObject( client );
2113 bool IOService::terminateClient( IOService * client, IOOptionBits options )
2117 if( client->isParent( this, gIOServicePlane, true))
2119 ok = client->terminate( options );
3943 IOService * IOService::matchLocation( IOService * /* client */ )
4159 IOUserClient *client;
4165 // First try my own properties for a user client class name
4188 client = (IOUserClient *) temp;
4194 if ( !client->initWithTask(owningTask, securityID, type, properties) ) {
4195 client->release();
4199 if ( !client->attach(this) ) {
4200 client->release();
4204 if ( !client->start(this) ) {
4205 client->detach(this);
4206 client->release();
4210 *handler = client;