Home
last modified time | relevance | path

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

123

/fs/omfs/
Dinode.c108 u64 ctime; in __omfs_write_inode() local
138 ctime = inode->i_ctime.tv_sec * 1000LL + in __omfs_write_inode()
140 oi->i_ctime = cpu_to_be64(ctime); in __omfs_write_inode()
208 u64 ctime; in omfs_iget() local
231 ctime = be64_to_cpu(oi->i_ctime); in omfs_iget()
232 nsecs = do_div(ctime, 1000) * 1000L; in omfs_iget()
234 inode->i_atime.tv_sec = ctime; in omfs_iget()
235 inode->i_mtime.tv_sec = ctime; in omfs_iget()
236 inode->i_ctime.tv_sec = ctime; in omfs_iget()
/fs/
Dstat.c48 stat->ctime = inode->i_ctime; in generic_fillattr()
258 tmp.st_ctime = stat->ctime.tv_sec; in cp_old_stat()
341 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat()
345 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat()
485 tmp.st_ctime = stat->ctime.tv_sec; in cp_new_stat64()
486 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_new_stat64()
563 tmp.stx_ctime.tv_sec = stat->ctime.tv_sec; in cp_statx()
564 tmp.stx_ctime.tv_nsec = stat->ctime.tv_nsec; in cp_statx()
642 tmp.st_ctime = stat->ctime.tv_sec; in cp_compat_stat()
643 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.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()
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()
/fs/nfsd/
Dnfsfh.h264 chattr = stat->ctime.tv_sec; in nfsd4_change_attribute()
266 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.c187 p = encode_time3(p, &stat->ctime); in encode_fattr3()
272 stat.ctime = inode->i_ctime; in fill_pre_wcc()
277 fhp->fh_pre_ctime = stat.ctime; in fill_pre_wcc()
299 fhp->fh_post_attr.ctime = d_inode(fhp->fh_dentry)->i_ctime; in fill_post_wcc()
Dxdr4.h777 cinfo->after_ctime_sec = fhp->fh_post_attr.ctime.tv_sec; in set_change_info()
778 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.h63 struct hostfs_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.c669 u64 time_warp_seq, struct timespec64 *ctime, in ceph_fill_file_time() argument
681 timespec64_compare(ctime, &inode->i_ctime) > 0) { in ceph_fill_file_time()
684 ctime->tv_sec, ctime->tv_nsec); in ceph_fill_file_time()
685 inode->i_ctime = *ctime; in ceph_fill_file_time()
723 inode->i_ctime = *ctime; in ceph_fill_file_time()
750 struct timespec64 mtime, atime, ctime; in ceph_fill_inode() local
851 ceph_decode_timespec64(&ctime, &info->ctime); in ceph_fill_inode()
854 &ctime, &mtime, &atime); in ceph_fill_inode()
Dcaps.c1220 struct timespec64 atime, mtime, ctime, btime; member
1274 ceph_encode_timespec64(&fc->ctime, &arg->ctime); in encode_cap_msg()
1413 arg->ctime = inode->i_ctime; in __prep_cap()
1503 arg.ctime = capsnap->ctime; in __send_flush_snap()
3463 struct timespec64 mtime, atime, ctime; in handle_cap_grant() local
3467 ceph_decode_timespec64(&ctime, &grant->ctime); in handle_cap_grant()
3470 &ctime, &mtime, &atime); in handle_cap_grant()
/fs/nfs/
Dinode.c541 inode->i_ctime = fattr->ctime; in nfs_fhget()
729 inode->i_ctime = fattr->ctime; in nfs_setattr_update_inode()
747 inode->i_ctime = fattr->ctime; in nfs_setattr_update_inode()
763 inode->i_ctime = fattr->ctime; in nfs_setattr_update_inode()
1409 inode->i_ctime = fattr->ctime; in nfs_wcc_update_inode()
1474 if ((fattr->valid & NFS_ATTR_FATTR_CTIME) && !timespec64_equal(&ts, &fattr->ctime)) in nfs_check_inode_attributes()
1959 inode->i_ctime = fattr->ctime; in nfs_update_inode()
Dcallback.h75 struct timespec64 ctime; member
/fs/btrfs/
Droot-tree.c467 btrfs_set_stack_timespec_sec(&item->ctime, ct.tv_sec); in btrfs_update_root_times()
468 btrfs_set_stack_timespec_nsec(&item->ctime, ct.tv_nsec); in btrfs_update_root_times()
Ddelayed-inode.c1779 btrfs_set_stack_timespec_sec(&inode_item->ctime, in fill_stack_inode_item()
1781 btrfs_set_stack_timespec_nsec(&inode_item->ctime, in fill_stack_inode_item()
1832 inode->i_ctime.tv_sec = btrfs_stack_timespec_sec(&inode_item->ctime); in btrfs_fill_inode()
1833 inode->i_ctime.tv_nsec = btrfs_stack_timespec_nsec(&inode_item->ctime); in btrfs_fill_inode()
/fs/afs/
Ddir.c1263 op->ctime = op->file[0].scb.status.mtime_client; in afs_create_success()
1349 op->ctime = op->file[0].scb.status.mtime_client; in afs_rmdir_success()
1481 op->ctime = op->file[0].scb.status.mtime_client; in afs_unlink_success()
1646 op->ctime = dvp->scb.status.mtime_client; in afs_link_success()
1773 op->ctime = op->file[0].scb.status.mtime_client; in afs_rename_success()
1777 op->ctime = op->file[1].scb.status.mtime_client; in afs_rename_success()
/fs/orangefs/
Dprotocol.h232 __u64 ctime; member
/fs/fat/
Ddir.c1169 de[0].ctime = de[1].ctime = time; in fat_alloc_new_dir()
1173 de[0].ctime = de[1].ctime = 0; in fat_alloc_new_dir()
/fs/fuse/
Dbacking.c1954 stat->ctime.tv_sec = inode->i_ctime.tv_sec; in fuse_stat_to_attr()
1955 stat->ctime.tv_nsec = inode->i_ctime.tv_nsec; in fuse_stat_to_attr()
1967 attr->ctime = stat->ctime.tv_sec; in fuse_stat_to_attr()
1968 attr->ctimensec = stat->ctime.tv_nsec; in fuse_stat_to_attr()
2053 iattr->ia_ctime.tv_sec = arg->ctime; in fattr_to_iattr()
Ddir.c1317 attr->ctime = inode->i_ctime.tv_sec; in fuse_fillattr()
1332 stat->ctime.tv_sec = attr->ctime; in fuse_fillattr()
1333 stat->ctime.tv_nsec = attr->ctimensec; in fuse_fillattr()
1892 inarg.ctime = inode->i_ctime.tv_sec; in fuse_flush_times()

123