Lines Matching refs:REC_FAILED_NUM
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()
411 last_step = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in suspend_stats_show()
412 last_step %= REC_FAILED_NUM; in suspend_stats_show()
431 for (i = 1; i < REC_FAILED_NUM; i++) { in suspend_stats_show()
432 index = last_dev + REC_FAILED_NUM - i; in suspend_stats_show()
433 index %= REC_FAILED_NUM; in suspend_stats_show()
439 for (i = 1; i < REC_FAILED_NUM; i++) { in suspend_stats_show()
440 index = last_errno + REC_FAILED_NUM - i; in suspend_stats_show()
441 index %= REC_FAILED_NUM; in suspend_stats_show()
448 for (i = 1; i < REC_FAILED_NUM; i++) { in suspend_stats_show()
449 index = last_step + REC_FAILED_NUM - i; in suspend_stats_show()
450 index %= REC_FAILED_NUM; in suspend_stats_show()