| /linux-6.15/include/trace/events/ |
| H A D | timestamp.h | 14 DECLARE_EVENT_CLASS(ctime, 16 struct timespec64 *ctime), 18 TP_ARGS(inode, ctime), 32 __entry->ctime_s = ctime->tv_sec; 33 __entry->ctime_ns = ctime->tv_nsec; 44 struct timespec64 *ctime), 45 TP_ARGS(inode, ctime)); 49 struct timespec64 *ctime), 50 TP_ARGS(inode, ctime)); 90 struct timespec64 *ctime, [all …]
|
| /linux-6.15/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()
|
| H A D | reparse.h | 85 struct timespec64 ctime = inode_get_ctime(inode); in reparse_inode_match() local 97 timespec64_equal(&ctime, &fattr->cf_ctime); in reparse_inode_match()
|
| /linux-6.15/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() 60 stat->ctime.tv_nsec &= ~I_CTIME_QUERIED; in fill_mg_cmtime() 101 stat->ctime = inode_get_ctime(inode); in generic_fillattr() 417 tmp.st_ctime = stat->ctime.tv_sec; in cp_old_stat() 494 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat() 498 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat() 643 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat64() 644 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat64() [all …]
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | multigrain-ts.rst | 27 the ctime in many cases. 38 ctime: 52 Updating the mtime always implies a change to the ctime, but updating the 55 Multigrain timestamps are only tracked for the ctime and the mtime. atimes are 90 different files are modified. This affects the mtime and the ctime, but the 94 or ctime has been queried. If either or both have, then the kernel takes 102 whether the mtime or ctime has been queried. A file could get a fine grained 117 ctime values from the local clock. This is in contrast to network filesystems 121 fstype->fs_flags in order to opt-in, providing the ctime is only ever set via
|
| /linux-6.15/fs/omfs/ |
| H A D | inode.c | 107 u64 ctime; in __omfs_write_inode() local 137 ctime = inode_get_ctime_sec(inode) * 1000LL + in __omfs_write_inode() 139 oi->i_ctime = cpu_to_be64(ctime); in __omfs_write_inode() 207 u64 ctime; in omfs_iget() local 230 ctime = be64_to_cpu(oi->i_ctime); in omfs_iget() 231 nsecs = do_div(ctime, 1000) * 1000L; in omfs_iget() 233 inode_set_atime(inode, ctime, nsecs); in omfs_iget() 234 inode_set_mtime(inode, ctime, nsecs); in omfs_iget() 235 inode_set_ctime(inode, ctime, nsecs); in omfs_iget()
|
| /linux-6.15/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-6.15/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-6.15/fs/nilfs2/ |
| H A D | segbuf.c | 130 time64_t ctime, __u64 cno) in nilfs_segbuf_reset() argument 142 segbuf->sb_sum.ctime = ctime; in nilfs_segbuf_reset() 163 raw_sum->ss_create = cpu_to_le64(segbuf->sb_sum.ctime); in nilfs_segbuf_fill_in_segsum()
|
| H A D | cpfile.h | 24 time64_t ctime, bool minor);
|
| 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()
|
| /linux-6.15/fs/nfsd/ |
| H A D | nfsfh.c | 685 fhp->fh_pre_ctime = stat.ctime; in fh_fill_pre_attrs() 735 fhp->fh_pre_ctime = fhp->fh_post_attr.ctime; in fh_fill_both_attrs() 837 chattr += (u64)stat->ctime.tv_sec << 30; in nfsd4_change_attribute() 838 chattr += stat->ctime.tv_nsec; in nfsd4_change_attribute() 841 chattr = time_to_chattr(&stat->ctime); in nfsd4_change_attribute()
|
| /linux-6.15/fs/jffs2/ |
| H A 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() 310 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-6.15/fs/nfs/ |
| H A D | localio.c | 567 chattr += (u64)stat->ctime.tv_sec << 30; in __nfsd4_change_attribute() 568 chattr += stat->ctime.tv_nsec; in __nfsd4_change_attribute() 571 chattr = time_to_chattr(&stat->ctime); in __nfsd4_change_attribute() 599 fattr->ctime = stat.ctime; in nfs_local_vfs_getattr() 604 fattr->change_attr = nfs_timespec_to_change_attr(&fattr->ctime); in nfs_local_vfs_getattr()
|
| /linux-6.15/tools/testing/selftests/powerpc/mm/ |
| H A D | tlbie_test.c | 52 printf(" %s", ctime(&now)); in err_msg() 683 printf(" %s", ctime(&now)); in main() 727 printf(" %s", ctime(&now)); in main()
|
| /linux-6.15/include/linux/ |
| H A D | stat.h | 49 struct timespec64 ctime; member
|
| /linux-6.15/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-6.15/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-6.15/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-6.15/fs/hostfs/ |
| H A D | hostfs.h | 63 struct hostfs_timespec atime, mtime, ctime, btime; member
|
| /linux-6.15/include/uapi/linux/ |
| H A D | fuse.h | 284 uint64_t ctime; member 322 struct fuse_sx_time ctime; member 774 uint64_t ctime; member
|