Searched refs:last_dev (Results 1 – 2 of 2) sorted by relevance
394 int error, last_dev; in suspend_enter() local402 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_enter()403 last_dev %= REC_FAILED_NUM; in suspend_enter()406 suspend_stats.failed_devs[last_dev]); in suspend_enter()415 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_enter()416 last_dev %= REC_FAILED_NUM; in suspend_enter()419 suspend_stats.failed_devs[last_dev]); in suspend_enter()492 int error, last_dev; in suspend_devices_and_enter() local511 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_devices_and_enter()512 last_dev %= REC_FAILED_NUM; in suspend_devices_and_enter()[all …]
366 int i, index, last_dev, last_errno, last_step; in suspend_stats_show() local368 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()391 suspend_stats.failed_devs[last_dev]); in suspend_stats_show()393 index = last_dev + REC_FAILED_NUM - i; in suspend_stats_show()