函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Turn a non-refcounted page (->_refcount == 0) into refcounted with* a count of one.

函数原型:static inline void set_page_refcounted(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
72  VM_BUG_ON_PAGE(PageTail(page), page)
73  VM_BUG_ON_PAGE(page_ref_count(page), page)
74  set_page_count(page, 1)
调用者
名称描述
__free_pages_core
init_cma_reserved_pageblockFree whole pageblock and set its migration type to MIGRATE_CMA.
post_alloc_hook
split_pagesplit_page takes a non-compound higher-order page, and splits it into* n (1<
dequeue_huge_page_node_exact
update_and_free_page