hw_failure_e..._action_func(9)
π hw_failure_emergency_action_func(9) π
okay bestie, welcome to the Kernel API Manual page for hw_failure_emergency_action_func(9) β this is the emergency-action work situation, and it is lowkey iconic in a βdo not panic but also the kernel might need to force a poweroff or rebootβ way. π¨π
πΈ NAME πΈ
hw_failure_emergency_action_func β emergency action work after a known delay. Thatβs the vibe: emergency action work, known delay, no surprises. β¨
β¨ SYNOPSIS β¨
Hereβs the signature exactly, character-for-character, because we do not freestyle code:
void hw_failure_emergency_action_func (struct work_struct *work );
π ARGUMENTS π
workβ thework_structassociated with the emergency action function. This is the one argument, bestie; itβs literally the work struct tied to the emergency action function. π οΈ
π¨ DESCRIPTION π¨
okay so this function gets called in very critical situations β the kind where it needs to force a kernel poweroff or reboot after a configurable timeout value. Thatβs the whole emergency-action-work-after-a-known-delay vibe: critical situation, forced poweroff or reboot, configurable timeout. Itβs giving last-resort main character energy, and ngl it is not a drill. π π₯
π¦ SEE ALSO π¦
Kernel file ./kernel/reboot.c is the home base, and hereβs the entire reboot/poweroff squad β every single ref, no skips, fr fr:
emergency_restart(9)register_reboot_notifier(9)unregister_reboot_notifier(9)register_restart_handler(9)unregister_restart_handler(9)do_kernel_restart(9)kernel_restart(9)kernel_halt(9)register_sys_off_handler(9)unregister_sys_off_handler(9)devm_register_sys_off_handler(9)devm_register_power_off_handler(9)devm_register_restart_handler(9)register_platform_power_off(9)unregister_platform_power_off(9)do_kernel_power_off(9)kernel_can_power_off(9)kernel_power_off(9)orderly_poweroff(9)orderly_reboot(9)hw_failure_emergency_schedule(9)__hw_protection_trigger(9)
and thatβs the page, bestie π«Ά source/version: ./kernel; date: October 2026; footer tag: hw_failure_e..._action_func(9). mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms