函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Returns locked page at given index in given cache, creating it if needed.

函数原型:static inline struct page *grab_cache_page(struct address_space *mapping, unsigned long index)

返回类型:struct page

参数:

类型参数名称
struct address_space *mapping
unsigned longindex
383  返回: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
调用者
名称描述
nobh_truncate_page
block_truncate_page