函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rt_mutex_fastunlock

函数原型:static inline void rt_mutex_fastunlock(struct rt_mutex *lock, bool (*slowfn)(struct rt_mutex *lock, struct wake_q_head *wqh))

返回类型:void

参数:

类型参数名称
struct rt_mutex *lock
bool (*slowfn
1460  如果此条件成立可能性大(为编译器优化)(rt_mutex_cmpxchg_release(lock, 当前进程, NULL))则返回
1463  如果slowfn(lock, & wake_q)则Performs the wakeup of the the top-waiter and re-enables preemption.
调用者
名称描述
rt_mutex_unlock_mutex_unlock - unlock a rt_mutex*@lock: the rt_mutex to be unlocked