函数逻辑报告 |
Source Code:mm\truncate.c |
Create Date:2022-07-27 15:38:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:int invalidate_inode_page(struct page *page)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
257 | mapping等于page_mapping(page) |
258 | 如果非mapping则返回:0 |
260 | 如果PageDirty(page)或Only test-and-set exist for PG_writeback. The unconditional operators are* risky: they bypass page accounting.则返回:0 |
262 | 如果page_mapped(page)则返回:0 |
名称 | 描述 |
---|---|
invalidate_mapping_pages | validate_mapping_pages - Invalidate all the unlocked pages of one inode*@mapping: the address_space which holds the pages to invalidate*@start: the offset 'from' which to invalidate*@end: the offset 'to' which to invalidate (inclusive)* This function only |
truncate_error_page | |
__soft_offline_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |