函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\futex.c Create Date:2022-07-27 11:53:25
Last Modify:2020-03-17 15:28:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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则返回
425  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_MMU)则
426  smp_mb()
427  返回
432  ihold(inode)
433  退出
435  futex_get_mm(key)
436  退出
437  默认
443  smp_mb()
调用者
名称描述
get_futex_keyget_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_futexqueue_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_futexqueue_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