| /linux/fs/ |
| H A D | stat.c | 56 stat->ctime.tv_sec = inode->i_ctime_sec; in fill_mg_cmtime() 57 stat->ctime.tv_nsec = (u32)atomic_read(pcn); in fill_mg_cmtime() 58 if (!(stat->ctime.tv_nsec & I_CTIME_QUERIED)) in fill_mg_cmtime() 59 stat->ctime.tv_nsec = ((u32)atomic_fetch_or(I_CTIME_QUERIED, pcn)); in fill_mg_cmtime() 60 stat->ctime.tv_nsec &= ~I_CTIME_QUERIED; in fill_mg_cmtime() 61 trace_fill_mg_cmtime(inode, &stat->ctime, &stat->mtime); in fill_mg_cmtime() 101 stat->ctime = inode_get_ctime(inode); in generic_fillattr() 420 tmp.st_ctime = stat->ctime.tv_sec; in cp_old_stat() 498 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat() 502 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat() [all …]
|
| /linux/fs/smb/client/ |
| H A D | fscache.h | 52 struct timespec64 ctime = inode_get_ctime(inode); in cifs_fscache_fill_coherency() local 58 cd->last_change_time_sec = cpu_to_le64(ctime.tv_sec); in cifs_fscache_fill_coherency() 59 cd->last_change_time_nsec = cpu_to_le32(ctime.tv_nsec); in cifs_fscache_fill_coherency()
|
| /linux/fs/omfs/ |
| H A D | inode.c | 109 u64 ctime; in __omfs_write_inode() local 139 ctime = inode_get_ctime_sec(inode) * 1000LL + in __omfs_write_inode() 141 oi->i_ctime = cpu_to_be64(ctime); in __omfs_write_inode() 209 u64 ctime; in omfs_iget() local 232 ctime = be64_to_cpu(oi->i_ctime); in omfs_iget() 233 nsecs = do_div(ctime, 1000) * 1000L; in omfs_iget() 235 inode_set_atime(inode, ctime, nsecs); in omfs_iget() 236 inode_set_mtime(inode, ctime, nsecs); in omfs_iget() 237 inode_set_ctime(inode, ctime, nsecs); in omfs_iget()
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_freezer.c | 1241 long ptime, ctime; in test_cgfreezer_time_parent() local 1278 ctime = cg_check_freezetime(child); in test_cgfreezer_time_parent() 1279 if (ptime <= ctime) { in test_cgfreezer_time_parent() 1280 debug("Expect ptime (%ld) > ctime (%ld)\n", ptime, ctime); in test_cgfreezer_time_parent() 1295 ctime = cg_check_freezetime(child); in test_cgfreezer_time_parent() 1298 if (ctime <= ptime) { in test_cgfreezer_time_parent() 1299 debug("Expect ctime (%ld) > ptime (%ld)\n", ctime, ptime); in test_cgfreezer_time_parent() 1324 long ptime, ctime; in test_cgfreezer_time_child() local 1348 ctime = cg_check_freezetime(child); in test_cgfreezer_time_child() 1355 if (ctime <= ptime) { in test_cgfreezer_time_child() [all …]
|
| /linux/tools/net/sunrpc/xdrgen/generators/ |
| H A D | header_top.py | 29 mtime=time.ctime(os.path.getmtime(filename)), 40 mtime=time.ctime(os.path.getmtime(filename)),
|
| H A D | source_top.py | 30 mtime=time.ctime(os.path.getmtime(filename)),
|
| /linux/tools/testing/selftests/timers/ |
| H A D | inconsistency-check.c | 96 start_str = ctime(&t); in consistency_test() 131 ksft_print_msg("%s\n", ctime(&t)); in consistency_test()
|
| H A D | leap-a-day.c | 255 printf("Setting time to %s", ctime(&tv.tv_sec)); in main() 288 printf("Scheduling leap second for %s", ctime(&next_leap)); in main() 291 printf("Setting timer for %ld - %s", next_leap, ctime(&next_leap)); in main()
|
| /linux/fs/nfsd/ |
| H A D | nfsfh.c | 734 fhp->fh_pre_ctime = stat.ctime; in fh_fill_pre_attrs() 784 fhp->fh_pre_ctime = fhp->fh_post_attr.ctime; in fh_fill_both_attrs() 886 chattr += (u64)stat->ctime.tv_sec << 30; in nfsd4_change_attribute() 887 chattr += stat->ctime.tv_nsec; in nfsd4_change_attribute() 890 chattr = time_to_chattr(&stat->ctime); in nfsd4_change_attribute()
|
| /linux/fs/jffs2/ |
| H A D | file.c | 168 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() 314 inode_set_ctime_to_ts(inode, ITIME(je32_to_cpu(ri->ctime)))); in jffs2_write_end()
|
| H A D | fs.c | 118 ri->ctime = cpu_to_je32(I_SEC((ivalid & ATTR_CTIME)?iattr->ia_ctime:inode_get_ctime(inode))); in jffs2_do_setattr() 151 inode_set_ctime_to_ts(inode, ITIME(je32_to_cpu(ri->ctime))); in jffs2_do_setattr() 287 inode_set_ctime_to_ts(inode, ITIME(je32_to_cpu(latest_node.ctime))); in jffs2_iget() 479 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode_get_mtime(inode))); in jffs2_new_inode()
|
| /linux/fs/nilfs2/ |
| H A D | sysfs.c | 562 time64_t ctime; in nilfs_segctor_last_seg_write_time_show() local 565 ctime = nilfs->ns_ctime; in nilfs_segctor_last_seg_write_time_show() 568 return sysfs_emit(buf, "%ptTs\n", &ctime); in nilfs_segctor_last_seg_write_time_show() 576 time64_t ctime; in nilfs_segctor_last_seg_write_time_secs_show() local 579 ctime = nilfs->ns_ctime; in nilfs_segctor_last_seg_write_time_secs_show() 582 return sysfs_emit(buf, "%llu\n", ctime); in nilfs_segctor_last_seg_write_time_secs_show()
|
| H A D | cpfile.h | 24 time64_t ctime, bool minor);
|
| /linux/fs/nfs/ |
| H A D | localio.c | 722 chattr += (u64)stat->ctime.tv_sec << 30; in __nfsd4_change_attribute() 723 chattr += stat->ctime.tv_nsec; in __nfsd4_change_attribute() 726 chattr = time_to_chattr(&stat->ctime); in __nfsd4_change_attribute() 754 fattr->ctime = stat.ctime; in nfs_local_vfs_getattr() 759 fattr->change_attr = nfs_timespec_to_change_attr(&fattr->ctime); in nfs_local_vfs_getattr()
|
| H A D | inode.c | 547 inode_set_ctime_to_ts(inode, fattr->ctime); in nfs_fhget() 649 struct timespec64 ctime = inode_get_ctime(inode); in nfs_set_timestamps_to_ts() local 655 if (!timespec64_equal(&now, &ctime)) in nfs_set_timestamps_to_ts() 878 inode_set_ctime_to_ts(inode, fattr->ctime); in nfs_setattr_update_inode() 896 inode_set_ctime_to_ts(inode, fattr->ctime); in nfs_setattr_update_inode() 912 inode_set_ctime_to_ts(inode, fattr->ctime); in nfs_setattr_update_inode() 1638 inode_set_ctime_to_ts(inode, fattr->ctime); in nfs_wcc_update_inode() 1701 if ((fattr->valid & NFS_ATTR_FATTR_CTIME) && !timespec64_equal(&ts, &fattr->ctime)) in nfs_check_inode_attributes() 2385 inode_set_ctime_to_ts(inode, fattr->ctime); in nfs_update_inode()
|
| /linux/arch/x86/kernel/ |
| H A D | sys_ia32.c | 153 unsafe_put_user(stat->ctime.tv_sec, &ubuf->st_ctime, Efault); in cp_stat64() 154 unsafe_put_user(stat->ctime.tv_nsec, &ubuf->st_ctime_nsec, Efault); in cp_stat64()
|
| /linux/include/uapi/linux/raid/ |
| H A D | md_p.h | 141 __u32 ctime; /* 6 Creation time */ member 235 __le64 ctime; /* lo 40 bits are seconds, top 24 are microseconds or 0*/ member
|
| H A D | md_u.h | 80 unsigned int ctime; member
|
| /linux/arch/sparc/kernel/ |
| H A D | sys_sparc32.c | 86 err |= put_user(stat->ctime.tv_sec, &statbuf->st_ctime); in cp_compat_stat64() 87 err |= put_user(stat->ctime.tv_nsec, &statbuf->st_ctime_nsec); in cp_compat_stat64()
|
| /linux/fs/xfs/ |
| H A D | xfs_exchrange.c | 88 struct timespec64 ctime = inode_get_ctime(inode2); in xfs_exchrange_check_freshness() local 96 !timespec64_equal(&fxr->file2_ctime, &ctime) || in xfs_exchrange_check_freshness() 862 kern_f->file2_ctime = kstat.ctime.tv_sec; in xfs_ioc_start_commit() 863 kern_f->file2_ctime_nsec = kstat.ctime.tv_nsec; in xfs_ioc_start_commit()
|
| /linux/include/uapi/linux/ |
| H A D | fuse.h | 292 uint64_t ctime; member 330 struct fuse_sx_time ctime; member 784 uint64_t ctime; member
|
| H A D | msdos_fs.h | 177 __le16 ctime; /* Creation time */ member
|
| /linux/fs/hostfs/ |
| H A D | hostfs.h | 31 struct hostfs_timespec atime, mtime, ctime, btime; member
|
| /linux/fs/overlayfs/ |
| H A D | file.c | 297 struct timespec64 ctime, uctime; in ovl_file_accessed() local 309 ctime = inode_get_ctime(inode); in ovl_file_accessed() 314 !timespec64_equal(&ctime, &uctime)) { in ovl_file_accessed()
|
| /linux/tools/laptop/dslm/ |
| H A D | dslm.c | 60 char *ts = ctime(&time); in myctime()
|