函数逻辑报告 |
Source Code:kernel\futex.c |
Create Date:2022-07-27 11:53:24 |
Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:hash_futex - Return the hash bucket in the global hash*@key: Pointer to the futex key for which the hash is calculated* We hash on the keys returned from get_futex_key (see below) and return the* corresponding hash bucket in the global hash.
函数原型:static struct futex_hash_bucket *hash_futex(union futex_key *key)
返回类型:struct futex_hash_bucket
参数:
类型 | 参数 | 名称 |
---|---|---|
union futex_key * | key |
391 | 返回:futex_queues[hash & (futex_hashsize - 1)] |
名称 | 描述 |
---|---|
futex_wake | Wake up waiters matching bitset queued on this futex (uaddr). |
futex_wake_op | Wake up all waiters hashed on the physical page that is mapped* to this virtual address: |
futex_requeue | ex_requeue() - Requeue waiters from uaddr1 to uaddr2*@uaddr1: source futex user address*@flags: futex flags (FLAGS_SHARED, etc |
queue_lock | The key must be already stored in q->key. |
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 插件可实现:逻辑报告 代码生成和批量转换代码 |