函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-27 17:04:26
Last Modify:2020-03-17 22:28:11 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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 longflags
989  head等于compound_head(page)
993  如果flags按位与Move every page to conform to policy page_mapcount(head)恒等于1则
999  否则如果flags按位与Verify existing pages in the mapping
1007  返回:负EIO
1011  返回:0
调用者
名称描述
queue_pages_pmdqueue_pages_pmd() has four possible return values:* 0 - pages are placed on the right node or queued successfully
queue_pages_pte_rangeScan through pages checking if pages follow certain conditions,* and move them to the pagelist if they do