/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() 411 tmp.st_ctime = stat->ctime.tv_sec; in cp_old_stat() 488 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat() 492 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()
|
H A D | reparse.h | 83 struct timespec64 ctime = inode_get_ctime(inode); in reparse_inode_match() local 95 timespec64_equal(&ctime, &fattr->cf_ctime); in reparse_inode_match()
|
/linux/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/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/nfs/ |
H A D | localio.c | 473 chattr += (u64)stat->ctime.tv_sec << 30; in __nfsd4_change_attribute() 474 chattr += stat->ctime.tv_nsec; in __nfsd4_change_attribute() 477 chattr = time_to_chattr(&stat->ctime); in __nfsd4_change_attribute() 505 fattr->ctime = stat.ctime; in nfs_local_vfs_getattr() 510 fattr->change_attr = nfs_timespec_to_change_attr(&fattr->ctime); in nfs_local_vfs_getattr()
|
/linux/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 | 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/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/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/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/include/linux/ |
H A D | stat.h | 49 struct timespec64 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/include/uapi/linux/ |
H A D | fuse.h | 272 uint64_t ctime; member 310 struct fuse_sx_time ctime; member 758 uint64_t ctime; member
|
H A D | msdos_fs.h | 177 __le16 ctime; /* Creation time */ member
|
/linux/fs/hostfs/ |
H A D | hostfs.h | 63 struct hostfs_timespec atime, mtime, ctime; member
|
H A D | hostfs_user.c | 31 p->ctime.tv_sec = buf->st_ctime; in stat64_to_hostfs() 32 p->ctime.tv_nsec = 0; in stat64_to_hostfs()
|
/linux/tools/laptop/dslm/ |
H A D | dslm.c | 60 char *ts = ctime(&time); in myctime()
|