函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__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

函数原型:void __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
1678  独占进程 = NULL
1679  raw_spin_lock_init( & 保护自旋锁)
1680  等待队列 =
1682  如果namekeydebug_rt_mutex_init(lock, name, key)
调用者
名称描述
rt_mutex_init_proxy_locked_mutex_init_proxy_locked - initialize and lock a rt_mutex on behalf of a* proxy owner*@lock: the rt_mutex to be locked*@proxy_owner:the task to set as owner* No locking. Caller has to do serializing itself* Special API call for PI-futex support