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:_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

Proto:void rt_mutex_init_proxy_locked(struct rt_mutex *lock, struct task_struct *proxy_owner)

Type:void

Parameter:

TypeParameterName
struct rt_mutex *lock
struct task_struct *proxy_owner
1704  __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
1705  debug_rt_mutex_proxy_lock(lock, proxy_owner)
1706  lock->owner state tracking:* is used to keep track of the "lock has waiters" state
Caller
NameDescribe
attach_to_pi_ownerLookup the task for the TID provided from user space and attach to* it after doing proper sanity checks.