Home
last modified time | relevance | path

Searched refs:atime (Results 1 – 25 of 154) sorted by relevance

1234567

/freebsd/crypto/openssl/test/
H A Dasn1_time_test.c113 ASN1_TIME atime; in test_table() local
118 atime.data = (unsigned char*)td->data; in test_table()
119 atime.length = strlen((char*)atime.data); in test_table()
120 atime.type = td->type; in test_table()
121 atime.flags = 0; in test_table()
123 if (!TEST_int_eq(ASN1_TIME_check(&atime), td->check_result)) { in test_table()
130 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(&atime, td->t), 0)) { in test_table()
135 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &atime, &atime))) { in test_table()
144 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &gtime, &atime))) { in test_table()
236 ptime = ASN1_TIME_to_generalizedtime(&atime, NULL); in test_table()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/atime/
H A Datime_common.kshlib31 . $STF_SUITE/tests/functional/atime/atime.cfg
90 zfs inherit atime $TESTPOOL
91 zfs inherit atime $TESTPOOL/$TESTFS
92 zfs inherit atime $TESTPOOL/$TESTCLONE
H A Datime_002_neg.ksh32 . $STF_SUITE/tests/functional/atime/atime_common.kshlib
65 log_must zfs set atime=off $dst
H A Droot_atime_off.ksh33 . $STF_SUITE/tests/functional/atime/atime_common.kshlib
68 log_must zfs set atime=off $(dirname $dst)
H A Datime_001_pos.ksh32 . $STF_SUITE/tests/functional/atime/atime_common.kshlib
65 log_must zfs set atime=on $dst
H A Datime_003_pos.ksh28 . $STF_SUITE/tests/functional/atime/atime_common.kshlib
63 log_must zfs set atime=on $dst
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_get/
H A Dzfs_get_003_pos.ksh58 log_must $ZFS mount -o update,atime $TESTPOOL/$TESTFS
64 log_must $ZFS set atime=on $TESTPOOL/$TESTFS
67 value1=$($ZFS get -H atime $TESTPOOL/$TESTFS | $AWK '{print $3}')
69 $GREP ^atime | $AWK '{print $2}')
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_003_pos.ksh49 log_must zfs mount -o remount,atime $TESTPOOL/$TESTFS
55 log_must zfs set atime=on $TESTPOOL/$TESTFS
58 read -r _ _ value1 _ < <(zfs get -H atime $TESTPOOL/$TESTFS)
59 read -r _ value2 < <(zfs get -H all $TESTPOOL/$TESTFS | cut -f2,3 | grep ^atime)
/freebsd/tests/sys/cddl/zfs/tests/atime/
H A Datime_test.sh37 . $(atf_get_srcdir)/atime.cfg
47 . $(atf_get_srcdir)/atime.cfg
63 . $(atf_get_srcdir)/atime.cfg
73 . $(atf_get_srcdir)/atime.cfg
H A Datime_002_neg.ksh28 . $STF_SUITE/tests/atime/atime_common.kshlib
75 log_must $ZFS set atime=off $dst
H A Datime_001_pos.ksh28 . $STF_SUITE/tests/atime/atime_common.kshlib
75 log_must $ZFS set atime=on $dst
H A DMakefile5 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/atime
8 ${PACKAGE}FILES+= atime.cfg
/freebsd/contrib/pjdfstest/tests/utimensat/
H A D05.t34 expect $DATE1 lstat ${n0} atime
36 expect $DATE3 lstat ${n2} atime
40 expect $DATE5 lstat ${n0} atime
46 test_check "$DATE5" -ne `"$fstest" lstat ${n2} atime`
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_mtime.ksh70 atime=$(stat -c %X $TESTDIR/clone/file)
74 atime=$(stat -f "%a" $TESTDIR/clone/file)
78 atime=$(ls -E% all $TESTDIR/clone/file | awk '/atime/ {print $4}')
83 [[ $o_atime = $atime ]] || log_fail "atime changed: $o_atime $atime"
/freebsd/usr.bin/write/
H A Dwrite.c71 time_t atime; in main() local
146 if (term_chk(devfd, mytty, &msgsok, &atime, 1)) in main()
162 if (term_chk(devfd, argv[1], &msgsok, &atime, 1)) in main()
217 time_t bestatime, atime; in search_utmp() local
228 if (term_chk(devfd, u->ut_line, &msgsok, &atime, 0)) in search_utmp()
237 if (atime > bestatime) { in search_utmp()
238 bestatime = atime; in search_utmp()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_002_pos.ksh77 atime on atime off
105 atime on atime off
133 atime on atime off
/freebsd/contrib/pjdfstest/tests/mknod/
H A D11.t66 atime=`${fstest} stat ${n0} atime`
67 test_check $time -lt $atime
H A D00.t61 atime=`${fstest} stat ${n0} atime`
62 test_check $time -lt $atime
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_012_neg.ksh60 recordsize mountpoint checksum compression canmount atime \
66 recordsize mountpoint checksum compression canmount atime \
72 recordsize mountpoint checksum compression canmount atime \
H A Dzfs_allow_010_pos.ksh77 atime true false \
114 atime true false \
146 atime true false \
/freebsd/crypto/openssh/
H A Dsftp-common.c62 a->atime = 0; in attrib_clear()
80 a->atime = st->st_atime; in stat_to_attrib()
99 st->st_atime = a->atime; in attrib_to_stat()
127 if ((r = sshbuf_get_u32(b, &a->atime)) != 0 || in decode_attrib()
177 if ((r = sshbuf_put_u32(b, a->atime)) != 0 || in encode_attrib()
/freebsd/contrib/pjdfstest/tests/mkdir/
H A D00.t61 atime=`${fstest} stat ${n0} atime`
62 test_check $time -lt $atime
/freebsd/contrib/pjdfstest/tests/mkfifo/
H A D00.t61 atime=`${fstest} stat ${n0} atime`
62 test_check $time -lt $atime
/freebsd/sys/fs/smbfs/
H A Dsmbfs_subr.h139 struct timespec *atime, int attr, struct smb_cred *scred);
141 struct timespec *mtime, struct timespec *atime, struct smb_cred *scred);
144 struct timespec *atime, struct smb_cred *scred);
146 struct timespec *mtime, struct timespec *atime, struct smb_cred *scred);
/freebsd/bin/pax/
H A Dtables.c937 set_ftime(pt->name, pt->mtime, pt->atime, 1); in atdir_end()
948 add_atdir(char *fname, dev_t dev, ino_t ino, time_t mtime, time_t atime) in add_atdir() argument
986 pt->atime = atime; in add_atdir()
1010 get_atdir(dev_t dev, ino_t ino, time_t *mtime, time_t *atime) in get_atdir() argument
1047 *atime = pt->atime; in get_atdir()
1140 dblk.atime = psb->st_atime; in add_dir()
1193 set_ftime(name, dblk.mtime, dblk.atime, 0); in proc_dir()

1234567