函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:35:04 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:test_clear_page_writeback
函数原型:int test_clear_page_writeback(struct page *page)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
2716 | mapping等于page_mapping(page) |
2721 | memcg等于lock_page_memcg(page) |
2722 | lruvec等于mem_cgroup_page_lruvec(page, page_pgdat(page)) |
2723 | 如果mapping且mapping_use_writeback_tags(mapping)则 |
2725 | bdi等于inode_to_bdi(inode) |
2728 | xa_lock_irqsave( & i_pages, flags) |
2729 | ret等于TestClearPageWriteback(page) |
2730 | 如果ret则 |
2733 | 如果bdi_cap_account_writeback(bdi)则 |
2741 | 如果host且非Returns true if any of the pages in the mapping are marked with the tag.则lear an inode as under writeback on the sb |
2745 | xa_unlock_irqrestore( & i_pages, flags) |
2746 | 否则 |
2747 | ret等于TestClearPageWriteback(page) |
2755 | 如果ret则 |
2756 | dec_lruvec_state(lruvec, NR_WRITEBACK) |
2758 | inc_node_page_state(page, NR_WRITTEN) |
2760 | __unlock_page_memcg(memcg) |
2761 | 返回:ret |
名称 | 描述 |
---|---|
end_page_writeback | d_page_writeback - end writeback against a page*@page: the page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |