函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:page_ref_dec_return

函数原型:static inline int page_ref_dec_return(struct page *page)

返回类型:int

参数:

类型参数名称
struct page *page
148  ret等于atomic_dec_return( & Usage count. *DO NOT USE DIRECTLY*. See page_ref.h )
150  如果page_ref_tracepoint_active(__tracepoint_page_ref_mod_and_return)则__page_ref_mod_and_return(page, - 1, ret)
152  返回:ret