函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:34:57 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This cancels just the dirty bit on the kernel page itself, it does NOT* actually remove dirty bits on any mmap's that may be around
函数原型:void __cancel_dirty_page(struct page *page)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
2618 | mapping等于page_mapping(page) |
2620 | 如果mapping_cap_account_dirty(mapping)则 |
2623 | struct wb_lock_cookie cookie = {} |
2625 | lock_page_memcg(page) |
2626 | wb等于unlocked_inode_to_wb_begin(inode, & cookie) |
2628 | 如果TestClearPageDirty(page)则Helper function for deaccounting dirty page without writeback.* Caller must hold lock_page_memcg(). |
2631 | unlocked_inode_to_wb_end(inode, & cookie) |
2632 | unlock_page_memcg(page) |
2633 | 否则 |
2634 | ClearPageDirty(page) |
名称 | 描述 |
---|---|
cancel_dirty_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |