函数逻辑报告 |
Source Code:mm\truncate.c |
Create Date:2022-07-27 15:38:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Unconditionally remove exceptional entries. Usually called from truncate* path. Note that the pagevec may be altered by this function by removing* exceptional entries similar to what pagevec_remove_exceptionals does.
函数原型:static void truncate_exceptional_pvec_entries(struct address_space *mapping, struct pagevec *pvec, unsigned long *indices, unsigned long end)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct address_space * | mapping | |
struct pagevec * | pvec | |
unsigned long * | indices | |
unsigned long | end |
67 | 如果shmem_mapping(mapping)则返回 |
70 | 以j小于pagevec_count(pvec)循环如果xa_is_value() - Determine if an entry is a value.*@entry: XArray entry.* Context: Any context.* Return: True if the entry is a value, false if it is a pointer.则 |
72 | 退出 |
74 | 如果j恒等于pagevec_count(pvec)则返回 |
77 | dax等于dax_mapping(mapping) |
79 | 如果lock则xa_lock_irq( & i_pages) |
82 | 以i小于pagevec_count(pvec)循环 |
94 | 如果此条件成立可能性小(为编译器优化)(dax)则 |
96 | 继续下一循环 |
102 | 如果lock则xa_unlock_irq( & i_pages) |
名称 | 描述 |
---|---|
truncate_inode_pages_range | runcate_inode_pages_range - truncate range of pages specified by start & end byte offsets*@mapping: mapping to truncate*@lstart: offset from which to truncate*@lend: offset to which to truncate (inclusive)* Truncate the page cache, removing the pages that |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |