函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:34:52 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Call this whenever redirtying a page, to de-account the dirty counters* (NR_DIRTIED, WB_DIRTIED, tsk->nr_dirtied), so that they match the written* counters (NR_WRITTEN, WB_WRITTEN) in long term
函数原型:void account_page_redirty(struct page *page)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
2508 | 如果mapping且mapping_cap_account_dirty(mapping)则 |
2511 | struct wb_lock_cookie cookie = {} |
2513 | wb等于unlocked_inode_to_wb_begin(inode, & cookie) |
2514 | nr_dirtied自减 |
2515 | dec_node_page_state(page, NR_DIRTIED) |
2516 | dec_wb_stat(wb, WB_DIRTIED) |
2517 | unlocked_inode_to_wb_end(inode, & cookie) |
名称 | 描述 |
---|---|
redirty_page_for_writepage | When a writepage implementation decides that it doesn't want to write this* page for some reason, it should redirty the locked page via* redirty_page_for_writepage() and it should then unlock the page and return 0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |