Lines Matching refs:tv
624 struct timeval tv[2];
631 /* ensure that from_sb & tv are sane if !dolink */
636 TIMESPEC_TO_TIMEVAL(&tv[0], &from_sb.st_atimespec);
637 TIMESPEC_TO_TIMEVAL(&tv[1], &from_sb.st_mtimespec);
639 tv[0].tv_sec = from_sb.st_atime;
640 tv[0].tv_usec = 0;
641 tv[1].tv_sec = from_sb.st_mtime;
642 tv[1].tv_usec = 0;
772 if (futimes(to_fd, tv) == -1)
775 if (utimes(to_name, tv) == -1)
801 metadata_log(to_name, "file", tv, NULL, digestresult, size);
1153 metadata_log(const char *path, const char *type, struct timeval *tv,
1204 if (tv != NULL && dopreserve)
1206 (long long)tv[1].tv_sec, (long)tv[1].tv_usec);