Searched refs:REC_FAILED_NUM (Results 1 – 2 of 2) sorted by relevance
338 index = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in last_failed_dev_show()339 index %= REC_FAILED_NUM; in last_failed_dev_show()352 index = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in last_failed_errno_show()353 index %= REC_FAILED_NUM; in last_failed_errno_show()367 index = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in last_failed_step_show()368 index %= REC_FAILED_NUM; in last_failed_step_show()403 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_stats_show()404 last_dev %= REC_FAILED_NUM; in suspend_stats_show()405 last_errno = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in suspend_stats_show()406 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()