Searched refs:wakeup_count_fd (Results 1 – 1 of 1) sorted by relevance
41 static int wakeup_count_fd; variable73 lseek(wakeup_count_fd, 0, SEEK_SET); in suspend_thread_func()75 if (!ReadFdToString(wakeup_count_fd, &wakeup_count)) { in suspend_thread_func()94 if (WriteStringToFd(wakeup_count, wakeup_count_fd)) { in suspend_thread_func()141 wakeup_count_fd = TEMP_FAILURE_RETRY(open(sys_power_wakeup_count, O_CLOEXEC | O_RDWR)); in autosuspend_init()142 if (wakeup_count_fd < 0) { in autosuspend_init()166 close(wakeup_count_fd); in autosuspend_init()