Function report |
Source Code:fs\inode.c |
Create Date:2022-07-28 20:07:58 |
Last Modify:2020-03-18 19:19:59 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static int relatime_need_update(struct vfsmount *mnt, struct inode *inode, struct timespec64 now)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct vfsmount * | mnt | |
struct inode * | inode | |
struct timespec64 | now |
1630 | If Not (mnt_flags & MNT_RELATIME) Then Return 1 |
1635 | If lhs < rhs: return <0* lhs == rhs: return 0* lhs > rhs: return >0 >= 0 Then Return 1 |
1640 | If lhs < rhs: return <0* lhs == rhs: return 0* lhs > rhs: return >0 >= 0 Then Return 1 |
1652 | Return 0 |
Name | Describe |
---|---|
atime_needs_update | 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, |
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 |