/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:
|
/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() 323 tmp.st_atime = stat->atime.tv_sec; in cp_new_stat() 327 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_new_stat() 465 tmp.st_atime = stat->atime.tv_sec; in cp_new_stat64() 466 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_new_stat64() 543 tmp.stx_atime.tv_sec = stat->atime.tv_sec; in cp_statx() 544 tmp.stx_atime.tv_nsec = stat->atime.tv_nsec; in cp_statx() 615 tmp.st_atime = stat->atime.tv_sec; in cp_compat_stat() 616 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_compat_stat()
|
/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
|
/fs/gfs2/ |
D | glops.c | 367 struct timespec64 atime; in gfs2_dinode_in() local 388 atime.tv_sec = be64_to_cpu(str->di_atime); in gfs2_dinode_in() 389 atime.tv_nsec = be32_to_cpu(str->di_atime_nsec); in gfs2_dinode_in() 390 if (timespec64_compare(&ip->i_inode.i_atime, &atime) < 0) in gfs2_dinode_in() 391 ip->i_inode.i_atime = atime; in gfs2_dinode_in()
|
/fs/ceph/ |
D | inode.c | 654 struct timespec64 *mtime, struct timespec64 *atime) in ceph_fill_file_time() argument 681 inode->i_atime = *atime; in ceph_fill_file_time() 692 if (timespec64_compare(atime, &inode->i_atime) > 0) { in ceph_fill_file_time() 696 atime->tv_sec, atime->tv_nsec); in ceph_fill_file_time() 697 inode->i_atime = *atime; in ceph_fill_file_time() 709 inode->i_atime = *atime; in ceph_fill_file_time() 735 struct timespec64 mtime, atime, ctime; in fill_inode() local 832 ceph_decode_timespec64(&atime, &info->atime); in fill_inode() 837 &ctime, &mtime, &atime); in fill_inode() 2091 ceph_encode_timespec64(&req->r_args.setattr.atime, in __ceph_setattr()
|
D | caps.c | 1127 struct timespec64 atime, mtime, ctime, btime; member 1188 ceph_encode_timespec64(&fc->atime, &arg->atime); in send_cap_msg() 1356 arg.atime = inode->i_atime; in __send_cap() 1425 arg.atime = capsnap->atime; in __send_flush_snap() 3242 struct timespec64 mtime, atime, ctime; in handle_cap_grant() local 3245 ceph_decode_timespec64(&atime, &grant->atime); in handle_cap_grant() 3249 &ctime, &mtime, &atime); in handle_cap_grant()
|
D | super.h | 208 struct timespec64 mtime, atime, ctime, btime; member 908 struct timespec64 *atime);
|
/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 | 172 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_begin() 295 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_end()
|
D | gc.c | 824 ri.atime = cpu_to_je32(JFFS2_F_I_ATIME(f)); in jffs2_garbage_collect_metadata() 1095 ri.atime = cpu_to_je32(JFFS2_F_I_ATIME(f)); in jffs2_garbage_collect_hole() 1373 ri.atime = cpu_to_je32(JFFS2_F_I_ATIME(f)); in jffs2_garbage_collect_dnode()
|
/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()
|
/fs/nilfs2/ |
D | Kconfig | 21 Some features including atime, extended attributes, and POSIX ACLs,
|
/fs/orangefs/ |
D | protocol.h | 230 __u64 atime; member
|
D | orangefs-utils.c | 158 attrs->atime = (time64_t)inode->i_atime.tv_sec; in copy_attributes_from_inode() 361 downcall.resp.getattr.attributes.atime; in orangefs_inode_getattr()
|
D | orangefs-kernel.h | 476 sys_attr.atime = 0; \
|
/fs/9p/ |
D | vfs_inode.c | 206 wstat->atime = ~0; in v9fs_blank_wstat() 1115 wstat.atime = iattr->ia_atime.tv_sec; in v9fs_vfs_setattr() 1169 inode->i_atime.tv_sec = stat->atime; in v9fs_stat2inode()
|
/fs/btrfs/ |
D | delayed-inode.c | 1771 btrfs_set_stack_timespec_sec(&inode_item->atime, in fill_stack_inode_item() 1773 btrfs_set_stack_timespec_nsec(&inode_item->atime, in fill_stack_inode_item() 1825 inode->i_atime.tv_sec = btrfs_stack_timespec_sec(&inode_item->atime); in btrfs_fill_inode() 1826 inode->i_atime.tv_nsec = btrfs_stack_timespec_nsec(&inode_item->atime); in btrfs_fill_inode()
|
/fs/fuse/ |
D | dir.c | 961 stat->atime.tv_sec = attr->atime; in fuse_fillattr() 962 stat->atime.tv_nsec = attr->atimensec; in fuse_fillattr() 1433 arg->atime = iattr->ia_atime.tv_sec; in iattr_to_fattr()
|
/fs/nfs/ |
D | inode.c | 507 inode->i_atime = timespec_to_timespec64(fattr->atime); in nfs_fhget() 712 inode->i_atime = timespec_to_timespec64(fattr->atime); in nfs_setattr_update_inode() 1467 if ((fattr->valid & NFS_ATTR_FATTR_ATIME) && !timespec_equal(&ts, &fattr->atime)) in nfs_check_inode_attributes() 1954 inode->i_atime = timespec_to_timespec64(fattr->atime); in nfs_update_inode()
|
/fs/cifs/ |
D | inode.c | 1480 .atime = NO_CHANGE_64, 2369 args->atime = cifs_UnixTimeToNT(attrs->ia_atime); 2371 args->atime = NO_CHANGE_64;
|
D | dir.c | 383 .atime = NO_CHANGE_64, in cifs_do_create()
|
D | cifsproto.h | 358 __u64 atime; member
|
/fs/fat/ |
D | inode.c | 889 __le16 atime; in __fat_write_inode() local 892 fat_time_unix2fat(sbi, &inode->i_atime, &atime, in __fat_write_inode()
|
/fs/overlayfs/ |
D | copy_up.c | 196 .ia_atime = stat->atime, in ovl_set_timestamps()
|