Home
last modified time | relevance | path

Searched refs:st_mtimespec (Results 1 – 25 of 67) sorted by relevance

123

/netbsd-src/sys/compat/aoutm68k/
H A Daoutm68k_stat.c251 ast->st_mtimespec.tv_sec = st->st_mtimespec.tv_sec; in aoutm68k_stat43_convert()
252 ast->st_mtimespec.tv_nsec = st->st_mtimespec.tv_nsec; in aoutm68k_stat43_convert()
277 ast->st_mtimespec.tv_sec = st->st_mtimespec.tv_sec; in aoutm68k_stat12_convert()
278 ast->st_mtimespec.tv_nsec = st->st_mtimespec.tv_nsec; in aoutm68k_stat12_convert()
306 ast->st_mtimespec.tv_sec = st->st_mtimespec.tv_sec; in aoutm68k_stat13_convert()
307 ast->st_mtimespec.tv_nsec = st->st_mtimespec.tv_nsec; in aoutm68k_stat13_convert()
H A Daoutm68k_stat.h52 struct timespec50 st_mtimespec;/* time of last data modification */ member
71 struct timespec50 st_mtimespec;/* time of last data modification */ member
92 struct timespec50 st_mtimespec;/* time of last data modification */ member
/netbsd-src/tests/lib/libc/c063/
H A Dt_utimensat.c76 ATF_CHECK_EQ_MSG(st->st_mtimespec.tv_sec, tptr[1].tv_sec, in ATF_TC_BODY()
77 "st->st_mtimespec.tv_sec=%lld tptr[1].tv_sec=%lld", in ATF_TC_BODY()
78 (long long)st->st_mtimespec.tv_sec, (long long)tptr[1].tv_sec); in ATF_TC_BODY()
79 ATF_CHECK_EQ_MSG(st->st_mtimespec.tv_nsec, tptr[1].tv_nsec, in ATF_TC_BODY()
80 "st->st_mtimespec.tv_nsec=%ld tptr[1].tv_nsec=%ld", in ATF_TC_BODY()
81 (long)st->st_mtimespec.tv_nsec, (long)tptr[1].tv_nsec); in ATF_TC_BODY()
/netbsd-src/lib/libc/compat/sys/
H A Dcompat_stat.c81 ost->st_mtimespec.tv_sec = (int32_t)st->st_mtimespec.tv_sec; in __strong_alias()
82 ost->st_mtimespec.tv_nsec = st->st_mtimespec.tv_nsec; in __strong_alias()
H A Dcompat___stat13.c85 ost->st_mtimespec.tv_sec = (int32_t)st->st_mtimespec.tv_sec; in cvtstat()
86 ost->st_mtimespec.tv_nsec = st->st_mtimespec.tv_nsec; in cvtstat()
H A Dcompat___stat30.c85 timespec_to_timespec50(&st->st_mtimespec, &ost->st_mtimespec); in cvtstat()
/netbsd-src/sys/compat/sys/
H A Dstat.h55 struct timespec50 st_mtimespec;/* time of last data modification */ member
73 struct timespec50 st_mtimespec;/* time of last data modification */ member
108 struct timespec50 st_mtimespec;/* time of last data modification */ member
150 struct timespec50 st_mtimespec;/* time of last data modification */ member
/netbsd-src/sys/compat/netbsd32/
H A Dnetbsd32_compat_12.c79 sp32->st_mtimespec.tv_sec = sp12->st_mtimespec.tv_sec; in netbsd32_stat12_to_netbsd32()
80 sp32->st_mtimespec.tv_nsec = sp12->st_mtimespec.tv_nsec; in netbsd32_stat12_to_netbsd32()
H A Dnetbsd32_conv.h495 sb32p->st_mtimespec.tv_sec = (int32_t)sbp->st_mtimespec.tv_sec; in netbsd32_from___stat13()
496 sb32p->st_mtimespec.tv_nsec = (netbsd32_long)sbp->st_mtimespec.tv_nsec; in netbsd32_from___stat13()
522 sb32p->st_mtimespec.tv_sec = (int32_t)sbp->st_mtimespec.tv_sec; in netbsd32_from___stat50()
523 sb32p->st_mtimespec.tv_nsec = (netbsd32_long)sbp->st_mtimespec.tv_nsec; in netbsd32_from___stat50()
549 sb32p->st_mtimespec.tv_sec = (netbsd32_time_t)sbp->st_mtimespec.tv_sec; in netbsd32_from_stat()
550 sb32p->st_mtimespec.tv_nsec = (netbsd32_long)sbp->st_mtimespec.tv_nsec; in netbsd32_from_stat()
H A Dnetbsd32_compat_43.c91 sp32->st_mtimespec.tv_sec = sb->st_mtimespec.tv_sec; in netbsd32_from_stat()
92 sp32->st_mtimespec.tv_nsec = sb->st_mtimespec.tv_nsec; in netbsd32_from_stat()
H A Dnetbsd32.h790 struct netbsd32_timespec50 st_mtimespec;/* time of last data modification */ member
812 struct netbsd32_timespec50 st_mtimespec;/* time of last data modification */ member
829 struct netbsd32_timespec50 st_mtimespec;/* time of last data modification */ member
851 struct netbsd32_timespec50 st_mtimespec;/* time of last data modification */ member
872 struct netbsd32_timespec st_mtimespec;/* time of last data modification */ member
/netbsd-src/usr.bin/who/
H A Dutmpentry.c128 if (timespeccmp(&st.st_mtimespec, &utmpxtime, >)) in setup()
129 utmpxtime = st.st_mtimespec; in setup()
142 if (timespeccmp(&st.st_mtimespec, &utmptime, >)) in setup()
143 utmptime = st.st_mtimespec; in setup()
/netbsd-src/usr.sbin/mtree/
H A Dcompare.c335 time_t smtime = s->st_mtimespec.tv_sec; in compare()
338 time_t pmtime = ps->st_mtimespec.tv_sec; in compare()
340 TIMESPEC_TO_TIMEVAL(&tv[0], &s->st_mtimespec); in compare()
341 TIMESPEC_TO_TIMEVAL(&tv[1], &ps->st_mtimespec); in compare()
H A Dspec.c380 (intmax_t)cur->st_mtimespec.tv_sec, in dump_nodes()
381 cur->st_mtimespec.tv_nsec); in dump_nodes()
515 REPLACE(st_mtimespec); in replacenode()
648 ip->st_mtimespec.tv_sec = in set()
653 ip->st_mtimespec.tv_nsec = strtol(val, &ep, 10); in set()
/netbsd-src/bin/ls/
H A Dcmp.c64 ((x)->st_mtimespec.tv_nsec op (y)->st_mtimespec.tv_nsec)
/netbsd-src/usr.bin/touch/
H A Dtouch.c204 ts[1] = sb.st_mtimespec; in main()
208 timespeccmp(&ts[1], &sb.st_mtimespec, ==)) in main()
359 tsp[1] = sb.st_mtimespec; in stime_file()
/netbsd-src/usr.sbin/makefs/
H A Dwalk.c667 (long)specnode->st_mtimespec.tv_sec);
668 dirnode->inode->st.st_mtime = specnode->st_mtimespec.tv_sec; in dump_fsnodes()
669 dirnode->inode->st.st_atime = specnode->st_mtimespec.tv_sec; in dump_fsnodes()
672 dirnode->inode->st.st_mtimensec = specnode->st_mtimespec.tv_nsec; in dump_fsnodes()
673 dirnode->inode->st.st_atimensec = specnode->st_mtimespec.tv_nsec; in dump_fsnodes()
/netbsd-src/sys/compat/common/
H A Dvfs_syscalls_50.c103 timespec_to_timespec50(&st->st_mtimespec, &ost->st_mtimespec); in cvtstat()
H A Dvfs_syscalls_12.c97 timespec_to_timespec50(&st->st_mtimespec, &ost->st_mtimespec); in compat_12_stat_conv()
H A Dvfs_syscalls_43.c137 cvttimespec(&ost->st_mtimespec, &st->st_mtimespec); in cvtstat()
H A Dvfs_syscalls_30.c96 timespec_to_timespec50(&st->st_mtimespec, &ost->st_mtimespec); in cvtstat()
/netbsd-src/bin/rcp/
H A Drcp.c374 (long long)stb.st_mtimespec.tv_sec, in source()
375 (long)stb.st_mtimespec.tv_nsec / 1000, in source()
447 (long long)statp->st_mtimespec.tv_sec, in rsource()
448 (long)statp->st_mtimespec.tv_nsec / 1000, in rsource()
/netbsd-src/bin/mv/
H A Dmv.c330 ts[1] = sbp->st_mtimespec; in fastcopy()
333 TIMESPEC_TO_TIMEVAL(&tval[1], &sbp->st_mtimespec); in fastcopy()
/netbsd-src/tests/fs/vfs/
H A Dt_vnops.c140 TIME(st_mtimespec); in lookup_complex()
765 sb.st_mtimespec.tv_sec = 1000000002; in attrs()
766 sb.st_mtimespec.tv_nsec = 3000; in attrs()
779 CHECK(st_mtimespec.tv_sec); in attrs()
783 CHECK(st_mtimespec.tv_nsec); in attrs()
/netbsd-src/sys/rump/kern/lib/libsys_sunos/
H A Drump_sunos_compat.c123 ssb->st_mtim = sb->st_mtimespec; in bsd_to_sunos_stat()
127 timespec_to_timespec50(&sb->st_mtimespec, &ssb->st_mtim); in bsd_to_sunos_stat()

123