函数逻辑报告 |
Source Code:fs\sync.c |
Create Date:2022-07-29 10:42:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:vfs_fsync_range - helper to sync a range of data & metadata to disk*@file: file to sync*@start: offset in bytes of the beginning of data range to sync*@end: offset in bytes of the end of data range (inclusive)*@datasync: perform only datasync
函数原型:int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
loff_t | start | |
loff_t | end | |
int | datasync |
195 | 如果非datasync且Misc 按位与I_DIRTY_TIME则mark_inode_dirty_sync(inode) |
名称 | 描述 |
---|---|
vfs_fsync | vfs_fsync - perform a fsync or fdatasync on a file*@file: file to sync*@datasync: only perform a fdatasync operation* Write back data and metadata for @file to disk. If @datasync is* set only metadata needed to access modified file data is written. |
io_fsync_finish | |
dax_finish_sync_fault | dax_finish_sync_fault - finish synchronous page fault*@vmf: The description of the fault*@pe_size: Size of entry to be inserted*@pfn: PFN to insert* This function ensures that the file range touched by the page fault is* stored persistently on the media |
SYSCALL_DEFINE3 | MS_SYNC syncs the entire file - including mappings |
generic_write_sync | Sync the bytes written if this was a synchronous write. Expect ki_pos* to already be updated for the write, and will return either the amount* of bytes passed in, or an error if syncing the file failed. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |