函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mapping_gfp_mask

函数原型:static inline gfp_t mapping_gfp_mask(struct address_space *mapping)

返回类型:gfp_t

参数:

类型参数名称
struct address_space *mapping
102  返回:gfp_mask
调用者
名称描述
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
mapping_gfp_constraintRestricts the given gfp_mask to what the mapping allows.
page_cache_alloc
readahead_gfp_mask
grab_cache_page_nowaitgrab_cache_page_nowait - returns locked page at given index in given cache*@mapping: target address_space*@index: the page index* Same as grab_cache_page(), but do not wait if the page is unavailable
grab_cache_pageReturns locked page at given index in given cache, creating it if needed.
vma_migratableCheck if a vma is migratable
shmem_read_mapping_page