Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Restricts the given gfp_mask to what the mapping allows.

Proto:static inline gfp_t mapping_gfp_constraint(struct address_space *mapping, gfp_t gfp_mask)

Type:gfp_t

Parameter:

TypeParameterName
struct address_space *mapping
gfp_tgfp_mask
109  Return mapping_gfp_mask(mapping) & gfp_mask
Caller
NameDescribe
generic_file_buffered_readgeneric_file_buffered_read - generic file read routine*@iocb: the iocb to read*@iter: data destination*@written: already copied* This is a generic file read routine, and uses the* mapping->a_ops->readpage() function for the actual low-level stuff.
page_symlink
grow_dev_pageCreate the page-cache page that contains the requested block.* This is used purely for blockdev mappings.
do_mpage_readpageThis is the worker routine which does all the work of mapping the disk* blocks and constructs largest possible bios, submits them for IO if the* blocks are not contiguous on the disk
iomap_readpage_actor