Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_mutex_next_owner - return the next owner of the lock*@lock: the rt lock query* Returns the next owner of the lock or NULL* Caller has to serialize against other accessors to the lock* itself.* Special API call for PI-futex support

Proto:struct task_struct *rt_mutex_next_owner(struct rt_mutex *lock)

Type:struct task_struct

Parameter:

TypeParameterName
struct rt_mutex *lock
1825  If Not rt_mutex_has_waiters(lock) Then Return NULL
1828  Return task
Caller
NameDescribe
wake_futex_piCaller must hold a reference on @pi_state.