Searched refs:notifyPort (Results 1 - 23 of 23) sorted by path

/macosx-10.9.5/IOFireWireAVC-422.4.0/IOFireWireAVCLib/
H A DIOFireWireAVCLibProtocol.c479 IONotificationPortRef notifyPort; local
490 notifyPort = IONotificationPortCreate(masterDevicePort);
491 cfSource = IONotificationPortGetRunLoopSource(notifyPort);
494 status = IOServiceAddInterestNotification(notifyPort, me->fService,
499 me->fNotifyPort = notifyPort;
H A DIOFireWireAVCLibUnit.cpp575 IONotificationPortRef notifyPort; local
585 notifyPort = IONotificationPortCreate(masterDevicePort);
586 cfSource = IONotificationPortGetRunLoopSource(notifyPort);
589 status = IOServiceAddInterestNotification(notifyPort, me->fService,
594 me->fNotifyPort = notifyPort;
/macosx-10.9.5/IOKitUser-907.100.13/
H A DIODataQueueClient.c254 IOReturn IODataQueueWaitForAvailableData(IODataQueueMemory *dataQueue, mach_port_t notifyPort) argument
263 if (dataQueue && (notifyPort != MACH_PORT_NULL)) {
264 kr = mach_msg(&msg.msgHdr, MACH_RCV_MSG, 0, sizeof(msg), notifyPort, 0, MACH_PORT_NULL);
299 IOReturn IODataQueueSetNotificationPort(IODataQueueMemory *dataQueue, mach_port_t notifyPort) argument
313 appendix->msgh.msgh_remote_port = notifyPort;
H A DIODataQueueClient.h66 * @abstract Wait for an incoming dataAvailable message on the given notifyPort.
67 * @discussion This method will simply wait for an incoming message on the given notifyPort. Once it is received, the return from mach_msg() is returned.
69 * @param notifyPort Mach port on which to listen for incoming messages.
98 * @param notifyPort The mach port to target with the notification message.
101 IOReturn IODataQueueSetNotificationPort(IODataQueueMemory *dataQueue, mach_port_t notifyPort) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
H A DIOKitLib.c563 IONotificationPortRef notifyPort,
589 kr = io_service_add_notification( notifyPort->masterPort,
592 notifyPort->wakePort,
597 kr = io_service_add_notification_ool( notifyPort->masterPort,
600 notifyPort->wakePort,
613 IONotificationPortRef notifyPort,
628 notifyPort->wakePort,
562 IOServiceAddMatchingNotification( IONotificationPortRef notifyPort, const io_name_t notificationType, CFDictionaryRef matching, IOServiceMatchingCallback callback, void * refcon, io_iterator_t * notification ) argument
612 IOServiceAddInterestNotification( IONotificationPortRef notifyPort, io_service_t service, const io_name_t interestType, IOServiceInterestCallback callback, void * refcon, io_object_t * notification ) argument
H A DIOKitLib.h416 @param notifyPort A IONotificationPortRef object that controls how messages will be sent when the armed notification is fired. When the notification is delivered, the io_iterator_t representing the notification should be iterated through to pick up all outstanding objects. When the iteration is finished the notification is rearmed. See IONotificationPortCreate.
431 IONotificationPortRef notifyPort,
441 @param notifyPort A IONotificationPortRef object that controls how messages will be sent when the notification is fired. See IONotificationPortCreate.
452 IONotificationPortRef notifyPort,
H A DionotifyCB.c38 mach_port_t notifyPort; variable
/macosx-10.9.5/IOKitUser-907.100.13/graphics.subproj/
H A DIOGraphicsLib.c2754 return( IONotificationPortGetMachPort( connectRef->notifyPort ));
2796 IODispatchCalloutFromMessage( NULL, message, connectRef->notifyPort );
4361 connectRef->notifyPort = IONotificationPortCreate( masterPort );
4362 if( !connectRef->notifyPort)
4366 IONotificationPortGetMachPort( connectRef->notifyPort ), 0);
4369 connectRef->notifyPort,
H A DIOGraphicsLibInternal.h430 IONotificationPortRef notifyPort; member in struct:IOFBConnect
/macosx-10.9.5/IOKitUser-907.100.13/hid.subproj/
H A DIOHIDManager.c81 IONotificationPortRef notifyPort; member in struct:__IOHIDManager
185 if (manager->notifyPort) {
186 CFRunLoopSourceInvalidate(IONotificationPortGetRunLoopSource(manager->notifyPort));
189 IONotificationPortGetRunLoopSource(manager->notifyPort),
191 IONotificationPortDestroy(manager->notifyPort);
192 manager->notifyPort = NULL;
237 if (!manager->notifyPort) {
238 manager->notifyPort = IONotificationPortCreate(kIOMasterPortDefault);
243 IONotificationPortGetRunLoopSource(manager->notifyPort),
257 kr = IOServiceAddMatchingNotification(manager->notifyPort,
[all...]
/macosx-10.9.5/IOKitUser-907.100.13/network.subproj/
H A Dmonitorlink.c325 mach_port_t notifyPort; local
367 &notifyPort);
389 kIONUCNotificationTypeLinkChange, notifyPort, 0);
404 waitForNotification(notifyPort);
/macosx-10.9.5/PowerManagement-420.90.1/pmconfigd/
H A DPMConnection.c170 mach_port_t notifyPort; member in struct:__anon3417
507 if (!disable && (MACH_PORT_NULL == connection->notifyPort)) {
508 connection->notifyPort = notify_port_in;
519 __MACH_PORT_DEBUG(true, "Registered dead name notification on notifyPort", notify_port_in);
905 if (MACH_PORT_NULL != reap->notifyPort)
907 // Release the send right on reap->notifyPort that we obtained
909 __MACH_PORT_DEBUG(true, "IOPMConnection cleanupConnection drop notifyPort", reap->notifyPort);
910 mach_port_deallocate(mach_task_self(), reap->notifyPort);
911 reap->notifyPort
[all...]
/macosx-10.9.5/configd-596.15/Plugins/Logger/
H A Dlogger.c656 IONotificationPortRef notifyPort; local
659 notifyPort = IONotificationPortCreate(kIOMasterPortDefault);
662 kr = IOServiceAddInterestNotification(notifyPort,
676 IONotificationPortGetRunLoopSource(notifyPort),
/macosx-10.9.5/configd-596.15/SCMonitor/
H A Dmonitor.c87 IONotificationPortRef notifyPort; member in struct:__anon7055
899 kr = IOServiceAddInterestNotification(myInstance->notifyPort, // IONotificationPortRef
1015 myInstance->notifyPort = IONotificationPortCreate(kIOMasterPortDefault);
1016 if (myInstance->notifyPort == NULL) {
1023 kr = IOServiceAddMatchingNotification(myInstance->notifyPort,
1078 IONotificationPortGetRunLoopSource(myInstance->notifyPort),
1118 if (myInstance->notifyPort != MACH_PORT_NULL) {
1119 IONotificationPortDestroy(myInstance->notifyPort);
1120 myInstance->notifyPort = NULL;
/macosx-10.9.5/configd-596.15/SystemConfiguration.fproj/
H A DSCDOpen.c355 storePrivate->notifyPort = MACH_PORT_NULL;
H A DSCDynamicStoreInternal.h93 mach_port_t notifyPort; member in struct:__anon7072
/macosx-10.9.5/configd-596.15/configd.tproj/
H A D_SCD.c267 (storePrivate->notifyPort != MACH_PORT_NULL)) {
276 storePrivate->notifyPort,
280 _SC_sendMachMessage(storePrivate->notifyPort, storePrivate->notifyPortIdentifier);
H A D_configclose.c115 __MACH_PORT_DEBUG(storePrivate->notifyPort != MACH_PORT_NULL, "*** __SCDynamicStoreClose", storePrivate->notifyPort);
H A D_notifycancel.c49 if (storePrivate->notifyPort != MACH_PORT_NULL) {
50 __MACH_PORT_DEBUG(TRUE, "*** __SCDynamicStoreNotifyCancel (notify port)", storePrivate->notifyPort);
51 (void) mach_port_deallocate(mach_task_self(), storePrivate->notifyPort);
52 storePrivate->notifyPort = MACH_PORT_NULL;
107 __MACH_PORT_DEBUG(((SCDynamicStorePrivateRef)mySession->store)->notifyPort != MACH_PORT_NULL,
109 ((SCDynamicStorePrivateRef)mySession->store)->notifyPort);
H A D_notifyviaport.c112 storePrivate->notifyPort = port;
/macosx-10.9.5/ppp-727.90.1/Controller/
H A Dscnc_main.c639 mach_port_t notifyPort = MACH_PORT_NULL; local
641 uint32_t status = notify_register_mach_port(nwi_state_get_notify_key(), &notifyPort, 0, &notifyToken);
644 CFMachPortRef nwiPort = _SC_CFMachPortCreateWithPort(nwi_state_get_notify_key(), notifyPort, scnc_main_nwi_callback, &context);
/macosx-10.9.5/system_cmds-597.90.1/iostat.tproj/
H A Diostat.c174 static IONotificationPortRef notifyPort; variable
285 notifyPort = IONotificationPortCreate(masterPort);
286 rls = IONotificationPortGetRunLoopSource(notifyPort);
808 status = IOServiceAddMatchingNotification(notifyPort, kIOFirstMatchNotification, match, &record_drivelist, NULL, &drivelist);
825 status = IOServiceAddMatchingNotification(notifyPort, kIOTerminatedNotification, match, &remove_drivelist, NULL, &drivelist);
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/iostat.tproj/
H A Diostat.c174 static IONotificationPortRef notifyPort; variable
285 notifyPort = IONotificationPortCreate(masterPort);
286 rls = IONotificationPortGetRunLoopSource(notifyPort);
808 status = IOServiceAddMatchingNotification(notifyPort, kIOFirstMatchNotification, match, &record_drivelist, NULL, &drivelist);
825 status = IOServiceAddMatchingNotification(notifyPort, kIOTerminatedNotification, match, &remove_drivelist, NULL, &drivelist);

Completed in 496 milliseconds