函数逻辑报告 | 
Source Code:mm\truncate.c | 
Create Date:2022-07-27 15:38:26 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称: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
函数原型:unsigned long invalidate_mapping_pages(struct address_space *mapping, unsigned long start, unsigned long end)
返回类型:unsigned long
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct address_space * | mapping | |
| unsigned long | start | |
| unsigned long | end | 
| 553 | count等于0 | 
| 556 | pagevec_init( & pvec) | 
| 560 | 以i小于pagevec_count( & pvec)循环 | 
| 571 | 继续下一循环 | 
| 574 | 如果非Return true if the page was successfully locked则继续下一循环 | 
| 577 | WARN_ON(Get index of the page with in radix-tree* (TODO: remove once hugetlb pages will have ->index in PAGE_SIZE) != index) | 
| 607 | ret等于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. | 
| 620 | pagevec_release( & pvec) | 
| 621 | cond_resched() | 
| 622 | index自加 | 
| 624 | 返回:count | 
| 名称 | 描述 | 
|---|---|
| generic_fadvise | POSIX_FADV_WILLNEED could set PG_Referenced, and POSIX_FADV_NOREUSE could* deactivate the pages and clear PG_Referenced. | 
| invalidate_bdev | Invalidate clean unused buffers and pagecache. | 
| drop_pagecache_sb | |
| __generic_file_write_iter | __generic_file_write_iter - write data to a file*@iocb: IO state structure (file, offset, etc.)*@from: iov_iter with data to write* This function does all the work needed for actually writing data to a* file | 
| invalidate_remote_inode | |
| inode_lru_isolate | Isolate the inode from the LRU in preparation for freeing it | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |