函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:compat_exit_robust_list

函数原型:static void compat_exit_robust_list(struct task_struct *curr)

返回类型:void

参数:

类型参数名称
struct task_struct *curr
3980  __userhead等于compat_robust_list
3981  __userentry
3982  limit等于This limit protects against a deliberately circular list.* (Not worth introducing an rlimit for it)
3983  next_pi等于next_pi
3988  如果非futex_cmpxchg_enabled则返回
3995  如果Fetch a robust-list pointer. Bit 0 signals PI futexes:则返回
4000  如果Careful: we have to cast the result to the type of the pointer* for sign reasons(futex_offset, & futex_offset)则返回
4006  如果Fetch a robust-list pointer. Bit 0 signals PI futexes:则返回
4010  next_entry = NULL
4011  当(entry != (struct robust_list __user * ) & list)循环
4016  rc等于Fetch a robust-list pointer. Bit 0 signals PI futexes:
4022  如果entry不等于pending
4029  如果rc则返回
4031  uentry等于next_uentry
4032  entry等于next_entry
4033  pi等于next_pi
4037  如果非limit先自减则退出
4040  cond_resched()
4042  如果pending
4043  __useruaddr等于futex_uaddr(pending, futex_offset)
4045  Process a futex-list entry, check whether it's owned by the* dying task, and do notification if so:
调用者
名称描述
futex_cleanup