| 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:h_atime - update the access time*@path: the &struct path to update*@inode: inode to update* Update the accessed time on an inode and mark it for writeback.* This function automatically handles read only file systems and media,
Proto:bool atime_needs_update(const struct path *path, struct inode *inode)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct path * | path | |
| struct inode * | inode | 
| 1707 | If i_flags & Do not update access times Then Return false | 
| 1713 | If HAS_UNMAPPED_ID(inode) Then Return false | 
| 1716 | If IS_NOATIME(inode) Then Return false | 
| 1718 | If s_flags & Do not update directory access times && S_ISDIR(i_mode) Then Return false | 
| 1721 | If mnt_flags & MNT_NOATIME Then Return false | 
| 1723 | If mnt_flags & MNT_NODIRATIME && S_ISDIR(i_mode) Then Return false | 
| 1728 | If Not With relative atime, only update atime if the previous atime is* earlier than either the ctime or mtime or if at least a day has* passed since the last atime update. Then Return false | 
| 1731 | If timespec64_equal( & i_atime, & now) Then Return false | 
| 1734 | Return true | 
| Name | Describe | 
|---|---|
| touch_atime | 
| 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 |