Lines Matching refs:REC_FAILED_NUM
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()
372 last_step = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in suspend_stats_show()
373 last_step %= REC_FAILED_NUM; in suspend_stats_show()
392 for (i = 1; i < REC_FAILED_NUM; i++) { in suspend_stats_show()
393 index = last_dev + REC_FAILED_NUM - i; in suspend_stats_show()
394 index %= REC_FAILED_NUM; in suspend_stats_show()
400 for (i = 1; i < REC_FAILED_NUM; i++) { in suspend_stats_show()
401 index = last_errno + REC_FAILED_NUM - i; in suspend_stats_show()
402 index %= REC_FAILED_NUM; in suspend_stats_show()
409 for (i = 1; i < REC_FAILED_NUM; i++) { in suspend_stats_show()
410 index = last_step + REC_FAILED_NUM - i; in suspend_stats_show()
411 index %= REC_FAILED_NUM; in suspend_stats_show()