Searched refs:REC_FAILED_NUM (Results 1 – 2 of 2) sorted by relevance
342 index = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in last_failed_dev_show()343 index %= REC_FAILED_NUM; in last_failed_dev_show()356 index = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in last_failed_errno_show()357 index %= REC_FAILED_NUM; in last_failed_errno_show()371 index = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in last_failed_step_show()372 index %= REC_FAILED_NUM; in last_failed_step_show()407 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_stats_show()408 last_dev %= REC_FAILED_NUM; in suspend_stats_show()409 last_errno = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in suspend_stats_show()410 last_errno %= REC_FAILED_NUM; in suspend_stats_show()[all …]
65 #define REC_FAILED_NUM 2 macro67 char failed_devs[REC_FAILED_NUM][40];69 int errno[REC_FAILED_NUM];71 enum suspend_stat_step failed_steps[REC_FAILED_NUM];82 suspend_stats.last_failed_dev %= REC_FAILED_NUM; in dpm_save_failed_dev()89 suspend_stats.last_failed_errno %= REC_FAILED_NUM; in dpm_save_failed_errno()96 suspend_stats.last_failed_step %= REC_FAILED_NUM; in dpm_save_failed_step()