Home
last modified time | relevance | path

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

12345

/linux-6.1.9/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-6.1.9/fs/
Dstat.c57 stat->ctime = inode->i_ctime; in generic_fillattr()
312 tmp.st_ctime = stat->ctime.tv_sec; in cp_old_stat()
395 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat()
399 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat()
539 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat64()
540 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat64()
617 tmp.stx_ctime.tv_sec = stat->ctime.tv_sec; in cp_statx()
618 tmp.stx_ctime.tv_nsec = stat->ctime.tv_nsec; in cp_statx()
705 tmp.st_ctime = stat->ctime.tv_sec; in cp_compat_stat()
706 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_compat_stat()
/linux-6.1.9/fs/nfsd/
Dnfsfh.h313 chattr = stat->ctime.tv_sec; in nfsd4_change_attribute()
315 chattr += stat->ctime.tv_nsec; in nfsd4_change_attribute()
319 return time_to_chattr(&stat->ctime); in nfsd4_change_attribute()
Dnfsfh.c629 stat.ctime = inode->i_ctime; in fh_fill_pre_attrs()
636 fhp->fh_pre_ctime = stat.ctime; in fh_fill_pre_attrs()
661 fhp->fh_post_attr.ctime = inode->i_ctime; in fh_fill_post_attrs()
683 fhp->fh_pre_ctime = fhp->fh_post_attr.ctime; in fh_fill_both_attrs()
/linux-6.1.9/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.1.9/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.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()
Dsegbuf.h40 time64_t ctime; member
/linux-6.1.9/fs/jffs2/
Dfile.c173 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_begin()
296 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_end()
321 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-6.1.9/include/linux/
Dstat.h49 struct timespec64 ctime; member
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/tools/laptop/dslm/
Ddslm.c60 char *ts = ctime(&time); in myctime()
/linux-6.1.9/fs/reiserfs/
Dnamei.c1330 struct timespec64 ctime; in reiserfs_rename() local
1581 ctime = current_time(old_dir); in reiserfs_rename()
1582 old_dir->i_ctime = old_dir->i_mtime = ctime; in reiserfs_rename()
1583 new_dir->i_ctime = new_dir->i_mtime = ctime; in reiserfs_rename()
1588 old_inode->i_ctime = ctime; in reiserfs_rename()
1597 new_dentry_inode->i_ctime = ctime; in reiserfs_rename()
/linux-6.1.9/include/uapi/linux/
Dbtrfs_tree.h611 struct btrfs_timespec ctime; member
674 struct btrfs_timespec ctime; member
Djffs2.h149 jint32_t ctime; /* Change time. */ member
Dmsdos_fs.h177 __le16 ctime; /* Creation time */ member
/linux-6.1.9/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