函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hugetlb.c Create Date:2022-07-27 16:56:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dequeue_huge_page_node_exact

函数原型:static struct page *dequeue_huge_page_node_exact(struct hstate *h, int nid)

返回类型:struct page

参数:

类型参数名称
struct hstate *h
intnid
832  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(page, & hugepage_freelists[nid], lru)
833  如果非PageHWPoison(page)则退出
839  如果hugepage_freelists[nid]恒等于维护该页的链则返回:NULL
841  链表项移动到头部
842  Turn a non-refcounted page (->_refcount == 0) into refcounted with* a count of one.
843  free_huge_pages自减
844  free_huge_pages_node[nid]自减
845  返回:page
调用者
名称描述
dequeue_huge_page_nodemask