Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Returns locked page at given index in given cache, creating it if needed.

Proto:static inline struct page *grab_cache_page(struct address_space *mapping, unsigned long index)

Type:struct page

Parameter:

TypeParameterName
struct address_space *mapping
unsigned longindex
383  Return d_or_create_page - locate or add a pagecache page*@mapping: the page's address_space*@index: the page's index into the mapping*@gfp_mask: page allocation mode* Looks up the page cache slot at @mapping & @offset
Caller
NameDescribe
nobh_truncate_page
block_truncate_page