• Home
  • Raw
  • Download

Lines Matching refs:sysevent

231   cupsd_sysevent_t	sysevent;	/* System event */  member
430 threadData.sysevent.powerKernelPort = in sysEventThreadEntry()
434 if (threadData.sysevent.powerKernelPort) in sysEventThreadEntry()
578 if (threadData.sysevent.powerKernelPort) in sysEventThreadEntry()
583 IOServiceClose(threadData.sysevent.powerKernelPort); in sysEventThreadEntry()
626 threadData->sysevent.event |= SYSEVENT_CANSLEEP; in sysEventPowerNotifier()
632 threadData->sysevent.event |= SYSEVENT_WILLSLEEP; in sysEventPowerNotifier()
633 threadData->sysevent.event &= ~SYSEVENT_WOKE; in sysEventPowerNotifier()
643 threadData->sysevent.event |= SYSEVENT_WOKE; in sysEventPowerNotifier()
703 IOAllowPowerChange(threadData->sysevent.powerKernelPort, in sysEventPowerNotifier()
707 threadData->sysevent.powerNotificationID = (long)messageArgument; in sysEventPowerNotifier()
715 write(SysEventPipes[1], &threadData->sysevent, in sysEventPowerNotifier()
716 sizeof(threadData->sysevent)); in sysEventPowerNotifier()
717 threadData->sysevent.event = 0; in sysEventPowerNotifier()
754 threadData->sysevent.event |= SYSEVENT_NAMECHANGED; in sysEventConfigurationNotifier()
757 threadData->sysevent.event |= SYSEVENT_NETCHANGED; in sysEventConfigurationNotifier()
797 if (threadData->sysevent.event) in sysEventTimerNotifier()
799 write(SysEventPipes[1], &threadData->sysevent, in sysEventTimerNotifier()
800 sizeof(threadData->sysevent)); in sysEventTimerNotifier()
801 threadData->sysevent.event = 0; in sysEventTimerNotifier()
814 cupsd_sysevent_t sysevent; /* The system event */ in sysUpdate() local
822 while (read((int)SysEventPipes[0], &sysevent, sizeof(sysevent)) in sysUpdate()
823 == sizeof(sysevent)) in sysUpdate()
825 if (sysevent.event & SYSEVENT_CANSLEEP) in sysUpdate()
855 IOCancelPowerChange(sysevent.powerKernelPort, in sysUpdate()
856 sysevent.powerNotificationID); in sysUpdate()
861 IOAllowPowerChange(sysevent.powerKernelPort, in sysUpdate()
862 sysevent.powerNotificationID); in sysUpdate()
866 if (sysevent.event & SYSEVENT_WILLSLEEP) in sysUpdate()
883 IOAllowPowerChange(sysevent.powerKernelPort, in sysUpdate()
884 sysevent.powerNotificationID); in sysUpdate()
916 LastSysEvent = sysevent; in sysUpdate()
922 IOAllowPowerChange(sysevent.powerKernelPort, in sysUpdate()
923 sysevent.powerNotificationID); in sysUpdate()
928 if (sysevent.event & SYSEVENT_WOKE) in sysUpdate()
931 IOAllowPowerChange(sysevent.powerKernelPort, in sysUpdate()
932 sysevent.powerNotificationID); in sysUpdate()
968 if (sysevent.event & SYSEVENT_NETCHANGED) in sysUpdate()
979 if (sysevent.event & SYSEVENT_NAMECHANGED) in sysUpdate()