Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\page_ref.h Create Date:2022-07-28 05:41:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_page_count

Proto:static inline void set_page_count(struct page *page, int v)

Type:void

Parameter:

TypeParameterName
struct page *page
intv
77  atomic_set( & Usage count. *DO NOT USE DIRECTLY*. See page_ref.h , v)
78  If page_ref_tracepoint_active(__tracepoint_page_ref_set) Then __page_ref_set(page, v)
Caller
NameDescribe
prep_compound_page
__free_pages_core
init_cma_reserved_pageblockFree whole pageblock and set its migration type to MIGRATE_CMA.
page_frag_alloc
prep_compound_gigantic_page