函数逻辑报告 |
Source Code:kernel\futex.c |
Create Date:2022-07-27 11:53:25 |
Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Take a reference to the resource addressed by a key.* Can be called while holding spinlocks.
函数原型:static void get_futex_key_refs(union futex_key *key)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
union futex_key * | key |
417 | 如果非ptr则返回 |
426 | smp_mb() |
427 | 返回 |
434 | 当: & == We set bit 1 if key has a reference on mm |
435 | futex_get_mm(key) |
436 | 退出 |
437 | 默认 |
443 | smp_mb() |
名称 | 描述 |
---|---|
get_futex_key | get_futex_key() - Get parameters which are the keys for a futex*@uaddr: virtual address of the futex*@fshared: 0 for a PROCESS_PRIVATE futex, 1 for PROCESS_SHARED*@key: address where result is stored |
requeue_futex | queue_futex() - Requeue a futex_q from one hb to another*@q: the futex_q to requeue*@hb1: the source hash_bucket*@hb2: the target hash_bucket*@key2: the new key for the requeued futex_q |
requeue_pi_wake_futex | queue_pi_wake_futex() - Wake a task that acquired the lock during requeue*@q: the futex_q*@key: the key of the requeue target futex*@hb: the hash_bucket of the requeue target futex* During futex_requeue, with requeue_pi=1, it is possible to acquire the |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |