Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rtmutex-debug.c Create Date:2022-07-28 09:52:52
Last Modify:2020-03-17 14:29:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:debug_rt_mutex_init

Proto:void debug_rt_mutex_init(struct rt_mutex *lock, const char *name, struct lock_class_key *key)

Type:void

Parameter:

TypeParameterName
struct rt_mutex *lock
const char *name
struct lock_class_key *key
175  Called when kernel memory is freed (or unmapped), or if a lock* is destroyed or reinitialized - this code checks whether there is* any held lock in the memory range of to :
176  name = name
179  Initialize a lock instance's lock-class mapping info:
Caller
NameDescribe
__rt_mutex_init__rt_mutex_init - initialize the rt lock*@lock: the rt lock to be initialized* Initialize the rt lock to unlocked state.* Initializing of a locked rt lock is not allowed