Lines Matching refs:tv
791 struct timeval tv[2];
794 tv[0].tv_sec = (long)atime;
795 tv[0].tv_usec = 0;
796 tv[1].tv_sec = (long)mtime;
797 tv[1].tv_usec = 0;
806 TIMESPEC_TO_TIMEVAL(&tv[0], &sb.st_atimespec);
808 TIMESPEC_TO_TIMEVAL(&tv[1], &sb.st_mtimespec);
811 tv[0].tv_sec = sb.st_atime;
813 tv[1].tv_sec = sb.st_mtime;
823 if (lutimes(fnm, tv) == 0)
830 if (utimes(fnm, tv) == -1)