Home
last modified time | relevance | path

Searched refs:REC_FAILED_NUM (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/kernel/power/
Dmain.c386 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()
[all …]
/linux-6.6.21/include/linux/
Dsuspend.h65 #define REC_FAILED_NUM 2 macro
67 char failed_devs[REC_FAILED_NUM][40];
69 int errno[REC_FAILED_NUM];
74 enum suspend_stat_step failed_steps[REC_FAILED_NUM];
85 suspend_stats.last_failed_dev %= REC_FAILED_NUM; in dpm_save_failed_dev()
92 suspend_stats.last_failed_errno %= REC_FAILED_NUM; in dpm_save_failed_errno()
99 suspend_stats.last_failed_step %= REC_FAILED_NUM; in dpm_save_failed_step()