Lines Matching defs:times
63 static int CheckNewAttrTime(struct IATTR *attr, struct timespec times[TIMESPEC_TIMES_NUM])
68 if (times) {
69 if (times[0].tv_nsec == UTIME_OMIT) {
71 } else if (times[0].tv_nsec == UTIME_NOW) {
79 attr->attr_chg_atime = (unsigned int)times[0].tv_sec;
83 if (times[1].tv_nsec == UTIME_OMIT) {
85 } else if (times[1].tv_nsec == UTIME_NOW) {
93 attr->attr_chg_mtime = (unsigned int)times[1].tv_sec;
2315 int SysUtimensat(int fd, const char *path, struct timespec times[TIMESPEC_TIMES_NUM], int flag)
2323 CHECK_ASPACE(times, timeLen);
2324 DUP_FROM_USER(times, timeLen);
2325 ret = CheckNewAttrTime(&attr, times);
2326 FREE_DUP(times);