Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fixup_rt_mutex_waiters

Proto:static void fixup_rt_mutex_waiters(struct rt_mutex *lock)

Type:void

Parameter:

TypeParameterName
struct rt_mutex *lock
71  unsigned long owner, * p = (unsigned long * ) & owner
73  If rt_mutex_has_waiters(lock) Then Return
134  owner = READ_ONCE( * p)
135  If owner & lock->owner state tracking: Then WRITE_ONCE( * p, owner & ~lock->owner state tracking:)
Caller
NameDescribe
rt_mutex_slowlockSlow path lock function:
__rt_mutex_slowtrylock
rt_mutex_wait_proxy_lock_mutex_wait_proxy_lock() - Wait for lock acquisition*@lock: the rt_mutex we were woken on*@to: the timeout, null if none
rt_mutex_cleanup_proxy_lock_mutex_cleanup_proxy_lock() - Cleanup failed lock acquisition*@lock: the rt_mutex we were woken on*@waiter: the pre-initialized rt_mutex_waiter* Attempt to clean up after a failed __rt_mutex_start_proxy_lock() or* rt_mutex_wait_proxy_lock()