函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\torture.c Create Date:2022-07-27 15:11:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Start up the shutdown task.

函数原型:int torture_shutdown_init(int ssecs, void (*cleanup)(void ))

返回类型:int

参数:

类型参数名称
intssecs
void (*cleanup
518  torture_shutdown_hook等于cleanup
519  如果ssecs大于0则
520  ime to system shutdown. 等于计算下一次触发时间(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  返回: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  返回:0
调用者
名称描述
rcu_torture_init
lock_torture_init