函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Check if the page's nid is in qp->nmask.* If MPOL_MF_INVERT is set in qp->flags, check if the nid is* in the invert of qp->nmask.

函数原型:static inline bool queue_pages_required(struct page *page, struct queue_pages *qp)

返回类型:bool

参数:

类型参数名称
struct page *page
struct queue_pages *qp
427  nid等于page_to_nid(page)
428  flags等于flags
430  返回:No static inline type checking - see Subtlety (1) above. (nid, * nmask)恒等于非flags按位与Invert check for nodemask 的值
调用者
名称描述
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
queue_pages_hugetlb