函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_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

函数原型:struct task_struct *rt_mutex_next_owner(struct rt_mutex *lock)

返回类型:struct task_struct

参数:

类型参数名称
struct rt_mutex *lock
1825  如果非rt_mutex_has_waiters(lock)则返回:NULL
1828  返回:等待进程
调用者
名称描述
wake_futex_piCaller must hold a reference on @pi_state.