函数逻辑报告 |
Source Code:mm\truncate.c |
Create Date:2022-07-27 15:38:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This is for invalidate_mapping_pages(). That function can be called at* any time, and is not supposed to throw away dirty pages. But pages can* be marked dirty at any time too, so use remove_mapping which safely* discards clean, unused pages.
函数原型:static int invalidate_complete_page(struct address_space *mapping, struct page *page)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct address_space * | mapping | |
struct page * | page |
209 | 如果 See page-flags.h for PAGE_MAPPING_FLAGS 不等于mapping则返回:0 |
215 | ret等于remove_mapping(mapping, page) |
217 | 返回:ret |
名称 | 描述 |
---|---|
invalidate_inode_page | Safely invalidate one page from its pagecache mapping.* It only drops clean, unused pages. The page must be locked.* Returns 1 if the page is successfully invalidated, otherwise 0. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |