Lines Matching defs:service
315 IOService * service;
490 service = IOService::waitForService( matching, &t );
497 if( (!service) || (mountAttempts == 10)) {
514 } while( !service);
517 if ( service && mediaProperty ) {
518 service = (IOService *)service->getProperty(mediaProperty);
528 if ( service
529 && service->metaCast( "IONetworkInterface" )
530 && !IORegisterNetworkInterface( service ) )
532 service = 0;
535 if( service) {
538 service->getPath( str, &len, gIOServicePlane );
541 iostr = (OSString *) service->getProperty( kIOBSDNameKey );
544 off = (OSNumber *) service->getProperty( kIOBSDMajorKey );
547 off = (OSNumber *) service->getProperty( kIOBSDMinorKey );
551 if( service->metaCast( "IONetworkInterface" ))
702 IOService *service;
707 service = IOService::waitForService( dictionary, &tv );
708 if( service ) {
709 OSNumber *dev_major = (OSNumber *) service->getProperty( kIOBSDMajorKey );
710 OSNumber *dev_minor = (OSNumber *) service->getProperty( kIOBSDMinorKey );
711 OSString *iostr = (OSString *) service->getProperty( kIOBSDNameKey );
737 IOService *service;
744 while (iter && (service = (IOService *)iter->getNextObject())) {
745 if( service ) {
746 OSString *iostr = (OSString *) service->getProperty( kIOBSDNameKey );
747 OSString *uuidstr = (OSString *) service->getProperty( "UUID" );
788 IOService *service;
793 service = IOService::waitForService( dictionary, &tv );
794 if( service ) {
795 OSBoolean *ejectable = (OSBoolean *) service->getProperty( "Ejectable" );