函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Initialize torture module

函数原型:bool torture_init_begin(char *ttype, int v)

返回类型:bool

参数:

类型参数名称
char *ttype
intv
664  mutex_lock( & fullstop_mutex)
665  如果(torture_type != NULL)则
666  打印警报信息("torture_init_begin: Refusing %s init: %s running.\n", ttype, torture_type)
668  打印警报信息("torture_init_begin: One torture test at a time!\n")
669  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
670  返回:false
672  torture_type等于ttype
673  verbose等于v
674  fullstop等于Normal operation.
675  返回:true
调用者
名称描述
rcu_torture_init
rcu_perf_init
lock_torture_init