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

Name:page_ref_dec_and_test

Proto:static inline int page_ref_dec_and_test(struct page *page)

Type:int

Parameter:

TypeParameterName
struct page *page
139  ret = atomic_dec_and_test( & Usage count. *DO NOT USE DIRECTLY*. See page_ref.h )
141  If page_ref_tracepoint_active(__tracepoint_page_ref_mod_and_test) Then __page_ref_mod_and_test(page, - 1, ret)
143  Return ret