Searched refs:keep_awake (Results 1 – 1 of 1) sorted by relevance
127 static IOPMAssertionID keep_awake = 0;/* Keep the system awake while printing */ in cupsdSetBusyState() local168 if (cupsArrayCount(PrintingJobs) > 0 && !keep_awake) in cupsdSetBusyState()174 CFSTR("org.cups.cupsd"), &keep_awake); in cupsdSetBusyState()176 else if (cupsArrayCount(PrintingJobs) == 0 && keep_awake) in cupsdSetBusyState()179 IOPMAssertionRelease(keep_awake); in cupsdSetBusyState()180 keep_awake = 0; in cupsdSetBusyState()