/linux-6.12.1/fs/ubifs/ |
D | Kconfig | 56 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-6.12.1/drivers/iio/light/ |
D | tcs3472.c | 65 u8 atime; member 171 *val2 = (256 - data->atime) * 2400; in tcs3472_read_raw() 203 data->atime = i; in tcs3472_write_raw() 206 data->atime); in tcs3472_write_raw() 241 period = (256 - data->atime) * 2400 * in tcs3472_read_event() 294 if (period <= (256 - data->atime) * 2400 * in tcs3472_write_event() 484 data->atime = ret; in tcs3472_probe()
|
/linux-6.12.1/fs/hostfs/ |
D | hostfs_user.c | 29 p->atime.tv_sec = buf->st_atime; in stat64_to_hostfs() 30 p->atime.tv_nsec = 0; in stat64_to_hostfs() 246 times[0].tv_sec = st.atime.tv_sec; in set_attr() 247 times[0].tv_usec = st.atime.tv_nsec / 1000; in set_attr() 271 attrs->ia_atime = st.atime; in set_attr()
|
D | hostfs.h | 63 struct hostfs_timespec atime, mtime, ctime; member
|
/linux-6.12.1/fs/ |
D | stat.c | 60 stat->atime = inode_get_atime(inode); in generic_fillattr() 384 tmp.st_atime = stat->atime.tv_sec; in cp_old_stat() 461 tmp.st_atime = stat->atime.tv_sec; in cp_new_stat() 465 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_new_stat() 608 tmp.st_atime = stat->atime.tv_sec; in cp_new_stat64() 609 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_new_stat64() 688 tmp.stx_atime.tv_sec = stat->atime.tv_sec; in cp_statx() 689 tmp.stx_atime.tv_nsec = stat->atime.tv_nsec; in cp_statx() 826 tmp.st_atime = stat->atime.tv_sec; in cp_compat_stat() 827 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_compat_stat()
|
D | inode.c | 1942 struct timespec64 atime, mtime, ctime; in relatime_need_update() local 1949 atime = inode_get_atime(inode); in relatime_need_update() 1951 if (timespec64_compare(&mtime, &atime) >= 0) in relatime_need_update() 1957 if (timespec64_compare(&ctime, &atime) >= 0) in relatime_need_update() 1964 if ((long)(now.tv_sec - atime.tv_sec) >= 24*60*60) in relatime_need_update() 2011 struct timespec64 atime = inode_get_atime(inode); in inode_update_timestamps() local 2013 if (!timespec64_equal(&now, &atime)) { in inode_update_timestamps() 2073 struct timespec64 now, atime; in atime_needs_update() local 2099 atime = inode_get_atime(inode); in atime_needs_update() 2100 if (timespec64_equal(&atime, &now)) in atime_needs_update()
|
/linux-6.12.1/Documentation/filesystems/ |
D | ocfs2.rst | 60 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
|
D | virtiofs.rst | 48 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-6.12.1/fs/exfat/ |
D | misc.c | 131 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-6.12.1/include/linux/ceph/ |
D | ceph_fs.h | 422 struct ceph_timespec atime; member 481 struct ceph_timespec atime; member 592 struct ceph_timespec ctime, mtime, atime; member 804 struct ceph_timespec mtime, atime, ctime; member 862 struct ceph_timespec mtime, atime; member
|
/linux-6.12.1/fs/gfs2/ |
D | glops.c | 392 struct timespec64 atime, iatime; in gfs2_dinode_in() local 424 atime.tv_sec = be64_to_cpu(str->di_atime); in gfs2_dinode_in() 425 atime.tv_nsec = be32_to_cpu(str->di_atime_nsec); in gfs2_dinode_in() 427 if (timespec64_compare(&iatime, &atime) < 0) in gfs2_dinode_in() 428 inode_set_atime_to_ts(inode, atime); in gfs2_dinode_in()
|
/linux-6.12.1/drivers/md/ |
D | dm-zoned-reclaim.c | 29 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-6.12.1/include/linux/ |
D | stat.h | 47 struct timespec64 atime; member
|
/linux-6.12.1/arch/x86/kernel/ |
D | sys_ia32.c | 149 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-6.12.1/fs/ceph/ |
D | inode.c | 831 struct timespec64 *mtime, struct timespec64 *atime) in ceph_fill_file_time() argument 860 inode_set_atime_to_ts(inode, *atime); in ceph_fill_file_time() 874 if (timespec64_compare(atime, &ts) > 0) { in ceph_fill_file_time() 877 atime->tv_sec, atime->tv_nsec); in ceph_fill_file_time() 878 inode_set_atime_to_ts(inode, *atime); in ceph_fill_file_time() 890 inode_set_atime_to_ts(inode, *atime); in ceph_fill_file_time() 950 struct timespec64 mtime, atime, ctime; in ceph_fill_inode() local 1084 ceph_decode_timespec64(&atime, &info->atime); in ceph_fill_inode() 1089 &ctime, &mtime, &atime); in ceph_fill_inode() 2632 struct timespec64 atime = inode_get_atime(inode); in __ceph_setattr() local [all …]
|
/linux-6.12.1/arch/sparc/kernel/ |
D | sys_sparc32.c | 82 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-6.12.1/include/uapi/linux/ |
D | fuse.h | 270 uint64_t atime; member 308 struct fuse_sx_time atime; member 756 uint64_t atime; member
|
D | jffs2.h | 147 jint32_t atime; /* Last access time. */ member
|
/linux-6.12.1/Documentation/admin-guide/laptops/ |
D | laptop-mode.rst | 452 # Find out the state of a yes/no option (e.g. "atime"/"noatime") in 459 # parse_yesno_opts_wfstab /dev/hda1 atime atime defaults,noatime 462 # will be "defaults,atime". 471 # Watch for a default atime in fstab 645 # Reset commit and atime options to defaults. 652 PARSEDOPTS="$(parse_yesno_opts_wfstab $DEV atime atime $PARSEDOPTS)" 656 PARSEDOPTS="$(parse_yesno_opts_wfstab $DEV atime atime $OPTS)"
|
/linux-6.12.1/fs/jffs2/ |
D | fs.c | 116 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()
|
D | file.c | 165 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_begin() 290 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_end()
|
/linux-6.12.1/fs/nilfs2/ |
D | Kconfig | 23 Some features including atime, extended attributes, and POSIX ACLs,
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_xdp_noinline.c | 152 __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-6.12.1/fs/xfs/libxfs/ |
D | xfs_rtbitmap.c | 973 struct timespec64 atime; in xfs_rtfree_extent() local 1002 atime = inode_get_atime(VFS_I(mp->m_rbmip)); in xfs_rtfree_extent() 1003 atime.tv_sec = 0; in xfs_rtfree_extent() 1004 inode_set_atime_to_ts(VFS_I(mp->m_rbmip), atime); in xfs_rtfree_extent()
|
/linux-6.12.1/fs/nfs/ |
D | callback.h | 57 struct timespec64 atime; member
|