Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\reboot.c Create Date:2022-07-28 09:33:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__orderly_poweroff

Proto:static int __orderly_poweroff(bool force)

Type:int

Parameter:

TypeParameterName
boolforce
461  ret = run_cmd(poweroff_cmd)
463  If ret && force Then
464  pr_warn("Failed to start orderly shutdown: forcing the issue\n")
471  emergency_sync()
472  kernel_power_off - power_off the system* Shutdown everything and perform a clean system power_off.
475  Return ret
Caller
NameDescribe
poweroff_work_func