Home
last modified time | relevance | path

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

123

/linux/fs/ubifs/
H A DKconfig56 Originally UBIFS did not support atime, because it looked like a bad idea due
57 increased flash wear. This option adds atime support and it is disabled by default
58 to preserve the old behavior. If you enable this option, UBIFS starts updating atime,
59 which means that file-system read operations will cause writes (inode atime
61 so be careful. How often atime is updated depends on the selected strategy:
/linux/Documentation/filesystems/
H A Docfs2.rst60 relatime(*) Update atime if the previous atime is older than
62 strictatime Always update atime, but the minimum update interval
64 atime_quantum=60(*) OCFS2 will not update atime unless this number
66 Set to zero to always update atime. This option need
H A Dvirtiofs.rst48 atime behavior
51 The atime-related mount options, for example, noatime, strictatime,
52 are ignored. The atime behavior for virtiofs is the same as the
/linux/fs/exfat/
H A Dmisc.c131 struct timespec64 atime = inode_get_atime(inode); in exfat_truncate_inode_atime() local
133 exfat_truncate_atime(&atime); in exfat_truncate_inode_atime()
134 inode_set_atime_to_ts(inode, atime); in exfat_truncate_inode_atime()
/linux/fs/
H A Dstat.c96 stat->atime = inode_get_atime(inode); in generic_fillattr()
418 tmp.st_atime = stat->atime.tv_sec; in cp_old_stat()
496 tmp.st_atime = stat->atime.tv_sec; in cp_new_stat()
500 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_new_stat()
647 tmp.st_atime = stat->atime.tv_sec; in cp_new_stat64()
648 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_new_stat64()
727 tmp.stx_atime.tv_sec = stat->atime.tv_sec; in cp_statx()
728 tmp.stx_atime.tv_nsec = stat->atime.tv_nsec; in cp_statx()
854 tmp.st_atime = stat->atime.tv_sec; in cp_compat_stat()
855 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_compat_stat()
H A Dinode.c2054 struct timespec64 atime, mtime, ctime; in relatime_need_update() local
2061 atime = inode_get_atime(inode); in relatime_need_update()
2063 if (timespec64_compare(&mtime, &atime) >= 0) in relatime_need_update()
2069 if (timespec64_compare(&ctime, &atime) >= 0) in relatime_need_update()
2076 if ((long)(now.tv_sec - atime.tv_sec) >= 24*60*60) in relatime_need_update()
2123 struct timespec64 atime = inode_get_atime(inode); in inode_update_timestamps() local
2125 if (!timespec64_equal(&now, &atime)) { in inode_update_timestamps()
2185 struct timespec64 now, atime; in atime_needs_update() local
2211 atime = inode_get_atime(inode); in atime_needs_update()
2212 if (timespec64_equal(&atime, &now)) in atime_needs_update()
/linux/include/linux/ceph/
H A Dceph_fs.h422 struct ceph_timespec atime; member
481 struct ceph_timespec atime; member
578 struct ceph_timespec ctime, mtime, atime; member
790 struct ceph_timespec mtime, atime, ctime; member
848 struct ceph_timespec mtime, atime; member
/linux/drivers/md/
H A Ddm-zoned-reclaim.c29 unsigned long atime; member
358 return time_is_before_jiffies(zrc->atime + DMZ_IDLE_PERIOD); in dmz_target_idle()
564 zrc->atime = jiffies; in dmz_ctr_reclaim()
628 zrc->atime = jiffies; in dmz_reclaim_bio_acc()
/linux/arch/x86/kernel/
H A Dsys_ia32.c149 unsafe_put_user(stat->atime.tv_sec, &ubuf->st_atime, Efault); in cp_stat64()
150 unsafe_put_user(stat->atime.tv_nsec, &ubuf->st_atime_nsec, Efault); in cp_stat64()
/linux/arch/sparc/kernel/
H A Dsys_sparc32.c82 err |= put_user(stat->atime.tv_sec, &statbuf->st_atime); in cp_compat_stat64()
83 err |= put_user(stat->atime.tv_nsec, &statbuf->st_atime_nsec); in cp_compat_stat64()
/linux/fs/jffs2/
H A Dfs.c116 ri->atime = cpu_to_je32(I_SEC((ivalid & ATTR_ATIME)?iattr->ia_atime:inode_get_atime(inode))); in jffs2_do_setattr()
150 inode_set_atime_to_ts(inode, ITIME(je32_to_cpu(ri->atime))); in jffs2_do_setattr()
285 inode_set_atime_to_ts(inode, ITIME(je32_to_cpu(latest_node.atime))); in jffs2_iget()
479 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode_get_mtime(inode))); in jffs2_new_inode()
H A Dfile.c168 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_begin()
294 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_end()
/linux/include/uapi/linux/
H A Dfuse.h290 uint64_t atime; member
328 struct fuse_sx_time atime; member
782 uint64_t atime; member
H A Djffs2.h147 jint32_t atime; /* Last access time. */ member
/linux/fs/ceph/
H A Dinode.c878 struct timespec64 *mtime, struct timespec64 *atime) in ceph_fill_file_time() argument
904 inode_set_atime_to_ts(inode, *atime); in ceph_fill_file_time()
912 if (timespec64_compare(atime, &iatime) > 0) { in ceph_fill_file_time()
913 doutc(cl, "atime %ptSp -> %ptSp inc\n", &iatime, atime); in ceph_fill_file_time()
914 inode_set_atime_to_ts(inode, *atime); in ceph_fill_file_time()
926 inode_set_atime_to_ts(inode, *atime); in ceph_fill_file_time()
986 struct timespec64 mtime, atime, ctime; in ceph_fill_inode() local
1120 ceph_decode_timespec64(&atime, &info->atime); in ceph_fill_inode()
1125 &ctime, &mtime, &atime); in ceph_fill_inode()
2693 struct timespec64 atime = inode_get_atime(inode); in __ceph_setattr() local
[all …]
/linux/fs/hostfs/
H A Dhostfs.h31 struct hostfs_timespec atime, mtime, ctime, btime; member
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_noinline.c152 __u64 atime; member
566 new_dst_lru.atime = cur_time; in get_packet_dst()
588 if (cur_time - dst_lru->atime > 300000) in connection_table_lookup()
590 dst_lru->atime = cur_time; in connection_table_lookup()
/linux/fs/nilfs2/
H A DKconfig23 Some features including atime, extended attributes, and POSIX ACLs,
/linux/tools/mm/
H A Dpage-types.c940 char atime[64], mtime[64]; in show_file() local
947 strftime(atime, sizeof(atime), "%c", localtime(&st->st_atime)); in show_file()
952 atime, now - st->st_atime); in show_file()
/linux/fs/nfs/
H A Dcallback.h57 struct timespec64 atime; member
/linux/fs/xfs/libxfs/
H A Dxfs_rtbitmap.c1065 struct timespec64 atime; in xfs_rtfree_extent() local
1099 atime = inode_get_atime(VFS_I(rbmip)); in xfs_rtfree_extent()
1100 atime.tv_sec = 0; in xfs_rtfree_extent()
1101 inode_set_atime_to_ts(VFS_I(rbmip), atime); in xfs_rtfree_extent()
/linux/arch/arm/kernel/
H A Dsys_oabi-compat.c138 tmp.st_atime = stat->atime.tv_sec; in cp_oldabi_stat64()
139 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_oldabi_stat64()
/linux/fs/orangefs/
H A Dprotocol.h230 __u64 atime; member
/linux/Documentation/filesystems/fuse/
H A Dfuse-io.rst41 (size and atime/ctime/mtime attributes are kept up-to-date by the kernel), so
/linux/include/net/9p/
H A D9p.h397 u32 atime; member

123