函数逻辑报告 |
Source Code:fs\buffer.c |
Create Date:2022-07-29 10:45:09 |
Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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().
函数原型:void __set_page_dirty(struct page *page, struct address_space *mapping, int warn)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct address_space * | mapping | |
int | warn |
620 | xa_lock_irqsave( & i_pages, flags) |
622 | WARN_ON_ONCE(warn && !PageUptodate(page)) |
627 | xa_unlock_irqrestore( & i_pages, flags) |
名称 | 描述 |
---|---|
__set_page_dirty_buffers | Add a page to the dirty page list.* It is a sad fact of life that this function is called from several places* deeply under spinlocking. It may not sleep.* If the page has buffers, the uptodate buffers are set dirty, to preserve |
mark_buffer_dirty | mark_buffer_dirty - mark a buffer_head as needing writeout*@bh: the buffer_head to mark dirty* mark_buffer_dirty() will set the dirty bit against the buffer, then set* its backing page dirty, then tag the page as dirty in the page cache* and then attach |
iomap_set_page_dirty |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |