Lines Matching refs:mtim

62 compare_times(struct stat *st, bool trunc, timespec_t *atim, timespec_t *mtim,  in compare_times()  argument
72 } else if (st->st_mtim.tv_sec != mtim->tv_sec) { in compare_times()
75 trunc ? mtim->tv_nsec / 1000 * 1000 : mtim->tv_nsec)) { in compare_times()
90 compare_filetime(char *path, bool trunc, timespec_t *atim, timespec_t *mtim, in compare_filetime() argument
98 return (compare_times(&st, trunc, atim, mtim, invert)); in compare_filetime()
102 compare_linktime(char *path, bool trunc, timespec_t *atim, timespec_t *mtim, in compare_linktime() argument
110 return (compare_times(&st, trunc, atim, mtim, invert)); in compare_linktime()
114 reset(char *path, timespec_t *atim, timespec_t *mtim) in reset() argument
118 if (compare_filetime(path, true, atim, mtim, true)) { in reset()
126 reset_link(char *lpath, timespec_t *atim, timespec_t *mtim) in reset_link() argument
130 if (compare_linktime(lpath, true, atim, mtim, true)) { in reset_link()
138 runtest(enum ttype fn, char *dir, timespec_t *atim, timespec_t *mtim) in runtest() argument
147 ts[1] = *mtim; in runtest()
175 if (!compare_filetime(path, true, atim, mtim, false)) { in runtest()
180 if (!reset(path, atim, mtim)) in runtest()
186 if (!compare_filetime(path, true, atim, mtim, false)) { in runtest()
199 if (!compare_filetime(path, true, atim, mtim, false)) { in runtest()
204 if (!reset(path, atim, mtim)) in runtest()
210 if (!compare_linktime(lpath, true, atim, mtim, false)) { in runtest()
214 if (compare_filetime(path, true, atim, mtim, true)) { in runtest()
220 if (!reset(path, atim, mtim) || !reset_link(lpath, atim, mtim)) in runtest()
227 if (!compare_filetime(path, true, atim, mtim, false)) { in runtest()
231 if (compare_linktime(lpath, true, atim, mtim, true)) { in runtest()
242 if (!compare_filetime(path, true, atim, mtim, false)) { in runtest()
256 if (!compare_filetime(path, true, atim, mtim, false)) { in runtest()
261 if (!reset(path, atim, mtim)) in runtest()
269 if (!compare_filetime(path, true, atim, mtim, false)) { in runtest()
274 if (!reset(path, atim, mtim)) in runtest()
280 if (!compare_filetime(path, true, atim, mtim, false)) { in runtest()
288 if (!reset(path, atim, mtim)) in runtest()
294 if (!compare_filetime(path, true, atim, mtim, false)) { in runtest()
299 if (!reset(path, atim, mtim)) in runtest()
305 if (!compare_filetime(path, true, atim, mtim, false)) { in runtest()
310 if (!reset(path, atim, mtim)) in runtest()
318 if (!compare_filetime(path, true, atim, mtim, false)) { in runtest()
323 if (!reset(path, atim, mtim)) in runtest()
329 if (!compare_filetime(path, true, atim, mtim, false)) { in runtest()
341 if (!compare_filetime(path, false, atim, mtim, false)) { in runtest()
365 if (!compare_filetime(path, false, atim, mtim, false)) { in runtest()
370 if (!reset(path, atim, mtim)) in runtest()
376 if (!compare_filetime(path, false, atim, mtim, false)) { in runtest()
384 if (!reset(path, atim, mtim)) in runtest()
390 if (!compare_filetime(path, false, atim, mtim, false)) { in runtest()
395 if (!reset(path, atim, mtim)) in runtest()
401 if (!compare_filetime(path, false, atim, mtim, false)) { in runtest()
406 if (!reset(path, atim, mtim)) in runtest()
414 if (!compare_filetime(path, false, atim, mtim, false)) { in runtest()
419 if (!reset(path, atim, mtim)) in runtest()
425 if (!compare_filetime(path, false, atim, mtim, false)) { in runtest()
430 if (!reset(path, atim, mtim)) in runtest()
437 if (compare_linktime(lpath, true, atim, mtim, true)) { in runtest()
445 if (!compare_linktime(lpath, false, atim, mtim, false)) { in runtest()
449 if (compare_filetime(path, false, atim, mtim, true)) { in runtest()
473 runtests(char *dir, timespec_t *atim, timespec_t *mtim) in runtests() argument
478 atim->tv_sec, atim->tv_nsec, mtim->tv_sec, mtim->tv_nsec); in runtests()
480 if (!runtest(UTIMES, dir, atim, mtim)) in runtests()
482 if (!runtest(LUTIMES, dir, atim, mtim)) in runtests()
484 if (!runtest(FUTIMES, dir, atim, mtim)) in runtests()
486 if (!runtest(FUTIMESAT, dir, atim, mtim)) in runtests()
488 if (!runtest(FUTIMENS, dir, atim, mtim)) in runtests()
490 if (!runtest(UTIMENSAT, dir, atim, mtim)) in runtests()