函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fixup_rt_mutex_waiters

函数原型:static void fixup_rt_mutex_waiters(struct rt_mutex *lock)

返回类型:void

参数:

类型参数名称
struct rt_mutex *lock
71  unsigned long owner, * p = (unsigned long * ) & 独占进程
73  如果rt_mutex_has_waiters(lock)则返回
134  owner等于READ_ONCE( * p)
135  如果owner按位与lock->owner state tracking:WRITE_ONCE( * p, owner & ~lock->owner state tracking:)
调用者
名称描述
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()