| /Linux-v5.4/fs/ubifs/ |
| D | Kconfig | 55 Originally UBIFS did not support atime, because it looked like a bad idea due 56 increased flash wear. This option adds atime support and it is disabled by default 57 to preserve the old behavior. If you enable this option, UBIFS starts updating atime, 58 which means that file-system read operations will cause writes (inode atime 60 so be careful. How often atime is updated depends on the selected strategy:
|
| /Linux-v5.4/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() 244 times[0].tv_sec = st.atime.tv_sec; in set_attr() 245 times[0].tv_usec = st.atime.tv_nsec / 1000; in set_attr() 269 attrs->ia_atime = st.atime; in set_attr()
|
| D | hostfs.h | 59 struct timespec atime, mtime, ctime; member
|
| /Linux-v5.4/fs/ |
| D | stat.c | 43 stat->atime = inode->i_atime; in generic_fillattr() 240 tmp.st_atime = stat->atime.tv_sec; in cp_old_stat() 324 tmp.st_atime = stat->atime.tv_sec; in cp_new_stat() 328 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_new_stat() 466 tmp.st_atime = stat->atime.tv_sec; in cp_new_stat64() 467 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_new_stat64() 544 tmp.stx_atime.tv_sec = stat->atime.tv_sec; in cp_statx() 545 tmp.stx_atime.tv_nsec = stat->atime.tv_nsec; in cp_statx() 614 tmp.st_atime = stat->atime.tv_sec; in cp_compat_stat() 615 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_compat_stat()
|
| /Linux-v5.4/drivers/iio/light/ |
| D | tcs3472.c | 65 u8 atime; member 167 *val2 = (256 - data->atime) * 2400; in tcs3472_read_raw() 199 data->atime = i; in tcs3472_write_raw() 202 data->atime); in tcs3472_write_raw() 237 period = (256 - data->atime) * 2400 * in tcs3472_read_event() 290 if (period <= (256 - data->atime) * 2400 * in tcs3472_write_event() 483 data->atime = ret; in tcs3472_probe()
|
| /Linux-v5.4/Documentation/filesystems/ |
| D | ocfs2.txt | 50 relatime(*) Update atime if the previous atime is older than 52 strictatime Always update atime, but the minimum update interval 54 atime_quantum=60(*) OCFS2 will not update atime unless this number 56 Set to zero to always update atime. This option need
|
| D | fuse-io.txt | 34 (size and atime/ctime/mtime attributes are kept up-to-date by the kernel), so
|
| /Linux-v5.4/drivers/md/ |
| D | dm-zoned-reclaim.c | 28 unsigned long atime; member 419 return time_is_before_jiffies(zrc->atime + DMZ_IDLE_PERIOD); in dmz_target_idle() 519 zrc->atime = jiffies; in dmz_ctr_reclaim() 582 zrc->atime = jiffies; in dmz_reclaim_bio_acc()
|
| /Linux-v5.4/fs/gfs2/ |
| D | glops.c | 339 struct timespec64 atime; in gfs2_dinode_in() local 360 atime.tv_sec = be64_to_cpu(str->di_atime); in gfs2_dinode_in() 361 atime.tv_nsec = be32_to_cpu(str->di_atime_nsec); in gfs2_dinode_in() 362 if (timespec64_compare(&ip->i_inode.i_atime, &atime) < 0) in gfs2_dinode_in() 363 ip->i_inode.i_atime = atime; in gfs2_dinode_in()
|
| /Linux-v5.4/include/linux/ |
| D | stat.h | 44 struct timespec64 atime; member
|
| /Linux-v5.4/include/linux/ceph/ |
| D | ceph_fs.h | 396 struct ceph_timespec atime; member 514 struct ceph_timespec ctime, mtime, atime; member 713 struct ceph_timespec mtime, atime, ctime; member 771 struct ceph_timespec mtime, atime; member
|
| /Linux-v5.4/arch/x86/ia32/ |
| D | sys_ia32.c | 88 __put_user(stat->atime.tv_sec, &ubuf->st_atime) || in cp_stat64() 89 __put_user(stat->atime.tv_nsec, &ubuf->st_atime_nsec) || in cp_stat64()
|
| /Linux-v5.4/arch/sparc/kernel/ |
| D | sys_sparc32.c | 83 err |= put_user(stat->atime.tv_sec, &statbuf->st_atime); in cp_compat_stat64() 84 err |= put_user(stat->atime.tv_nsec, &statbuf->st_atime_nsec); in cp_compat_stat64()
|
| /Linux-v5.4/fs/ceph/ |
| D | inode.c | 658 struct timespec64 *mtime, struct timespec64 *atime) in ceph_fill_file_time() argument 685 inode->i_atime = *atime; in ceph_fill_file_time() 696 if (timespec64_compare(atime, &inode->i_atime) > 0) { in ceph_fill_file_time() 700 atime->tv_sec, atime->tv_nsec); in ceph_fill_file_time() 701 inode->i_atime = *atime; in ceph_fill_file_time() 713 inode->i_atime = *atime; in ceph_fill_file_time() 739 struct timespec64 mtime, atime, ctime; in fill_inode() local 833 ceph_decode_timespec64(&atime, &info->atime); in fill_inode() 838 &ctime, &mtime, &atime); in fill_inode() 2091 ceph_encode_timespec64(&req->r_args.setattr.atime, in __ceph_setattr()
|
| /Linux-v5.4/fs/jffs2/ |
| D | fs.c | 116 ri->atime = cpu_to_je32(I_SEC((ivalid & ATTR_ATIME)?iattr->ia_atime:inode->i_atime)); in jffs2_do_setattr() 150 inode->i_atime = ITIME(je32_to_cpu(ri->atime)); in jffs2_do_setattr() 284 inode->i_atime = ITIME(je32_to_cpu(latest_node.atime)); in jffs2_iget() 478 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode->i_mtime)); in jffs2_new_inode()
|
| D | file.c | 178 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_begin() 286 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_end()
|
| /Linux-v5.4/fs/nilfs2/ |
| D | Kconfig | 21 Some features including atime, extended attributes, and POSIX ACLs,
|
| /Linux-v5.4/Documentation/admin-guide/laptops/ |
| D | laptop-mode.rst | 463 # Find out the state of a yes/no option (e.g. "atime"/"noatime") in 470 # parse_yesno_opts_wfstab /dev/hda1 atime atime defaults,noatime 473 # will be "defaults,atime". 482 # Watch for a default atime in fstab 656 # Reset commit and atime options to defaults. 663 PARSEDOPTS="$(parse_yesno_opts_wfstab $DEV atime atime $PARSEDOPTS)" 667 PARSEDOPTS="$(parse_yesno_opts_wfstab $DEV atime atime $OPTS)"
|
| /Linux-v5.4/fs/nfsd/ |
| D | nfsxdr.c | 174 *p++ = htonl((u32) stat->atime.tv_sec); in encode_fattr() 175 *p++ = htonl(stat->atime.tv_nsec ? stat->atime.tv_nsec / 1000 : 0); in encode_fattr()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | fuse.h | 222 uint64_t atime; member 566 uint64_t atime; member
|
| D | jffs2.h | 147 jint32_t atime; /* Last access time. */ member
|
| /Linux-v5.4/tools/testing/selftests/bpf/progs/ |
| D | test_xdp_noinline.c | 151 __u64 atime; member 593 new_dst_lru.atime = cur_time; in get_packet_dst() 615 if (cur_time - dst_lru->atime > 300000) in connection_table_lookup() 617 dst_lru->atime = cur_time; in connection_table_lookup()
|
| /Linux-v5.4/arch/arm/kernel/ |
| D | sys_oabi-compat.c | 132 tmp.st_atime = stat->atime.tv_sec; in cp_oldabi_stat64() 133 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_oldabi_stat64()
|
| /Linux-v5.4/tools/vm/ |
| D | page-types.c | 936 char atime[64], mtime[64]; in show_file() local 943 strftime(atime, sizeof(atime), "%c", localtime(&st->st_atime)); in show_file() 948 atime, now - st->st_atime); in show_file()
|
| /Linux-v5.4/fs/orangefs/ |
| D | protocol.h | 230 __u64 atime; member
|