函数逻辑报告 |
Source Code:fs\inode.c |
Create Date:2022-07-29 10:38:08 |
Last Modify:2020-03-18 19:19:59 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:le_update_time - update mtime and ctime time*@file: file accessed* Update the mtime and ctime members of an inode and mark the inode* for writeback
函数原型:int file_update_time(struct file *file)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file |
1879 | inode等于file_inode(file) |
1881 | sync_it等于0 |
1885 | 如果IS_NOCMTIME(inode)则返回:0 |
1889 | 如果非timespec64_equal( & i_mtime, & now)则sync_it等于S_MTIME |
1892 | 如果非timespec64_equal( & i_ctime, & now)则sync_it或等于S_CTIME |
1898 | 如果非sync_it则返回:0 |
1902 | 如果__mnt_want_write_file(file)则返回:0 |
1905 | ret等于This does the actual work of updating an inodes time or version. Must have* had called mnt_want_write() before calling this. |
1906 | __mnt_drop_write_file(file) |
1908 | 返回:ret |
名称 | 描述 |
---|---|
__generic_file_write_iter | __generic_file_write_iter - write data to a file*@iocb: IO state structure (file, offset, etc.)*@from: iov_iter with data to write* This function does all the work needed for actually writing data to a* file |
fault_dirty_shared_page | Handle dirtying of a page in shared file mapping on a write fault.* The function expects the page to be locked and unlocks it. |
file_modified | Caller must hold the file's inode lock |
filemap_page_mkwrite |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |