Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Initialize torture module

Proto:bool torture_init_begin(char *ttype, int v)

Type:bool

Parameter:

TypeParameterName
char *ttype
intv
664  mutex_lock( & fullstop_mutex)
665  If (torture_type != NULL) Then
666  pr_alert("torture_init_begin: Refusing %s init: %s running.\n", ttype, torture_type)
668  pr_alert("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  Return false
672  torture_type = ttype
673  verbose = v
674  fullstop = Normal operation.
675  Return true
Caller
NameDescribe
rcu_torture_init
rcu_perf_init
lock_torture_init