函数逻辑报告 |
Source Code:mm\truncate.c |
Create Date:2022-07-27 15:38:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:runcate_pagecache - unmap and remove pagecache that has been truncated*@inode: inode*@newsize: new file size* inode's new i_size must already be written before truncate_pagecache* is called.* This function should typically be called before the filesystem
函数原型:void truncate_pagecache(struct inode *inode, loff_t newsize)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
loff_t | newsize |
816 | unmap_mapping_range(mapping, holebegin, 0, 1) |
818 | unmap_mapping_range(mapping, holebegin, 0, 1) |
名称 | 描述 |
---|---|
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 |
do_dentry_open |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |