函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Fetch a robust-list pointer. Bit 0 signals PI futexes:

函数原型:static inline int fetch_robust_entry(struct robust_list __user **entry, struct robust_list __user *__user *head, unsigned int *pi)

返回类型:int

参数:

类型参数名称
struct robust_list __user **entry
struct robust_list __user *__user *head
unsigned int *pi
3663  如果Careful: we have to cast the result to the type of the pointer* for sign reasons(uentry, (unsignedlong__user * )head)则返回:负EFAULT
3666  entry__user等于uentry按位与1UL的反
3667  pi等于uentry按位与1
3669  返回:0
调用者
名称描述
exit_robust_listWalk curr->robust_list (very carefully, it's a userspace list!)* and mark any locks found there dead, and notify any waiters.* We silently return on any sign of list-walking problem.