Home
last modified time | relevance | path

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

123

/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()
/fs/
Dstat.c45 stat->ctime = inode->i_ctime; in generic_fillattr()
242 tmp.st_ctime = stat->ctime.tv_sec; in cp_old_stat()
325 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat()
329 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat()
469 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat64()
470 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat64()
547 tmp.stx_ctime.tv_sec = stat->ctime.tv_sec; in cp_statx()
548 tmp.stx_ctime.tv_nsec = stat->ctime.tv_nsec; in cp_statx()
619 tmp.st_ctime = stat->ctime.tv_sec; in cp_compat_stat()
620 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_compat_stat()
/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.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()
Dsegbuf.h40 time64_t ctime; member
/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()
320 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()
Dgc.c825 ri.ctime = cpu_to_je32(JFFS2_F_I_CTIME(f)); in jffs2_garbage_collect_metadata()
1096 ri.ctime = cpu_to_je32(JFFS2_F_I_CTIME(f)); in jffs2_garbage_collect_hole()
1374 ri.ctime = cpu_to_je32(JFFS2_F_I_CTIME(f)); in jffs2_garbage_collect_dnode()
/fs/nfsd/
Dnfsfh.h261 chattr = stat->ctime.tv_sec; in nfsd4_change_attribute()
263 chattr += stat->ctime.tv_nsec; in nfsd4_change_attribute()
Dnfsxdr.c180 *p++ = htonl((u32) stat->ctime.tv_sec); in encode_fattr()
181 *p++ = htonl(stat->ctime.tv_nsec ? stat->ctime.tv_nsec / 1000 : 0); in encode_fattr()
Dnfs3xdr.c190 ts = timespec64_to_timespec(stat->ctime); in encode_fattr3()
276 stat.ctime = inode->i_ctime; in fill_pre_wcc()
281 fhp->fh_pre_ctime = timespec64_to_timespec(stat.ctime); in fill_pre_wcc()
303 fhp->fh_post_attr.ctime = d_inode(fhp->fh_dentry)->i_ctime; in fill_post_wcc()
Dxdr4.h725 cinfo->after_ctime_sec = fhp->fh_post_attr.ctime.tv_sec; in set_change_info()
726 cinfo->after_ctime_nsec = fhp->fh_post_attr.ctime.tv_nsec; in set_change_info()
/fs/hostfs/
Dhostfs_user.c31 p->ctime.tv_sec = buf->st_ctime; in stat64_to_hostfs()
32 p->ctime.tv_nsec = 0; in stat64_to_hostfs()
Dhostfs.h59 struct timespec atime, mtime, ctime; member
/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()
/fs/ceph/
Dinode.c653 u64 time_warp_seq, struct timespec64 *ctime, in ceph_fill_file_time() argument
665 timespec64_compare(ctime, &inode->i_ctime) > 0) { in ceph_fill_file_time()
668 ctime->tv_sec, ctime->tv_nsec); in ceph_fill_file_time()
669 inode->i_ctime = *ctime; in ceph_fill_file_time()
707 inode->i_ctime = *ctime; in ceph_fill_file_time()
735 struct timespec64 mtime, atime, ctime; in fill_inode() local
834 ceph_decode_timespec64(&ctime, &info->ctime); in fill_inode()
837 &ctime, &mtime, &atime); in fill_inode()
Dcaps.c1127 struct timespec64 atime, mtime, ctime, btime; member
1189 ceph_encode_timespec64(&fc->ctime, &arg->ctime); in send_cap_msg()
1357 arg.ctime = inode->i_ctime; in __send_cap()
1427 arg.ctime = capsnap->ctime; in __send_flush_snap()
3242 struct timespec64 mtime, atime, ctime; in handle_cap_grant() local
3246 ceph_decode_timespec64(&ctime, &grant->ctime); in handle_cap_grant()
3249 &ctime, &mtime, &atime); in handle_cap_grant()
/fs/nfs/
Dinode.c515 inode->i_ctime = timespec_to_timespec64(fattr->ctime); in nfs_fhget()
701 inode->i_ctime = timespec_to_timespec64(fattr->ctime); in nfs_setattr_update_inode()
719 inode->i_ctime = timespec_to_timespec64(fattr->ctime); in nfs_setattr_update_inode()
735 inode->i_ctime = timespec_to_timespec64(fattr->ctime); in nfs_setattr_update_inode()
1371 inode->i_ctime = timespec_to_timespec64(fattr->ctime); in nfs_wcc_update_inode()
1436 if ((fattr->valid & NFS_ATTR_FATTR_CTIME) && !timespec_equal(&ts, &fattr->ctime)) in nfs_check_inode_attributes()
1916 inode->i_ctime = timespec_to_timespec64(fattr->ctime); in nfs_update_inode()
Dcallback.h75 struct timespec ctime; member
/fs/btrfs/
Droot-tree.c502 btrfs_set_stack_timespec_sec(&item->ctime, ct.tv_sec); in btrfs_update_root_times()
503 btrfs_set_stack_timespec_nsec(&item->ctime, ct.tv_nsec); in btrfs_update_root_times()
Ddelayed-inode.c1781 btrfs_set_stack_timespec_sec(&inode_item->ctime, in fill_stack_inode_item()
1783 btrfs_set_stack_timespec_nsec(&inode_item->ctime, in fill_stack_inode_item()
1831 inode->i_ctime.tv_sec = btrfs_stack_timespec_sec(&inode_item->ctime); in btrfs_fill_inode()
1832 inode->i_ctime.tv_nsec = btrfs_stack_timespec_nsec(&inode_item->ctime); in btrfs_fill_inode()
/fs/fuse/
Ddir.c950 attr->ctime = inode->i_ctime.tv_sec; in fuse_fillattr()
965 stat->ctime.tv_sec = attr->ctime; in fuse_fillattr()
966 stat->ctime.tv_nsec = attr->ctimensec; in fuse_fillattr()
1447 arg->ctime = iattr->ia_ctime.tv_sec; in iattr_to_fattr()
1528 inarg.ctime = inode->i_ctime.tv_sec; in fuse_flush_times()
/fs/orangefs/
Dprotocol.h232 __u64 ctime; member
Dorangefs-kernel.h477 sys_attr.ctime = 0; \
/fs/fat/
Ddir.c1173 de[0].ctime = de[1].ctime = time; in fat_alloc_new_dir()
1177 de[0].ctime = de[1].ctime = 0; in fat_alloc_new_dir()

123