函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:PI code:

函数原型:static int refill_pi_state_cache(void)

返回类型:int

参数:

814  如果此条件成立可能性大(为编译器优化)(pi_state_cache)则返回:0
817  pi_state等于分配内存并置零
819  如果非pi_state则返回:负ENOMEM
822  初始化链表头
824  owner = NULL
825  _set - set a refcount's value*@r: the refcount*@n: value to which the refcount will be set
826  key =
828  pi_state_cache等于pi_state
830  返回:0
调用者
名称描述
futex_requeueex_requeue() - Requeue waiters from uaddr1 to uaddr2*@uaddr1: source futex user address*@flags: futex flags (FLAGS_SHARED, etc
futex_lock_piUserspace tried a 0 -> TID atomic transition of the futex value* and failed. The kernel side here does the whole locking operation:* if there are waiters then it will block as a consequence of relying* on rt-mutexes, it does PI, etc