Home
last modified time | relevance | path

Searched refs:ctime (Results 1 – 25 of 100) sorted by relevance

1234

/Linux-v5.15/fs/omfs/
Dinode.c107 u64 ctime; in __omfs_write_inode() local
137 ctime = inode->i_ctime.tv_sec * 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->i_atime.tv_sec = ctime; in omfs_iget()
234 inode->i_mtime.tv_sec = ctime; in omfs_iget()
235 inode->i_ctime.tv_sec = ctime; in omfs_iget()
/Linux-v5.15/fs/
Dstat.c56 stat->ctime = inode->i_ctime; in generic_fillattr()
286 tmp.st_ctime = stat->ctime.tv_sec; in cp_old_stat()
370 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat()
374 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat()
514 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat64()
515 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat64()
592 tmp.stx_ctime.tv_sec = stat->ctime.tv_sec; in cp_statx()
593 tmp.stx_ctime.tv_nsec = stat->ctime.tv_nsec; in cp_statx()
669 tmp.st_ctime = stat->ctime.tv_sec; in cp_compat_stat()
670 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_compat_stat()
/Linux-v5.15/fs/nfsd/
Dnfsfh.h270 chattr = stat->ctime.tv_sec; in nfsd4_change_attribute()
272 chattr += stat->ctime.tv_nsec; in nfsd4_change_attribute()
276 return time_to_chattr(&stat->ctime); in nfsd4_change_attribute()
/Linux-v5.15/tools/testing/selftests/timers/
Dinconsistency-check.c107 start_str = ctime(&t); in consistency_test()
142 printf("%s\n", ctime(&t)); in consistency_test()
Dleap-a-day.c255 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-v5.15/fs/nilfs2/
Dsegbuf.c124 time64_t ctime, __u64 cno) in nilfs_segbuf_reset() argument
136 segbuf->sb_sum.ctime = ctime; in nilfs_segbuf_reset()
157 raw_sum->ss_create = cpu_to_le64(segbuf->sb_sum.ctime); in nilfs_segbuf_fill_in_segsum()
Dsysfs.c558 time64_t ctime; in nilfs_segctor_last_seg_write_time_show() local
561 ctime = nilfs->ns_ctime; in nilfs_segctor_last_seg_write_time_show()
564 return sysfs_emit(buf, "%ptTs\n", &ctime); in nilfs_segctor_last_seg_write_time_show()
572 time64_t ctime; in nilfs_segctor_last_seg_write_time_secs_show() local
575 ctime = nilfs->ns_ctime; in nilfs_segctor_last_seg_write_time_secs_show()
578 return snprintf(buf, PAGE_SIZE, "%llu\n", ctime); in nilfs_segctor_last_seg_write_time_secs_show()
Dsegbuf.h40 time64_t ctime; member
/Linux-v5.15/fs/jffs2/
Dfile.c179 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_begin()
287 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_end()
312 inode->i_ctime = inode->i_mtime = ITIME(je32_to_cpu(ri->ctime)); in jffs2_write_end()
Dfs.c118 ri->ctime = cpu_to_je32(I_SEC((ivalid & ATTR_CTIME)?iattr->ia_ctime:inode->i_ctime)); in jffs2_do_setattr()
151 inode->i_ctime = ITIME(je32_to_cpu(ri->ctime)); in jffs2_do_setattr()
287 inode->i_ctime = ITIME(je32_to_cpu(latest_node.ctime)); in jffs2_iget()
479 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode->i_mtime)); in jffs2_new_inode()
/Linux-v5.15/include/linux/
Dstat.h49 struct timespec64 ctime; member
/Linux-v5.15/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c52 printf(" %s", ctime(&now)); in err_msg()
683 printf(" %s", ctime(&now)); in main()
727 printf(" %s", ctime(&now)); in main()
/Linux-v5.15/arch/x86/kernel/
Dsys_ia32.c153 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-v5.15/include/uapi/linux/raid/
Dmd_p.h145 __u32 ctime; /* 6 Creation time */ member
239 __le64 ctime; /* lo 40 bits are seconds, top 24 are microseconds or 0*/ member
Dmd_u.h84 unsigned int ctime; member
/Linux-v5.15/arch/sparc/kernel/
Dsys_sparc32.c86 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-v5.15/fs/hostfs/
Dhostfs.h63 struct hostfs_timespec atime, mtime, ctime; member
Dhostfs_user.c31 p->ctime.tv_sec = buf->st_ctime; in stat64_to_hostfs()
32 p->ctime.tv_nsec = 0; in stat64_to_hostfs()
/Linux-v5.15/tools/laptop/dslm/
Ddslm.c60 char *ts = ctime(&time); in myctime()
/Linux-v5.15/net/mac80211/
Drc80211_minstrel_ht.c1267 unsigned int ctime = 0; in minstrel_calc_retransmit() local
1286 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit()
1288 ctime += (t_slot * cw) >> 1; in minstrel_calc_retransmit()
1300 tx_time = ctime + 2 * (overhead + tx_time_data); in minstrel_calc_retransmit()
1301 tx_time_rtscts = ctime + 2 * (overhead_rtscts + tx_time_data); in minstrel_calc_retransmit()
1306 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit()
1310 tx_time += ctime + overhead + tx_time_data; in minstrel_calc_retransmit()
1311 tx_time_rtscts += ctime + overhead_rtscts + tx_time_data; in minstrel_calc_retransmit()
/Linux-v5.15/fs/reiserfs/
Dnamei.c1326 struct timespec64 ctime; in reiserfs_rename() local
1577 ctime = current_time(old_dir); in reiserfs_rename()
1578 old_dir->i_ctime = old_dir->i_mtime = ctime; in reiserfs_rename()
1579 new_dir->i_ctime = new_dir->i_mtime = ctime; in reiserfs_rename()
1584 old_inode->i_ctime = ctime; in reiserfs_rename()
1593 new_dentry_inode->i_ctime = ctime; in reiserfs_rename()
/Linux-v5.15/fs/ceph/
Dinode.c677 u64 time_warp_seq, struct timespec64 *ctime, in ceph_fill_file_time() argument
689 timespec64_compare(ctime, &inode->i_ctime) > 0) { in ceph_fill_file_time()
692 ctime->tv_sec, ctime->tv_nsec); in ceph_fill_file_time()
693 inode->i_ctime = *ctime; in ceph_fill_file_time()
731 inode->i_ctime = *ctime; in ceph_fill_file_time()
758 struct timespec64 mtime, atime, ctime; in ceph_fill_inode() local
878 ceph_decode_timespec64(&ctime, &info->ctime); in ceph_fill_inode()
881 &ctime, &mtime, &atime); in ceph_fill_inode()
/Linux-v5.15/include/uapi/linux/
Dbtrfs_tree.h606 struct btrfs_timespec ctime; member
669 struct btrfs_timespec ctime; member
Djffs2.h149 jint32_t ctime; /* Change time. */ member
Dmsdos_fs.h177 __le16 ctime; /* Creation time */ member

1234