Searched refs:REC_FAILED_NUM (Results 1 – 2 of 2) sorted by relevance
303 index = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in last_failed_dev_show()304 index %= REC_FAILED_NUM; in last_failed_dev_show()317 index = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in last_failed_errno_show()318 index %= REC_FAILED_NUM; in last_failed_errno_show()332 index = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in last_failed_step_show()333 index %= REC_FAILED_NUM; in last_failed_step_show()368 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_stats_show()369 last_dev %= REC_FAILED_NUM; in suspend_stats_show()370 last_errno = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in suspend_stats_show()371 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()