Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:static inline struct page *find_or_create_page(struct address_space *mapping, unsigned long offset, gfp_t gfp_mask)

Type:struct page

Parameter:

TypeParameterName
struct address_space *mapping
unsigned longoffset
gfp_tgfp_mask
310  Return pagecache_get_page - find and get a page reference*@mapping: the address_space to search*@offset: the page index*@fgp_flags: PCG flags*@gfp_mask: gfp mask to use for the page cache data page allocation* Looks up the page cache slot at @mapping & @offset.
Caller
NameDescribe
grow_dev_pageCreate the page-cache page that contains the requested block.* This is used purely for blockdev mappings.
aio_setup_ring