函数逻辑报告 |
Source Code:arch\x86\kernel\process.c |
Create Date:2022-07-27 08:48:53 |
Last Modify:2020-03-16 17:03:44 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Called from fs/proc with a reference on @p to find the function* which called into schedule(). This needs to be done carefully* because the task might wake up and we might look at a stack* changing under us.
函数原型:unsigned long get_wchan(struct task_struct *p)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p |
931 | ret等于0 |
932 | count等于0 |
937 | 如果非try_get_task_stack(p)则返回:0 |
940 | start等于task_stack_page(p) |
969 | 循环 |
972 | ip等于Use READ_ONCE_NOCHECK() instead of READ_ONCE() if you need* to hide memory access from KASAN.( * (unsignedlong * )(fp + sizeof(unsignedlong))) |
977 | fp等于Use READ_ONCE_NOCHECK() instead of READ_ONCE() if you need* to hide memory access from KASAN.( * (unsignedlong * )fp) |
980 | out : |
981 | put_task_stack(p) |
982 | 返回:ret |
名称 | 描述 |
---|---|
update_stats_enqueue_sleeper |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |