Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__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

Proto:void __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
1678  owner = NULL
1679  raw_spin_lock_init( & wait_lock)
1680  waiters =
1682  If name && key Then debug_rt_mutex_init(lock, name, key)
Caller
NameDescribe
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