函数逻辑报告 |
Source Code:fs\libfs.c |
Create Date:2022-07-29 10:41:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__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
函数原型:int __generic_file_fsync(struct file *file, loff_t start, loff_t end, int datasync)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
loff_t | start | |
loff_t | end | |
int | datasync |
1004 | inode_lock(inode) |
1005 | ret等于sync_mapping_buffers(i_mapping) |
1006 | 如果非Misc 按位与I_DIRTY_ALL的值则转到:out |
1008 | 如果datasync且非Misc 按位与I_DIRTY_DATASYNC的值则转到:out |
1011 | err等于sync_inode_metadata(inode, 1) |
1015 | out : |
1016 | inode_unlock(inode) |
1021 | 返回:ret |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |