Lines Matching refs:inpr
48 static void split_counters(unsigned int *cnt, unsigned int *inpr) in split_counters() argument
53 *inpr = comb & MAX_IN_PROGRESS; in split_counters()
668 unsigned int cnt, inpr, cec; in wakeup_source_deactivate() local
709 split_counters(&cnt, &inpr); in wakeup_source_deactivate()
710 if (!inpr && waitqueue_active(&wakeup_count_wait_queue)) in wakeup_source_deactivate()
886 unsigned int cnt, inpr; in pm_wakeup_pending() local
888 split_counters(&cnt, &inpr); in pm_wakeup_pending()
889 ret = (cnt != saved_count || inpr > 0); in pm_wakeup_pending()
972 unsigned int cnt, inpr; in pm_get_wakeup_count() local
980 split_counters(&cnt, &inpr); in pm_get_wakeup_count()
981 if (inpr == 0 || signal_pending(current)) in pm_get_wakeup_count()
989 split_counters(&cnt, &inpr); in pm_get_wakeup_count()
991 return !inpr; in pm_get_wakeup_count()
1006 unsigned int cnt, inpr; in pm_save_wakeup_count() local
1011 split_counters(&cnt, &inpr); in pm_save_wakeup_count()
1012 if (cnt == count && inpr == 0) { in pm_save_wakeup_count()