函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:34:54 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Dirty a page
函数原型:int set_page_dirty(struct page *page)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
2551 | mapping等于page_mapping(page) |
2553 | page等于compound_head(page) |
2554 | 如果此条件成立可能性大(为编译器优化)(mapping)则 |
2555 | (等于set_page_dirty |
2566 | 如果PG_readahead is only used for reads; PG_reclaim is only for writes 则PG_readahead is only used for reads; PG_reclaim is only for writes |
2569 | 如果非spd则spd等于__set_page_dirty_buffers |
2575 | 如果非TestSetPageDirty(page)则返回:1 |
2578 | 返回:0 |
名称 | 描述 |
---|---|
set_page_dirty_lock | set_page_dirty() is racy if the caller has no reference against* CPU could truncate the page off the mapping and then free the mapping.* Usually, the page _is_ locked, or the caller is a user-space process which |
clear_page_dirty_for_io | Clear a page's dirty flag, while caring for dirty memory accounting.* Returns true if the page was previously dirty.* This is for preparing to put the page under writeout. We leave the page* tagged as dirty in the xarray so that a concurrent write-for-sync |
pagecache_isize_extended | pagecache_isize_extended - update pagecache after extension of i_size*@inode: inode for which i_size was extended*@from: original inode size*@to: new inode size* Handle extension of inode size either caused by extending truncate or by |
follow_page_pte | |
zap_pte_range | |
fault_dirty_shared_page | Handle dirtying of a page in shared file mapping on a write fault.* The function expects the page to be locked and unlocks it. |
try_to_unmap_one | @arg: enum ttu_flags will be passed to this argument |
end_swap_bio_write | |
__swap_writepage | |
add_to_swap | add_to_swap - allocate swap space for a page*@page: page we want to move to swap* Allocate swap space for the page and add the page to the* swap cache. Caller needs to hold the page lock. |
__unmap_hugepage_range | |
huge_add_to_page_cache | |
write_protect_page | |
__split_huge_pmd_locked | |
block_page_mkwrite | lock_page_mkwrite() is not allowed to change the file size as it gets* called from a page fault handler when a page is first dirtied |
nobh_write_end | |
nobh_truncate_page | |
iomap_page_mkwrite_actor | |
filemap_page_mkwrite | |
simple_write_end | simple_write_end - .write_end helper for non-block-device FSes*@file: See .write_end of address_space_operations*@mapping: "*@pos: "*@len: "*@copied: "*@page: "*@fsdata: "* simple_write_end does the minimum needed for updating a page after writing is |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |