Function report |
Source Code:fs\inode.c |
Create Date:2022-07-28 20:07:59 |
Last Modify:2020-03-18 19:19:59 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int file_update_time(struct file *file)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file |
1879 | inode = file_inode(file) |
1881 | sync_it = 0 |
1885 | If IS_NOCMTIME(inode) Then Return 0 |
1889 | If Not timespec64_equal( & i_mtime, & now) Then sync_it = S_MTIME |
1892 | If Not timespec64_equal( & i_ctime, & now) Then sync_it |= S_CTIME |
1898 | If Not sync_it Then Return 0 |
1902 | If __mnt_want_write_file(file) Then Return 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 | Return ret |
Name | Describe |
---|---|
__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 |
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 |