函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:int add_to_page_cache_locked(struct page *page, struct address_space *mapping, unsigned long offset, gfp_t gfp_mask)

返回类型:int

参数:

类型参数名称
struct page *page
struct address_space *mapping
unsigned longoffset
gfp_tgfp_mask
931  返回:__add_to_page_cache_locked(page, mapping, offset, gfp_mask, NULL)