Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/power/
Dmain.c338 index = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in last_failed_dev_show()
339 index %= REC_FAILED_NUM; in last_failed_dev_show()
352 index = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in last_failed_errno_show()
353 index %= REC_FAILED_NUM; in last_failed_errno_show()
367 index = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in last_failed_step_show()
368 index %= REC_FAILED_NUM; in last_failed_step_show()
403 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_stats_show()
404 last_dev %= REC_FAILED_NUM; in suspend_stats_show()
405 last_errno = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in suspend_stats_show()
406 last_errno %= REC_FAILED_NUM; in suspend_stats_show()
[all …]
/linux-5.19.10/include/linux/
Dsuspend.h65 #define REC_FAILED_NUM 2 macro
67 char failed_devs[REC_FAILED_NUM][40];
69 int errno[REC_FAILED_NUM];
71 enum suspend_stat_step failed_steps[REC_FAILED_NUM];
82 suspend_stats.last_failed_dev %= REC_FAILED_NUM; in dpm_save_failed_dev()
89 suspend_stats.last_failed_errno %= REC_FAILED_NUM; in dpm_save_failed_errno()
96 suspend_stats.last_failed_step %= REC_FAILED_NUM; in dpm_save_failed_step()