Function report |
Source Code:include\linux\fs.h |
Create Date:2022-07-28 05:42:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:NOTE: unlike i_size_read(), i_size_write() does need locking around it* (normally i_mutex), otherwise on 32bit/SMP an update of i_size_seqcount* can be lost, resulting in subsequent i_size_read() calls spinning forever.
Proto:static inline void i_size_write(struct inode *inode, loff_t i_size)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
loff_t | i_size |
Name | Describe |
---|---|
generic_file_direct_write | |
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 |
blkpg_ioctl | |
sel_open_policy | |
simple_write_end | simple_write_end - .write_end helper for non-block-device FSes*@file: See .write_end of address_space_operations*@mapping: "*@pos: "*@len: "*@copied: "*@page: "*@fsdata: "* simple_write_end does the minimum needed for updating a page after writing is |
fsstack_copy_inode_size | does _NOT_ require i_mutex to be held.* This function cannot be inlined since i_size_{read,write} is rather* heavy-weight on 32-bit systems |
generic_write_end | |
nobh_write_end | |
check_disk_size_change | heck_disk_size_change - checks for disk size change and adjusts bdev size |
bd_set_size | |
iomap_write_end | |
iomap_dio_inline_actor | |
ramfs_nommu_expand_for_mapping | add a contiguous set of pages into a ramfs inode when it's truncated from* size 0 on the assumption that it's going to be used for an mmap of shared* memory |
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 |