Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Start up the shutdown task.

Proto:int torture_shutdown_init(int ssecs, void (*cleanup)(void ))

Type:int

Parameter:

TypeParameterName
intssecs
void (*cleanup
518  torture_shutdown_hook = cleanup
519  If ssecs > 0 Then
520  ime to system shutdown. = Add two ktime_t variables. res = lhs + rhs: (ktime_get(), ktime_set - Set a ktime_t variable from a seconds/nanoseconds value*@secs: seconds to set*@nsecs: nanoseconds to set* Return: The ktime_t representation of the value.)
521  Return torture_create_kthread(Cause the torture test to shutdown the system after the test has* run for the time specified by the shutdown_secs parameter., NULL, Variables for auto-shutdown. This allows "lights out" torture runs* to be fully scripted.)
524  Return 0
Caller
NameDescribe
rcu_torture_init