Function report |
Source Code:mm\truncate.c |
Create Date:2022-07-28 14:14:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:void truncate_pagecache(struct inode *inode, loff_t newsize)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
loff_t | newsize |
816 | unmap_mapping_range(mapping, holebegin, 0, 1) |
818 | unmap_mapping_range(mapping, holebegin, 0, 1) |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |