Home
last modified time | relevance | path

Searched refs:last_failed_step (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/include/linux/
Dsuspend.h70 int last_failed_step; member
97 suspend_stats.failed_steps[suspend_stats.last_failed_step] = step; in dpm_save_failed_step()
98 suspend_stats.last_failed_step++; in dpm_save_failed_step()
99 suspend_stats.last_failed_step %= REC_FAILED_NUM; in dpm_save_failed_step()
/linux-6.6.21/kernel/power/
Dmain.c413 char *last_failed_step = NULL; in last_failed_step_show() local
415 index = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in last_failed_step_show()
418 last_failed_step = suspend_step_name(step); in last_failed_step_show()
420 return sprintf(buf, "%s\n", last_failed_step); in last_failed_step_show()
422 static struct kobj_attribute last_failed_step = __ATTR_RO(last_failed_step); variable
437 &last_failed_step.attr,
473 last_step = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; in suspend_stats_show()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-power409 What: /sys/power/suspend_stats/last_failed_step
413 The /sys/power/suspend_stats/last_failed_step file contains
/linux-6.6.21/Documentation/power/
Dbasic-pm-debugging.rst263 last_failed_step: suspend