Home
last modified time | relevance | path

Searched refs:st_mtim (Results 1 – 25 of 73) sorted by relevance

123

/freebsd/bin/ls/
H A Dcmp.c76 if (b->fts_statp->st_mtim.tv_sec > in modcmp()
77 a->fts_statp->st_mtim.tv_sec) in modcmp()
79 if (b->fts_statp->st_mtim.tv_sec < in modcmp()
80 a->fts_statp->st_mtim.tv_sec) in modcmp()
82 if (b->fts_statp->st_mtim.tv_nsec > in modcmp()
83 a->fts_statp->st_mtim.tv_nsec) in modcmp()
85 if (b->fts_statp->st_mtim.tv_nsec < in modcmp()
86 a->fts_statp->st_mtim.tv_nsec) in modcmp()
/freebsd/sys/sys/
H A Dstat.h112 struct timespec st_mtim; /* time of last data modification */ member
131 struct timespec st_mtim; /* time of last data modification */ member
174 struct timespec st_mtim; /* time of last data modification */ member
201 struct timespec st_mtim; /* time of last data modification */ member
220 #define st_mtime st_mtim.tv_sec
225 #define st_mtimensec st_mtim.tv_nsec
233 #define st_mtimespec st_mtim
/freebsd/sys/compat/linux/
H A Dlinux_stats.c156 tbuf.st_mtim.tv_sec = buf->st_mtim.tv_sec; in newstat_copyout()
157 tbuf.st_mtim.tv_nsec = buf->st_mtim.tv_nsec; in newstat_copyout()
231 lbuf.st_mtim.tv_sec = buf->st_mtim.tv_sec; in old_stat_copyout()
232 lbuf.st_mtim.tv_nsec = buf->st_mtim.tv_nsec; in old_stat_copyout()
531 lbuf.st_mtim.tv_sec = buf->st_mtim.tv_sec; in stat64_copyout()
532 lbuf.st_mtim.tv_nsec = buf->st_mtim.tv_nsec; in stat64_copyout()
692 tbuf.stx_mtime.tv_sec = buf->st_mtim.tv_sec; in statx_copyout()
693 tbuf.stx_mtime.tv_nsec = buf->st_mtim.tv_nsec; in statx_copyout()
/freebsd/tools/build/cross-build/include/linux/sys/
H A Dstat.h50 #define st_mtimensec st_mtim.tv_nsec
54 #define st_mtimespec st_mtim
/freebsd/crypto/openssh/openbsd-compat/regress/
H A Dutimensattest.c93 if (sb.st_mtim.tv_nsec != 45678000) in main()
94 fail("mtim.tv_nsec", 45678000, sb.st_mtim.tv_nsec); in main()
/freebsd/lib/libc/resolv/
H A Dres_state.c89 (sb.st_mtim.tv_sec != ext->conf_mtim.tv_sec || in res_check_reload()
90 sb.st_mtim.tv_nsec != ext->conf_mtim.tv_nsec)) { in res_check_reload()
/freebsd/tools/build/
H A Dfutimens.c79 tv[1].tv_sec = sb.st_mtim.tv_sec; in futimens()
80 tv[1].tv_usec = sb.st_mtim.tv_nsec / 1000; in futimens()
H A Dutimensat.c83 tv[1].tv_sec = sb.st_mtim.tv_sec; in utimensat()
84 tv[1].tv_usec = sb.st_mtim.tv_nsec / 1000; in utimensat()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32.h177 struct timespec32 st_mtim; /* time of last data modification */ member
229 struct timespec32 st_mtim; member
254 struct timespec32 st_mtim; member
277 struct timespec32 st_mtim; member
/freebsd/sys/i386/linux/
H A Dlinux.h167 struct l_timespec st_mtim; member
184 struct l_timespec st_mtim; member
206 struct l_timespec st_mtim; member
/freebsd/tests/sys/fs/fusefs/
H A Dgetattr.cc237 EXPECT_EQ(4, sb.st_mtim.tv_sec); in TEST_F()
238 EXPECT_EQ(7, sb.st_mtim.tv_nsec); in TEST_F()
354 EXPECT_EQ(4, sb.st_mtim.tv_sec); in TEST_F()
355 EXPECT_EQ(7, sb.st_mtim.tv_nsec); in TEST_F()
H A Dread.cc376 EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2.st_mtim, ==)); in TEST_F()
412 EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2.st_mtim, ==)); in TEST_F()
874 EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2.st_mtim, ==)); in TEST_F()
912 EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2.st_mtim, ==)); in TEST_F()
/freebsd/sys/amd64/linux32/
H A Dlinux.h195 struct l_timespec st_mtim; member
212 struct l_timespec st_mtim; member
234 struct l_timespec st_mtim; member
/freebsd/lib/libutil/
H A Dpw_util.c344 return (st1.st_mtim.tv_sec != st2.st_mtim.tv_sec || in pw_edit()
345 st1.st_mtim.tv_nsec != st2.st_mtim.tv_nsec); in pw_edit()
/freebsd/tools/build/cross-build/include/mac/sys/
H A Dstat.h44 #define st_mtim st_mtimespec macro
/freebsd/contrib/elftoolchain/libelftc/
H A Delftc_set_timestamps.c48 #define MTIME st_mtim
/freebsd/stand/kboot/kboot/
H A Dhostfs.c175 sb->st_mtim.tv_sec = ksb.st_mtime_sec; in hostfs_stat()
176 sb->st_mtim.tv_nsec = ksb.st_mtime_nsec; in hostfs_stat()
/freebsd/contrib/libarchive/tar/
H A Dbsdtar_platform.h77 #define ARCHIVE_STAT_MTIME_NANOS(st) (st)->st_mtim.tv_nsec
/freebsd/usr.bin/touch/
H A Dtouch.c197 ts[1] = sb.st_mtim; in main()
396 tsp[1] = sb.st_mtim; in stime_file()
/freebsd/bin/date/
H A Ddate.c137 ts.tv_sec = sb.st_mtim.tv_sec; in main()
138 ts.tv_nsec = sb.st_mtim.tv_nsec; in main()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_entry_stat.c91 st->st_mtim.tv_nsec = archive_entry_mtime_nsec(entry); in archive_entry_stat()
H A Darchive_entry_copy_stat.c45 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtim.tv_nsec); in archive_entry_copy_stat()
/freebsd/sys/arm64/linux/
H A Dlinux.h143 struct l_timespec st_mtim; member
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dtime_utils.h58 TimeSpec st_mtim; member
298 inline TimeSpec extract_mtime(StatT const& st) { return st.st_mtim; }
/freebsd/contrib/nvi/common/
H A Dexf.c205 ep->mtim = sb.st_mtim; in file_init()
231 ep->mtim = sb.st_mtim; in file_init()
816 timespeccmp(&sb.st_mtim, &ep->mtim, !=))) {
921 ep->mtim = sb.st_mtim;

123