Home
last modified time | relevance | path

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

1234

/freebsd-13-stable/bin/ls/
HDcmp.c82 if (b->fts_statp->st_mtim.tv_sec > in modcmp()
83 a->fts_statp->st_mtim.tv_sec) in modcmp()
85 if (b->fts_statp->st_mtim.tv_sec < in modcmp()
86 a->fts_statp->st_mtim.tv_sec) in modcmp()
88 if (b->fts_statp->st_mtim.tv_nsec > in modcmp()
89 a->fts_statp->st_mtim.tv_nsec) in modcmp()
91 if (b->fts_statp->st_mtim.tv_nsec < in modcmp()
92 a->fts_statp->st_mtim.tv_nsec) in modcmp()
/freebsd-13-stable/sys/sys/
HDstat.h114 struct timespec st_mtim; /* time of last data modification */ member
133 struct timespec st_mtim; /* time of last data modification */ member
176 struct timespec st_mtim; /* time of last data modification */ member
203 struct timespec st_mtim; /* time of last data modification */ member
222 #define st_mtime st_mtim.tv_sec
227 #define st_mtimensec st_mtim.tv_nsec
235 #define st_mtimespec st_mtim
/freebsd-13-stable/sys/compat/linux/
HDlinux_stats.c157 tbuf.st_mtim.tv_sec = buf->st_mtim.tv_sec; in newstat_copyout()
158 tbuf.st_mtim.tv_nsec = buf->st_mtim.tv_nsec; in newstat_copyout()
246 lbuf.st_mtim.tv_sec = buf->st_mtim.tv_sec; in old_stat_copyout()
247 lbuf.st_mtim.tv_nsec = buf->st_mtim.tv_nsec; in old_stat_copyout()
551 lbuf.st_mtim.tv_sec = buf->st_mtim.tv_sec; in stat64_copyout()
552 lbuf.st_mtim.tv_nsec = buf->st_mtim.tv_nsec; in stat64_copyout()
751 tbuf.stx_mtime.tv_sec = buf->st_mtim.tv_sec; in statx_copyout()
752 tbuf.stx_mtime.tv_nsec = buf->st_mtim.tv_nsec; in statx_copyout()
/freebsd-13-stable/tools/build/cross-build/include/linux/sys/
HDstat.h50 #define st_mtimensec st_mtim.tv_nsec
54 #define st_mtimespec st_mtim
/freebsd-13-stable/bin/test/
HDtest.c602 if (b1.st_mtim.tv_sec > b2.st_mtim.tv_sec) in newerf()
604 if (b1.st_mtim.tv_sec < b2.st_mtim.tv_sec) in newerf()
607 return (b1.st_mtim.tv_nsec > b2.st_mtim.tv_nsec); in newerf()
/freebsd-13-stable/crypto/openssh/openbsd-compat/regress/
HDutimensattest.c93 if (sb.st_mtim.tv_nsec != 45678000) in main()
94 fail("mtim.tv_nsec", 45678000, sb.st_mtim.tv_nsec); in main()
/freebsd-13-stable/lib/libc/resolv/
HDres_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-13-stable/tools/build/
HDfutimens.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()
HDutimensat.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-13-stable/lib/libc/sys/
HDcompat-ino64.h54 sb->st_mtim = sb11->st_mtim; in __stat11_to_stat()
/freebsd-13-stable/sys/i386/linux/
HDlinux.h165 struct l_timespec st_mtim; member
182 struct l_timespec st_mtim; member
204 struct l_timespec st_mtim; member
/freebsd-13-stable/tests/sys/fs/fusefs/
HDgetattr.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()
HDread.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-13-stable/usr.sbin/fmtree/
HDcompare.c183 ((s->st_mtimespec.tv_sec != p->fts_statp->st_mtim.tv_sec) || in compare()
184 (s->st_mtimespec.tv_nsec != p->fts_statp->st_mtim.tv_nsec))) { in compare()
189 ctime(&p->fts_statp->st_mtim.tv_sec)); in compare()
/freebsd-13-stable/sys/compat/freebsd32/
HDfreebsd32.h181 struct timespec32 st_mtim; member
206 struct timespec32 st_mtim; member
229 struct timespec32 st_mtim; member
/freebsd-13-stable/lib/libutil/
HDpw_util.c346 return (st1.st_mtim.tv_sec != st2.st_mtim.tv_sec || in pw_edit()
347 st1.st_mtim.tv_nsec != st2.st_mtim.tv_nsec); in pw_edit()
/freebsd-13-stable/tools/build/cross-build/include/mac/sys/
HDstat.h44 #define st_mtim st_mtimespec macro
/freebsd-13-stable/sys/amd64/linux32/
HDlinux.h191 struct l_timespec st_mtim; member
208 struct l_timespec st_mtim; member
230 struct l_timespec st_mtim; member
/freebsd-13-stable/contrib/elftoolchain/libelftc/
HDelftc_set_timestamps.c48 #define MTIME st_mtim
/freebsd-13-stable/stand/kboot/
HDhostfs.c168 sb->st_mtim.tv_sec = ksb.st_mtime_sec; in hostfs_stat()
169 sb->st_mtim.tv_nsec = ksb.st_mtime_nsec; in hostfs_stat()
/freebsd-13-stable/contrib/libarchive/tar/
HDbsdtar_platform.h77 #define ARCHIVE_STAT_MTIME_NANOS(st) (st)->st_mtim.tv_nsec
/freebsd-13-stable/sys/compat/cloudabi/
HDcloudabi_file.c548 cloudabi_convert_timespec(&sb->st_mtim, &res.st_mtim); in convert_stat()
601 ts[1].tv_sec = fs->st_mtim / 1000000000; in convert_utimens_arguments()
602 ts[1].tv_nsec = fs->st_mtim % 1000000000; in convert_utimens_arguments()
/freebsd-13-stable/usr.bin/touch/
HDtouch.c208 ts[1] = sb.st_mtim; in main()
407 tsp[1] = sb.st_mtim; in stime_file()
/freebsd-13-stable/sys/contrib/cloudabi/
HDcloudabi_types_common.h405 _Alignas(8) cloudabi_timestamp_t st_mtim;
414 _Static_assert(offsetof(cloudabi_filestat_t, st_mtim) == 40, "Incorrect layout");
/freebsd-13-stable/contrib/libarchive/libarchive/
HDarchive_entry_stat.c91 st->st_mtim.tv_nsec = archive_entry_mtime_nsec(entry); in archive_entry_stat()

1234