函数逻辑报告 |
Source Code:kernel\futex.c |
Create Date:2022-07-27 11:53:34 |
Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ex_top_waiter() - Return the highest priority waiter on a futex*@hb: the hash bucket the futex_q's reside in*@key: the futex key (to distinguish it from other futex futex_q's)* Must be called with the hb lock held.
函数原型:static struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key)
返回类型:struct futex_q
参数:
类型 | 参数 | 名称 |
---|---|---|
struct futex_hash_bucket * | hb | |
union futex_key * | key |
780 | 返回:NULL |
名称 | 描述 |
---|---|
lookup_pi_state | |
futex_lock_pi_atomic | ex_lock_pi_atomic() - Atomic work required to acquire a pi aware futex*@uaddr: the pi futex user address*@hb: the pi futex hash bucket*@key: the futex key associated with uaddr and hb*@ps: the pi_state pointer where we store the result of the* lookup |
futex_proxy_trylock_atomic | ex_proxy_trylock_atomic() - Attempt an atomic lock for the top waiter*@pifutex: the user address of the to futex*@hb1: the from futex hash bucket, must be locked by the caller*@hb2: the to futex hash bucket, must be locked by the caller*@key1: the from |
futex_unlock_pi | Userspace attempted a TID -> 0 atomic transition, and failed.* This is the in-kernel slowpath: we look up the PI state (if any),* and do the rt-mutex unlock. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |