函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rtmutex-debug.c Create Date:2022-07-27 10:53:07
Last Modify:2020-03-17 14:29:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:debug_rt_mutex_init

函数原型:void debug_rt_mutex_init(struct rt_mutex *lock, const char *name, struct lock_class_key *key)

返回类型:void

参数:

类型参数名称
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:
调用者
名称描述
__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