函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:static unsigned char mincore_page(struct address_space *mapping, unsigned long pgoff)

返回类型:unsigned char

参数:

类型参数名称
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  如果page
88  present等于PageUptodate(page)
89  put_page(page)
92  返回:present
调用者
名称描述
__mincore_unmapped_range