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:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:page_ref_sub_and_test

Proto:static inline int page_ref_sub_and_test(struct page *page, int nr)

Type:int

Parameter:

TypeParameterName
struct page *page
intnr
121  ret = atomic_sub_and_test(nr, & Usage count. *DO NOT USE DIRECTLY*. See page_ref.h )
123  If page_ref_tracepoint_active(__tracepoint_page_ref_mod_and_test) Then __page_ref_mod_and_test(page, - nr, ret)
125  Return ret
Caller
NameDescribe
__page_frag_cache_drain
page_frag_alloc