Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/
Dstat.c48 stat->ctime = inode->i_ctime; in generic_fillattr()
258 tmp.st_ctime = stat->ctime.tv_sec; in cp_old_stat()
342 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat()
346 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat()
486 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat64()
487 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat64()
564 tmp.stx_ctime.tv_sec = stat->ctime.tv_sec; in cp_statx()
565 tmp.stx_ctime.tv_nsec = stat->ctime.tv_nsec; in cp_statx()
641 tmp.st_ctime = stat->ctime.tv_sec; in cp_compat_stat()
642 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_compat_stat()
/kernel/linux/linux-5.10/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()
/kernel/liteos_m/components/shell/src/cmds/
Ddate_shell.c50 PRINTK("%s\n", ctime(&nowTime.tv_sec)); in OsShellCmdDate()
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dprotocol.h206 __le64 ctime; member
303 __le64 ctime; member
408 __le64 ctime; member
/kernel/linux/linux-5.10/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.c571 time64_t ctime; in nilfs_segctor_last_seg_write_time_show() local
574 ctime = nilfs->ns_ctime; in nilfs_segctor_last_seg_write_time_show()
577 return NILFS_SHOW_TIME(ctime, buf); in nilfs_segctor_last_seg_write_time_show()
585 time64_t ctime; in nilfs_segctor_last_seg_write_time_secs_show() local
588 ctime = nilfs->ns_ctime; in nilfs_segctor_last_seg_write_time_secs_show()
591 return snprintf(buf, PAGE_SIZE, "%llu\n", ctime); in nilfs_segctor_last_seg_write_time_secs_show()
/kernel/linux/linux-5.10/fs/jffs2/
Dfile.c174 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_begin()
297 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_end()
322 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()
286 inode->i_ctime = ITIME(je32_to_cpu(latest_node.ctime)); in jffs2_iget()
478 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode->i_mtime)); in jffs2_new_inode()
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_trace.h621 __field(uint64_t, ctime)
630 __entry->ctime = le64_to_cpu(__h->dentry_ctime);
637 __entry->crtime, __entry->crtime_nsec, __entry->ctime,
758 __field(uint64_t, ctime)
777 __entry->ctime = resp ? resp->ctime : 0;
787 __entry->file_size, __entry->ino, __entry->ctime,
Dhmdfs_server.c336 struct hmdfs_time_t ctime = info->stat_valid ? info->stat.ctime : in hmdfs_update_open_response() local
347 resp->ctime = cpu_to_le64(ctime.tv_sec); in hmdfs_update_open_response()
348 resp->ctime_nsec = cpu_to_le32(ctime.tv_nsec); in hmdfs_update_open_response()
358 precision = hmdfs_time_add(ctime, precision); in hmdfs_update_open_response()
359 if (hmdfs_time_compare(&current_time, &ctime) < 0) { in hmdfs_update_open_response()
362 } else if (hmdfs_time_compare(&current_time, &ctime) >= 0 && in hmdfs_update_open_response()
364 resp->stable_ctime = resp->ctime; in hmdfs_update_open_response()
914 struct hmdfs_time_t ctime = { .tv_sec = le64_to_cpu(h->dentry_ctime), in need_rebuild_dcache() local
921 if (hmdfs_time_compare(&time, &ctime) != 0) in need_rebuild_dcache()
1583 resp->ctime = cpu_to_le64(ks->ctime.tv_sec); in update_getattr_response()
[all …]
/kernel/linux/linux-5.10/fs/nfsd/
Dnfsfh.h264 chattr = stat->ctime.tv_sec; in nfsd4_change_attribute()
266 chattr += stat->ctime.tv_nsec; in nfsd4_change_attribute()
/kernel/linux/linux-5.10/include/linux/
Dstat.h45 struct timespec64 ctime; member
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c53 printf(" %s", ctime(&now)); in err_msg()
684 printf(" %s", ctime(&now)); in main()
728 printf(" %s", ctime(&now)); in main()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/raid/
Dmd_p.h75 __u32 ctime; member
130 __le64 ctime; member
Dmd_u.h56 unsigned int ctime; member
/kernel/linux/linux-5.10/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
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/raid/
Dmd_p.h63 __u32 ctime; member
129 __le64 ctime; member
Dmd_u.h44 unsigned int ctime; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()

123456