函数逻辑报告 |
Source Code:mm\mempolicy.c |
Create Date:2022-07-27 17:04:26 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:migrate_page_add
函数原型:static int migrate_page_add(struct page *page, struct list_head *pagelist, unsigned long flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct list_head * | pagelist | |
unsigned long | flags |
989 | head等于compound_head(page) |
993 | 如果flags按位与Move every page to conform to policy 或page_mapcount(head)恒等于1则 |
995 | 添加链表项 |
999 | 否则如果flags按位与Verify existing pages in the mapping 则 |
1007 | 返回:负EIO |
1011 | 返回:0 |
名称 | 描述 |
---|---|
queue_pages_pmd | queue_pages_pmd() has four possible return values:* 0 - pages are placed on the right node or queued successfully |
queue_pages_pte_range | Scan through pages checking if pages follow certain conditions,* and move them to the pagelist if they do |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |