函数逻辑报告 |
Source Code:mm\migrate.c |
Create Date:2022-07-27 17:33:48 |
Last Modify:2022-05-20 09:53:13 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Determine the nodes of a user array of pages and store it in* a user array of status.
函数原型:static int do_pages_stat(struct mm_struct *mm, unsigned long nr_pages, const void __user *__user *pages, int __user *status)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm | |
unsigned long | nr_pages | |
const void __user *__user * | pages | |
int __user * | status |
1753 | __user乘chunk_pages[16] |
1760 | 如果chunk_nr大于Determine the nodes of a user array of pages and store it in* a user array of status.则chunk_nr等于Determine the nodes of a user array of pages and store it in* a user array of status. |
1763 | 如果copy_from_user(chunk_pages, pages, chunk_nr * chunk_pages的长度)则退出 |
1768 | 如果copy_to_user(status, chunk_status, chunk_nr * status的长度)则退出 |
名称 | 描述 |
---|---|
kernel_move_pages | Move a list of pages in the address space of the currently executing* process. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |