Searched refs:notifyPort (Results 1 - 22 of 22) sorted by relevance

/macosx-10.10/configd-699.1.5/configd.tproj/
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_configclose.c115 __MACH_PORT_DEBUG(storePrivate->notifyPort != MACH_PORT_NULL, "*** __SCDynamicStoreClose", storePrivate->notifyPort);
H A D_notifyviaport.c112 storePrivate->notifyPort = port;
H A D_SCD.c267 (storePrivate->notifyPort != MACH_PORT_NULL)) {
276 storePrivate->notifyPort,
280 _SC_sendMachMessage(storePrivate->notifyPort, storePrivate->notifyPortIdentifier);
/macosx-10.10/IOKitUser-1050.1.21/
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.
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 DIODataQueueClient.c260 IOReturn IODataQueueWaitForAvailableData(IODataQueueMemory *dataQueue, mach_port_t notifyPort) argument
269 if (dataQueue && (notifyPort != MACH_PORT_NULL)) {
270 kr = mach_msg(&msg.msgHdr, MACH_RCV_MSG, 0, sizeof(msg), notifyPort, 0, MACH_PORT_NULL);
305 IOReturn IODataQueueSetNotificationPort(IODataQueueMemory *dataQueue, mach_port_t notifyPort) argument
319 appendix->msgh.msgh_remote_port = notifyPort;
H A DionotifyCB.c38 mach_port_t notifyPort; variable
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 DIOKitLib.c674 IONotificationPortRef notifyPort,
686 return (InternalIOServiceAddNotification(notifyPort->masterPort, notificationType,
687 matching, notifyPort->wakePort,
694 IONotificationPortRef notifyPort,
709 notifyPort->wakePort,
673 IOServiceAddMatchingNotification( IONotificationPortRef notifyPort, const io_name_t notificationType, CFDictionaryRef matching, IOServiceMatchingCallback callback, void * refcon, io_iterator_t * notification ) argument
693 IOServiceAddInterestNotification( IONotificationPortRef notifyPort, io_service_t service, const io_name_t interestType, IOServiceInterestCallback callback, void * refcon, io_object_t * notification ) argument
/macosx-10.10/IOKitUser-1050.1.21/network.subproj/
H A Dmonitorlink.c325 mach_port_t notifyPort; local
367 &notifyPort);
389 kIONUCNotificationTypeLinkChange, notifyPort, 0);
404 waitForNotification(notifyPort);
/macosx-10.10/configd-699.1.5/SystemConfiguration.fproj/
H A DSCDynamicStoreInternal.h93 mach_port_t notifyPort; member in struct:__anon7134
H A DSCDOpen.c355 storePrivate->notifyPort = MACH_PORT_NULL;
/macosx-10.10/IOKitUser-1050.1.21/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.10/configd-699.1.5/SCMonitor/
H A Dmonitor.c87 IONotificationPortRef notifyPort; member in struct:__anon7117
903 kr = IOServiceAddInterestNotification(myInstance->notifyPort, // IONotificationPortRef
1019 myInstance->notifyPort = IONotificationPortCreate(kIOMasterPortDefault);
1020 if (myInstance->notifyPort == NULL) {
1027 kr = IOServiceAddMatchingNotification(myInstance->notifyPort,
1082 IONotificationPortGetRunLoopSource(myInstance->notifyPort),
1122 if (myInstance->notifyPort != MACH_PORT_NULL) {
1123 IONotificationPortDestroy(myInstance->notifyPort);
1124 myInstance->notifyPort = NULL;
/macosx-10.10/system_cmds-643.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);
/macosx-10.10/PowerManagement-494.1.2/pmconfigd/
H A DPMConnection.c168 mach_port_t notifyPort; member in struct:__anon3497
504 if (!disable && (MACH_PORT_NULL == connection->notifyPort)) {
505 connection->notifyPort = notify_port_in;
516 __MACH_PORT_DEBUG(true, "Registered dead name notification on notifyPort", notify_port_in);
958 if (MACH_PORT_NULL != reap->notifyPort)
960 // Release the send right on reap->notifyPort that we obtained
962 __MACH_PORT_DEBUG(true, "IOPMConnection cleanupConnection drop notifyPort", reap->notifyPort);
963 mach_port_deallocate(mach_task_self(), reap->notifyPort);
964 reap->notifyPort
[all...]
/macosx-10.10/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.10/IOKitUser-1050.1.21/graphics.subproj/
H A DIOGraphicsLibInternal.h430 IONotificationPortRef notifyPort; member in struct:IOFBConnect
H A DIOGraphicsLib.c2765 return( IONotificationPortGetMachPort( connectRef->notifyPort ));
2807 IODispatchCalloutFromMessage( NULL, message, connectRef->notifyPort );
4370 connectRef->notifyPort = IONotificationPortCreate( masterPort );
4371 if( !connectRef->notifyPort)
4375 IONotificationPortGetMachPort( connectRef->notifyPort ), 0);
4378 connectRef->notifyPort,
/macosx-10.10/configd-699.1.5/Plugins/Logger/
H A Dlogger.c656 IONotificationPortRef notifyPort; local
659 notifyPort = IONotificationPortCreate(kIOMasterPortDefault);
662 kr = IOServiceAddInterestNotification(notifyPort,
676 IONotificationPortGetRunLoopSource(notifyPort),
/macosx-10.10/ppp-786.1.1/Controller/
H A Dscnc_main.c649 mach_port_t notifyPort = MACH_PORT_NULL; local
651 uint32_t status = notify_register_mach_port(nwi_state_get_notify_key(), &notifyPort, 0, &notifyToken);
654 CFMachPortRef nwiPort = _SC_CFMachPortCreateWithPort(nwi_state_get_notify_key(), notifyPort, scnc_main_nwi_callback, &context);

Completed in 180 milliseconds