Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mincore.c Create Date:2022-07-28 14:44:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Later we can get more picky about what "in core" means precisely.* For now, simply check to see if the page is in the page cache,* and is up to date; i.e. that no page-in operation would be required

Proto:static unsigned char mincore_page(struct address_space *mapping, unsigned long pgoff)

Type:unsigned char

Parameter:

TypeParameterName
struct address_space *mapping
unsigned longpgoff
53  present = 0
85  page = d_get_page - find and get a page reference*@mapping: the address_space to search*@offset: the page index* Looks up the page cache slot at @mapping & @offset. If there is a* page cache page, it is returned with an increased refcount.
87  If page Then
88  present = PageUptodate(page)
89  put_page(page)
92  Return present
Caller
NameDescribe
__mincore_unmapped_range