Home
last modified time | relevance | path

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

12345

/linux-6.6.21/fs/hfs/
Dsysdep.c31 struct timespec64 ctime = inode_get_ctime(inode); in hfs_revalidate_dentry() local
33 inode_set_ctime(inode, ctime.tv_sec + diff, ctime.tv_nsec); in hfs_revalidate_dentry()
/linux-6.6.21/fs/omfs/
Dinode.c107 u64 ctime; in __omfs_write_inode() local
137 ctime = inode_get_ctime(inode).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_set_ctime(inode, ctime, nsecs); in omfs_iget()
/linux-6.6.21/fs/smb/client/
Dfscache.h52 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-6.6.21/fs/
Dstat.c62 stat->ctime = inode_get_ctime(inode); in generic_fillattr()
344 tmp.st_ctime = stat->ctime.tv_sec; in cp_old_stat()
421 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat()
425 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat()
565 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat64()
566 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat64()
645 tmp.stx_ctime.tv_sec = stat->ctime.tv_sec; in cp_statx()
646 tmp.stx_ctime.tv_nsec = stat->ctime.tv_nsec; in cp_statx()
738 tmp.st_ctime = stat->ctime.tv_sec; in cp_compat_stat()
739 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_compat_stat()
Dinode.c1842 struct timespec64 ctime; in relatime_need_update() local
1854 ctime = inode_get_ctime(inode); in relatime_need_update()
1855 if (timespec64_compare(&ctime, &inode->i_atime) >= 0) in relatime_need_update()
1892 struct timespec64 ctime = inode_get_ctime(inode); in inode_update_timestamps() local
1895 if (!timespec64_equal(&now, &ctime)) in inode_update_timestamps()
2111 struct timespec64 ctime; in inode_needs_update_time() local
2120 ctime = inode_get_ctime(inode); in inode_needs_update_time()
2121 if (!timespec64_equal(&ctime, &now)) in inode_needs_update_time()
/linux-6.6.21/tools/testing/selftests/timers/
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()
Dinconsistency-check.c107 start_str = ctime(&t); in consistency_test()
142 ksft_print_msg("%s\n", ctime(&t)); in consistency_test()
/linux-6.6.21/fs/nfsd/
Dnfsfh.c636 fhp->fh_pre_ctime = stat.ctime; in fh_fill_pre_attrs()
687 fhp->fh_pre_ctime = fhp->fh_post_attr.ctime; in fh_fill_both_attrs()
782 chattr += (u64)stat->ctime.tv_sec << 30; in nfsd4_change_attribute()
783 chattr += stat->ctime.tv_nsec; in nfsd4_change_attribute()
786 chattr = time_to_chattr(&stat->ctime); in nfsd4_change_attribute()
/linux-6.6.21/fs/nilfs2/
Dsegbuf.c130 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()
Dsysfs.c562 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.6.21/fs/jffs2/
Dfile.c172 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_begin()
295 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_end()
321 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_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->i_mtime)); in jffs2_new_inode()
/linux-6.6.21/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-6.6.21/include/linux/
Dstat.h49 struct timespec64 ctime; member
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/include/uapi/linux/
Dfuse.h263 uint64_t ctime; member
301 struct fuse_sx_time ctime; member
738 uint64_t ctime; member
Djffs2.h149 jint32_t ctime; /* Change time. */ member
Dmsdos_fs.h177 __le16 ctime; /* Creation time */ member
/linux-6.6.21/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-6.6.21/tools/laptop/dslm/
Ddslm.c60 char *ts = ctime(&time); in myctime()
/linux-6.6.21/net/mac80211/
Drc80211_minstrel_ht.c1388 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()

12345