Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:add_to_page_cache_locked - add a locked page to the pagecache*@page: page to add*@mapping: the page's address_space*@offset: page index*@gfp_mask: page allocation mode* This function is used to add a page to the pagecache. It must be locked.

Proto:int add_to_page_cache_locked(struct page *page, struct address_space *mapping, unsigned long offset, gfp_t gfp_mask)

Type:int

Parameter:

TypeParameterName
struct page *page
struct address_space *mapping
unsigned longoffset
gfp_tgfp_mask
931  Return __add_to_page_cache_locked(page, mapping, offset, gfp_mask, NULL)