| /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 | 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()
|
| 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()
|
| /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/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);
|
| H A D | segbuf.h | 40 time64_t ctime; member
|
| /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/fs/nfs/ |
| H A D | localio.c | 770 chattr += (u64)stat->ctime.tv_sec << 30; in __nfsd4_change_attribute() 771 chattr += stat->ctime.tv_nsec; in __nfsd4_change_attribute() 774 chattr = time_to_chattr(&stat->ctime); in __nfsd4_change_attribute() 802 fattr->ctime = stat.ctime; in nfs_local_vfs_getattr() 807 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() 879 inode_set_ctime_to_ts(inode, fattr->ctime); in nfs_setattr_update_inode() 897 inode_set_ctime_to_ts(inode, fattr->ctime); in nfs_setattr_update_inode() 913 inode_set_ctime_to_ts(inode, fattr->ctime); in nfs_setattr_update_inode() 1639 inode_set_ctime_to_ts(inode, fattr->ctime); in nfs_wcc_update_inode() 1702 if ((fattr->valid & NFS_ATTR_FATTR_CTIME) && !timespec64_equal(&ts, &fattr->ctime)) in nfs_check_inode_attributes() 2386 inode_set_ctime_to_ts(inode, fattr->ctime); in nfs_update_inode()
|
| /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/jffs2/ |
| 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/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
|
| H A D | jffs2.h | 149 jint32_t ctime; /* Change 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 | 298 struct timespec64 ctime, uctime; in ovl_file_accessed() local 310 ctime = inode_get_ctime(inode); in ovl_file_accessed() 315 !timespec64_equal(&ctime, &uctime)) { in ovl_file_accessed()
|
| /linux/tools/laptop/dslm/ |
| H A D | dslm.c | 60 char *ts = ctime(&time); in myctime()
|
| /linux/net/mac80211/ |
| H A D | rc80211_minstrel_ht.c | 1388 unsigned int ctime = 0; in minstrel_calc_retransmit() local 1407 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit() 1409 ctime += (t_slot * cw) >> 1; in minstrel_calc_retransmit() 1421 tx_time = ctime + 2 * (overhead + tx_time_data); in minstrel_calc_retransmit() 1422 tx_time_rtscts = ctime + 2 * (overhead_rtscts + tx_time_data); in minstrel_calc_retransmit() 1427 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit() 1431 tx_time += ctime + overhead + tx_time_data; in minstrel_calc_retransmit() 1432 tx_time_rtscts += ctime + overhead_rtscts + tx_time_data; in minstrel_calc_retransmit()
|
| /linux/arch/arm/kernel/ |
| H A D | sys_oabi-compat.c | 142 tmp.st_ctime = stat->ctime.tv_sec; in cp_oldabi_stat64() 143 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_oldabi_stat64()
|