函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\buffered-io.c Create Date:2022-07-29 11:07:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:iomap_set_page_dirty

函数原型:int iomap_set_page_dirty(struct page *page)

返回类型:int

参数:

类型参数名称
struct page *page
696  mapping等于page_mapping(page)
699  如果此条件成立可能性小(为编译器优化)(!mapping)则返回:非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等于非TestSetPageDirty(page)
708  如果newly_dirtyMark 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  如果newly_dirty__mark_inode_dirty - internal function*@inode: inode to mark*@flags: what kind of dirty (i
714  返回:newly_dirty
调用者
名称描述
__iomap_write_end