Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\buffered-io.c Create Date:2022-07-28 20:31:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:iomap_set_page_dirty

Proto:int iomap_set_page_dirty(struct page *page)

Type:int

Parameter:

TypeParameterName
struct page *page
696  mapping = page_mapping(page)
699  If Value for the false possibility is greater at compile time(!mapping) Then Return Not TestSetPageDirty(page)
706  lock_page_memcg - lock a page->mem_cgroup binding*@page: the page* This function protects unlocked LRU pages from being moved to* another cgroup
707  newly_dirty = Not TestSetPageDirty(page)
708  If newly_dirty Then Mark the page dirty, and set it dirty in the page cache, and mark the inode* dirty.* If warn is true, then emit a warning if the page is not uptodate and has* not been truncated.* The caller must hold lock_page_memcg().
710  lock_page_memcg - unlock a page->mem_cgroup binding*@page: the page
712  If newly_dirty Then __mark_inode_dirty - internal function*@inode: inode to mark*@flags: what kind of dirty (i
714  Return newly_dirty
Caller
NameDescribe
__iomap_write_end