Lines Matching refs:REC_FAILED_NUM
386 index = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in last_failed_dev_show()
387 index %= REC_FAILED_NUM; in last_failed_dev_show()
400 index = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in last_failed_errno_show()
401 index %= REC_FAILED_NUM; in last_failed_errno_show()
415 index = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in last_failed_step_show()
416 index %= REC_FAILED_NUM; in last_failed_step_show()
469 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_stats_show()
470 last_dev %= REC_FAILED_NUM; in suspend_stats_show()
471 last_errno = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in suspend_stats_show()
472 last_errno %= REC_FAILED_NUM; in suspend_stats_show()
473 last_step = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in suspend_stats_show()
474 last_step %= REC_FAILED_NUM; in suspend_stats_show()
493 for (i = 1; i < REC_FAILED_NUM; i++) { in suspend_stats_show()
494 index = last_dev + REC_FAILED_NUM - i; in suspend_stats_show()
495 index %= REC_FAILED_NUM; in suspend_stats_show()
501 for (i = 1; i < REC_FAILED_NUM; i++) { in suspend_stats_show()
502 index = last_errno + REC_FAILED_NUM - i; in suspend_stats_show()
503 index %= REC_FAILED_NUM; in suspend_stats_show()
510 for (i = 1; i < REC_FAILED_NUM; i++) { in suspend_stats_show()
511 index = last_step + REC_FAILED_NUM - i; in suspend_stats_show()
512 index %= REC_FAILED_NUM; in suspend_stats_show()