函数逻辑报告 |
Source Code:fs\inode.c |
Create Date:2022-07-29 10:38:07 |
Last Modify:2020-03-18 19:19:59 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static int relatime_need_update(struct vfsmount *mnt, struct inode *inode, struct timespec64 now)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vfsmount * | mnt | |
struct inode * | inode | |
struct timespec64 | now |
1630 | 如果非mnt_flags按位与MNT_RELATIME的值则返回:1 |
1635 | 如果lhs < rhs: return <0* lhs == rhs: return 0* lhs > rhs: return >0大于等于0则返回:1 |
1640 | 如果lhs < rhs: return <0* lhs == rhs: return 0* lhs > rhs: return >0大于等于0则返回:1 |
1652 | 返回:0 |
名称 | 描述 |
---|---|
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, |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |