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

Proto:static inline gfp_t mapping_gfp_mask(struct address_space *mapping)

Type:gfp_t

Parameter:

TypeParameterName
struct address_space *mapping
102  Return gfp_mask
Caller
NameDescribe
read_cache_pagead_cache_page - read into page cache, fill it if needed*@mapping: the page's address_space*@index: the page index*@filler: function to perform the read*@data: first arg to filler(data, page) function, often left as NULL* Read into the page cache
grab_cache_page_write_beginFind or create a page at the given pagecache position. Return the locked* page. This function is specifically for buffered writes.
__get_fault_gfp_mask
page_get_linkget the link contents into pagecache
grab_mapping_entryFind page cache entry at given index. If it is a DAX entry, return it* with the entry locked. If the page cache doesn't contain an entry at* that index, add a locked empty entry.* When requesting an entry with size DAX_PMD, grab_mapping_entry() will
ramfs_nommu_expand_for_mappingadd a contiguous set of pages into a ramfs inode when it's truncated from* size 0 on the assumption that it's going to be used for an mmap of shared* memory