函数逻辑报告 |
Source Code:fs\utimes.c |
Create Date:2022-07-29 10:42:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, int flags)
返回类型:long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | dfd | |
| const char __user * | filename | |
| struct timespec64 * | times | |
| int | flags |
| 93 | 如果times且非nsec_valid( nanoseconds )或非nsec_valid( nanoseconds )的值则 |
| 95 | 转到:out |
| 98 | 如果flags按位与Do not follow symbolic links. 的反则转到:out |
| 104 | 如果flags按位与Do not follow symbolic links. 则转到:out |
| 112 | error等于utimes_common( & f_path, times) |
| 114 | 否则 |
| 116 | lookup_flags等于0 |
| 118 | 如果非flags按位与Do not follow symbolic links. 的值则lookup_flags或等于llow links at the end |
| 120 | retry : |
| 121 | error等于user_path_at(dfd, filename, lookup_flags, & path) |
| 125 | error等于utimes_common( & path, times) |
| 129 | 转到:retry |
| 133 | out : |
| 134 | 返回:error |
| 名称 | 描述 |
|---|---|
| SYSCALL_DEFINE4 | |
| do_utime |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |