Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dsuspend.h68 int last_failed_errno; member
87 suspend_stats.errno[suspend_stats.last_failed_errno] = err; in dpm_save_failed_errno()
88 suspend_stats.last_failed_errno++; in dpm_save_failed_errno()
89 suspend_stats.last_failed_errno %= REC_FAILED_NUM; in dpm_save_failed_errno()
/Linux-v5.4/kernel/power/
Dmain.c315 int last_failed_errno; in last_failed_errno_show() local
317 index = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in last_failed_errno_show()
319 last_failed_errno = suspend_stats.errno[index]; in last_failed_errno_show()
321 return sprintf(buf, "%d\n", last_failed_errno); in last_failed_errno_show()
323 static struct kobj_attribute last_failed_errno = __ATTR_RO(last_failed_errno); variable
353 &last_failed_errno.attr,
370 last_errno = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; in suspend_stats_show()
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-power396 What: /sys/power/suspend_stats/last_failed_errno
400 The /sys/power/suspend_stats/last_failed_errno file contains
/Linux-v5.4/Documentation/power/
Dbasic-pm-debugging.rst261 last_failed_errno: -16