Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:speculatively take a reference to a page

Proto:static inline int __page_cache_add_speculative(struct page *page, int count)

Type:int

Parameter:

TypeParameterName
struct page *page
intcount
186  If Value for the false possibility is greater at compile time(!page_ref_add_unless(page, count, 0)) Then
192  Return 0
195  VM_BUG_ON_PAGE(PageTail(page), page)
197  Return 1