函数逻辑报告 |
Source Code:kernel\futex.c |
Create Date:2022-07-27 11:54:00 |
Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Wake up waiters matching bitset queued on this futex (uaddr).
函数原型:static int futex_wake(unsigned int __user *uaddr, unsigned int flags, int nr_wake, unsigned int bitset)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int __user * | uaddr | |
unsigned int | flags | |
int | nr_wake | |
unsigned int | bitset |
1660 | key等于FUTEX_KEY_INIT |
1668 | 如果此条件成立可能性小(为编译器优化)(ret != 0)则转到:out |
1674 | 如果非hb_waiters_pending(hb)则转到:out_put_key |
1677 | 加自旋锁 |
1696 | 自旋锁解锁 |
1698 | out_put_key : |
1699 | put_futex_key( & key) |
1700 | out : |
1701 | 返回:ret |
名称 | 描述 |
---|---|
handle_futex_death | Process a futex-list entry, check whether it's owned by the* dying task, and do notification if so: |
do_futex |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |