函数逻辑报告 | 
Source Code:fs\utimes.c | 
Create Date:2022-07-29 10:42:40 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:utimes_common
函数原型:static int utimes_common(const struct path *path, struct timespec64 *times)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| const struct path * | path | |
| struct timespec64 * | times | 
| 24 | struct inode * delegated_inode = NULL | 
| 30 | 如果times且 nanoseconds 恒等于UTIME_NOW且 nanoseconds 恒等于UTIME_NOW则times = NULL | 
| 34 | ia_valid等于ATTR_CTIME按位或ATTR_MTIME按位或ATTR_ATIME | 
| 35 | 如果times则 | 
| 36 | 如果 nanoseconds 恒等于UTIME_OMIT则ia_valid与等于ATTR_ATIME的反 | 
| 38 | 否则如果 nanoseconds 不等于UTIME_NOW则 | 
| 40 | ia_valid或等于ATTR_ATIME_SET | 
| 43 | 如果 nanoseconds 恒等于UTIME_OMIT则ia_valid与等于ATTR_MTIME的反 | 
| 45 | 否则如果 nanoseconds 不等于UTIME_NOW则 | 
| 47 | ia_valid或等于ATTR_MTIME_SET | 
| 54 | ia_valid或等于ATTR_TIMES_SET | 
| 55 | 否则 | 
| 56 | ia_valid或等于ATTR_TOUCH | 
| 58 | retry_deleg : | 
| 59 | inode_lock(inode) | 
| 61 | inode_unlock(inode) | 
| 62 | 如果delegated_inode则 | 
| 63 | error等于break_deleg_wait( & delegated_inode) | 
| 64 | 如果非error则转到:retry_deleg | 
| 69 | out : | 
| 70 | 返回:error | 
| 名称 | 描述 | 
|---|---|
| do_utimes | do_utimes - change times on filename or file descriptor*@dfd: open file descriptor, -1 or AT_FDCWD*@filename: path name or NULL*@times: new times or NULL*@flags: zero or more flags (only AT_SYMLINK_NOFOLLOW for the moment)* If filename is NULL and dfd | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |