函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ClearPageDirty

函数原型:static inline __attribute__((__always_inline__)) void ClearPageDirty(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
318  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
调用者
名称描述
__cancel_dirty_pageThis cancels just the dirty bit on the kernel page itself, it does NOT* actually remove dirty bits on any mmap's that may be around
pageoutpageout is called by shrink_page_list() for each dirty page.* Calls ->writepage().
madvise_free_pte_range
migrate_page_move_mappingReplace the page in the mapping.* The number of remaining references must be:* 1 for anonymous pages without a mapping* 2 for pages with a mapping* 3 for pages with a mapping and PagePrivate/PagePrivate2 set.
madvise_free_huge_pmdReturn true if we do MADV_FREE successfully on entire pmd page.* Otherwise, return false.
__split_huge_page
me_swapcache_dirtyClean and dirty swap cache.* Dirty swap cache page is tricky to handle. The page could live both in page* cache and swap cache(ie. page is freshly swapped in). So it could be* referenced concurrently by 2 types of PTEs:* normal PTEs and swap PTEs