函数逻辑报告 |
Source Code:mm\truncate.c |
Create Date:2022-07-27 15:38:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pagecache_isize_extended - update pagecache after extension of i_size*@inode: inode for which i_size was extended*@from: original inode size*@to: new inode size* Handle extension of inode size either caused by extending truncate or by
函数原型:void pagecache_isize_extended(struct inode *inode, loff_t from, loff_t to)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
loff_t | from | |
loff_t | to |
867 | bsize等于i_blocksize(inode) |
878 | 如果to小于等于rounded_from或非rounded_from按位与PAGE_SIZE减1的值则返回 |
884 | 如果非page则返回 |
890 | 如果Cleans the PTEs of shared mappings.* (and since clean PTEs should also be readonly, write protects them too)* returns the number of cleaned PTEs.则Dirty a page |
名称 | 描述 |
---|---|
truncate_setsize | runcate_setsize - update inode and pagecache for a new file size*@inode: inode*@newsize: new file size* truncate_setsize updates i_size and performs pagecache truncation (if* necessary) to @newsize. It will be typically be called from the filesystem's |
iomap_write_end | |
generic_write_end |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |