Home
last modified time | relevance | path

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

1234

/linux-6.15/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-6.15/drivers/iio/light/
H A Dtcs3472.c65 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.15/fs/hostfs/
H A Dhostfs_user.c29 p->atime.tv_sec = buf->stx_atime.tv_sec; in statx_to_hostfs()
30 p->atime.tv_nsec = buf->stx_atime.tv_nsec; in statx_to_hostfs()
255 times[0].tv_sec = st.atime.tv_sec; in set_attr()
256 times[0].tv_usec = st.atime.tv_nsec / 1000; in set_attr()
280 attrs->ia_atime = st.atime; in set_attr()
H A Dhostfs.h63 struct hostfs_timespec atime, mtime, ctime, btime; member
/linux-6.15/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
H A Dmultigrain-ts.rst47 atime:
53 atime due to a read request does not.
91 atime will always use coarse-grained timestamps.
/linux-6.15/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-6.15/fs/
H A Dstat.c96 stat->atime = inode_get_atime(inode); in generic_fillattr()
415 tmp.st_atime = stat->atime.tv_sec; in cp_old_stat()
492 tmp.st_atime = stat->atime.tv_sec; in cp_new_stat()
496 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_new_stat()
639 tmp.st_atime = stat->atime.tv_sec; in cp_new_stat64()
640 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_new_stat64()
719 tmp.stx_atime.tv_sec = stat->atime.tv_sec; in cp_statx()
720 tmp.stx_atime.tv_nsec = stat->atime.tv_nsec; in cp_statx()
845 tmp.st_atime = stat->atime.tv_sec; in cp_compat_stat()
846 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_compat_stat()
H A Dinode.c1963 struct timespec64 atime, mtime, ctime; in relatime_need_update() local
1970 atime = inode_get_atime(inode); in relatime_need_update()
1972 if (timespec64_compare(&mtime, &atime) >= 0) in relatime_need_update()
1978 if (timespec64_compare(&ctime, &atime) >= 0) in relatime_need_update()
1985 if ((long)(now.tv_sec - atime.tv_sec) >= 24*60*60) in relatime_need_update()
2032 struct timespec64 atime = inode_get_atime(inode); in inode_update_timestamps() local
2034 if (!timespec64_equal(&now, &atime)) { in inode_update_timestamps()
2094 struct timespec64 now, atime; in atime_needs_update() local
2120 atime = inode_get_atime(inode); in atime_needs_update()
2121 if (timespec64_equal(&atime, &now)) in atime_needs_update()
/linux-6.15/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-6.15/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-6.15/fs/gfs2/
H A Dglops.c392 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.15/include/linux/
H A Dstat.h47 struct timespec64 atime; member
/linux-6.15/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-6.15/fs/ceph/
H A Dinode.c860 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()
2637 struct timespec64 atime = inode_get_atime(inode); in __ceph_setattr() local
2641 atime.tv_sec, atime.tv_nsec, in __ceph_setattr()
[all …]
/linux-6.15/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-6.15/include/uapi/linux/
H A Dfuse.h282 uint64_t atime; member
320 struct fuse_sx_time atime; member
772 uint64_t atime; member
H A Djffs2.h147 jint32_t atime; /* Last access time. */ member
/linux-6.15/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.c165 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.15/Documentation/admin-guide/laptops/
H A Dlaptop-mode.rst452 # 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.15/fs/nilfs2/
H A DKconfig23 Some features including atime, extended attributes, and POSIX ACLs,
/linux-6.15/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-6.15/fs/nfs/
H A Dcallback.h57 struct timespec64 atime; member

1234