函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:页面私有占用

函数原型:static inline int page_has_private(struct page *page)

返回类型:int

参数:

类型参数名称
struct page *page
854  返回:非非体系结构无关页的属性按位与PAGE_FLAGS_PRIVATE的值
调用者
名称描述
read_cache_pages_invalidate_pagesee if a page needs releasing upon read_cache_pages() failure* - the caller of read_cache_pages() may have set PG_private or PG_fscache* before calling, such as the NFS fs marking pages that are cached locally* on disk, thus we need to give the fs a
truncate_cleanup_pageIf truncate cannot remove the fs-private metadata from the page, the page* becomes orphaned
invalidate_complete_pageThis is for invalidate_mapping_pages(). That function can be called at* any time, and is not supposed to throw away dirty pages. But pages can* be marked dirty at any time too, so use remove_mapping which safely* discards clean, unused pages.
truncate_inode_pages_rangeruncate_inode_pages_range - truncate range of pages specified by start & end byte offsets*@mapping: mapping to truncate*@lstart: offset from which to truncate*@lend: offset to which to truncate (inclusive)* Truncate the page cache, removing the pages that
invalidate_complete_page2This is like invalidate_complete_page(), except it ignores the page's* refcount
is_page_cache_freeable
pageoutpageout is called by shrink_page_list() for each dirty page.* Calls ->writepage().
page_check_dirty_writebackCheck if a page is dirty or under writeback
shrink_page_listshrink_page_list() returns the number of reclaimed pages
shrink_active_list
expected_page_refs
migrate_huge_page_move_mappingThe expected number of remaining references is the same as that* of migrate_page_move_mapping().
fallback_migrate_pageDefault handling if a filesystem does not provide a migration function.
__unmap_and_move
truncate_error_page
page_cache_pipe_buf_stealAttempt to steal a page from a pipe buffer. This should perhaps go into* a vm helper function, it's already simplified quite a bit by the* addition of remove_mapping(). If success is returned, the caller may
to_iomap_page
iomap_set_range_uptodate
iomap_migrate_page