Function report |
Source Code:fs\libfs.c |
Create Date:2022-07-28 20:10:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__generic_file_fsync - generic fsync implementation for simple filesystems*@file: file to synchronize*@start: start offset in bytes*@end: end offset in bytes (inclusive)*@datasync: only synchronize essential metadata if true* This is a generic
Proto:int __generic_file_fsync(struct file *file, loff_t start, loff_t end, int datasync)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
loff_t | start | |
loff_t | end | |
int | datasync |
1004 | inode_lock(inode) |
1005 | ret = sync_mapping_buffers(i_mapping) |
1006 | If Not (Misc & I_DIRTY_ALL) Then Go to out |
1008 | If datasync && Not (Misc & Data-related inode changes pending) Then Go to out |
1011 | err = sync_inode_metadata(inode, 1) |
1015 | out : |
1016 | inode_unlock(inode) |
1021 | Return ret |
Name | Describe |
---|---|
generic_file_fsync | generic_file_fsync - generic fsync implementation for simple filesystems* with flush*@file: file to synchronize*@start: start offset in bytes*@end: end offset in bytes (inclusive)*@datasync: only synchronize essential metadata if true |
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 |