Home
last modified time | relevance | path

Searched refs:mtime (Results 1 – 25 of 53) sorted by relevance

123

/fs/squashfs/
Dsquashfs_fs.h274 __le32 mtime; member
283 __le32 mtime; member
293 __le32 mtime; member
304 __le32 mtime; member
315 __le32 mtime; member
327 __le32 mtime; member
339 __le32 mtime; member
353 __le32 mtime; member
370 __le32 mtime; member
384 __le32 mtime; member
/fs/
Dstat.c44 stat->mtime = inode->i_mtime; in generic_fillattr()
241 tmp.st_mtime = stat->mtime.tv_sec; in cp_old_stat()
324 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat()
328 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat()
467 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat64()
468 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat64()
549 tmp.stx_mtime.tv_sec = stat->mtime.tv_sec; in cp_statx()
550 tmp.stx_mtime.tv_nsec = stat->mtime.tv_nsec; in cp_statx()
617 tmp.st_mtime = stat->mtime.tv_sec; in cp_compat_stat()
618 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_compat_stat()
/fs/hostfs/
Dhostfs_user.c33 p->mtime.tv_sec = buf->st_mtime; in stat64_to_hostfs()
34 p->mtime.tv_nsec = 0; in stat64_to_hostfs()
246 times[1].tv_sec = st.mtime.tv_sec; in set_attr()
247 times[1].tv_usec = st.mtime.tv_nsec / 1000; in set_attr()
270 attrs->ia_mtime = st.mtime; in set_attr()
Dhostfs.h59 struct timespec atime, mtime, ctime; member
/fs/hfs/
Dcatalog.c38 __be32 mtime = hfs_mtime(); in hfs_cat_build_record() local
44 rec->dir.CrDat = mtime; in hfs_cat_build_record()
45 rec->dir.MdDat = mtime; in hfs_cat_build_record()
56 rec->file.CrDat = mtime; in hfs_cat_build_record()
57 rec->file.MdDat = mtime; in hfs_cat_build_record()
/fs/f2fs/
Dgc.c255 unsigned long long mtime = 0; in get_cb_cost() local
262 mtime += get_seg_entry(sbi, start + i)->mtime; in get_cb_cost()
265 mtime = div_u64(mtime, sbi->segs_per_sec); in get_cb_cost()
271 if (mtime < sit_i->min_mtime) in get_cb_cost()
272 sit_i->min_mtime = mtime; in get_cb_cost()
273 if (mtime > sit_i->max_mtime) in get_cb_cost()
274 sit_i->max_mtime = mtime; in get_cb_cost()
276 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost()
Dsegment.h193 unsigned long long mtime; /* modification time of the segment */ member
354 se->mtime = le64_to_cpu(rs->mtime); in seg_info_from_raw_sit()
364 rs->mtime = cpu_to_le64(se->mtime); in __seg_info_to_raw_sit()
Dsegment.c2150 se->mtime = get_mtime(sbi, false); in update_sit_entry()
2151 if (se->mtime > SIT_I(sbi)->max_mtime) in update_sit_entry()
2152 SIT_I(sbi)->max_mtime = se->mtime; in update_sit_entry()
4673 unsigned long long mtime = 0; in init_min_max_mtime() local
4676 mtime += get_seg_entry(sbi, segno + i)->mtime; in init_min_max_mtime()
4678 mtime = div_u64(mtime, sbi->segs_per_sec); in init_min_max_mtime()
4680 if (sit_i->min_mtime > mtime) in init_min_max_mtime()
4681 sit_i->min_mtime = mtime; in init_min_max_mtime()
/fs/ceph/
Dinode.c654 struct timespec64 *mtime, struct timespec64 *atime) in ceph_fill_file_time() argument
677 mtime->tv_sec, mtime->tv_nsec, in ceph_fill_file_time()
680 inode->i_mtime = *mtime; in ceph_fill_file_time()
685 if (timespec64_compare(mtime, &inode->i_mtime) > 0) { in ceph_fill_file_time()
689 mtime->tv_sec, mtime->tv_nsec); in ceph_fill_file_time()
690 inode->i_mtime = *mtime; in ceph_fill_file_time()
708 inode->i_mtime = *mtime; in ceph_fill_file_time()
735 struct timespec64 mtime, atime, ctime; in fill_inode() local
833 ceph_decode_timespec64(&mtime, &info->mtime); in fill_inode()
837 &ctime, &mtime, &atime); in fill_inode()
[all …]
Dfile.c739 struct timespec64 mtime; member
901 req->r_mtime = aio_req->mtime; in ceph_aio_retry_work()
944 struct timespec64 mtime = current_time(inode); in ceph_direct_read_write() local
1015 aio_req->mtime = mtime; in ceph_direct_read_write()
1030 req->r_mtime = mtime; in ceph_direct_read_write()
1148 struct timespec64 mtime = current_time(inode); in ceph_sync_write() local
1219 req->r_mtime = mtime; in ceph_sync_write()
Dcaps.c1127 struct timespec64 atime, mtime, ctime, btime; member
1187 ceph_encode_timespec64(&fc->mtime, &arg->mtime); in send_cap_msg()
1355 arg.mtime = inode->i_mtime; in __send_cap()
1426 arg.mtime = capsnap->mtime; in __send_flush_snap()
3242 struct timespec64 mtime, atime, ctime; in handle_cap_grant() local
3244 ceph_decode_timespec64(&mtime, &grant->mtime); in handle_cap_grant()
3249 &ctime, &mtime, &atime); in handle_cap_grant()
/fs/jffs2/
Dfs.c117 ri->mtime = cpu_to_je32(I_SEC((ivalid & ATTR_MTIME)?iattr->ia_mtime:inode->i_mtime)); in jffs2_do_setattr()
152 inode->i_mtime = ITIME(je32_to_cpu(ri->mtime)); in jffs2_do_setattr()
285 inode->i_mtime = ITIME(je32_to_cpu(latest_node.mtime)); in jffs2_iget()
478 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode->i_mtime)); in jffs2_new_inode()
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()
Dgc.c826 ri.mtime = cpu_to_je32(JFFS2_F_I_MTIME(f)); in jffs2_garbage_collect_metadata()
1097 ri.mtime = cpu_to_je32(JFFS2_F_I_MTIME(f)); in jffs2_garbage_collect_hole()
1375 ri.mtime = cpu_to_je32(JFFS2_F_I_MTIME(f)); in jffs2_garbage_collect_dnode()
/fs/nfsd/
Dnfs3xdr.c188 ts = timespec64_to_timespec(stat->mtime); in encode_fattr3()
220 lease_get_mtime(d_inode(dentry), &stat.mtime); in encode_post_op_attr()
275 stat.mtime = inode->i_mtime; in fill_pre_wcc()
280 fhp->fh_pre_mtime = timespec64_to_timespec(stat.mtime); in fill_pre_wcc()
660 &resp->stat.mtime); in nfs3svc_encode_attrstat()
/fs/9p/
Dvfs_inode.c207 wstat->mtime = ~0; in v9fs_blank_wstat()
1112 wstat.mtime = iattr->ia_mtime.tv_sec; in v9fs_vfs_setattr()
1170 inode->i_mtime.tv_sec = stat->mtime; in v9fs_stat2inode()
1171 inode->i_ctime.tv_sec = stat->mtime; in v9fs_stat2inode()
/fs/fuse/
Ddir.c948 attr->mtime = inode->i_mtime.tv_sec; in fuse_fillattr()
963 stat->mtime.tv_sec = attr->mtime; in fuse_fillattr()
964 stat->mtime.tv_nsec = attr->mtimensec; in fuse_fillattr()
1440 arg->mtime = iattr->ia_mtime.tv_sec; in iattr_to_fattr()
1524 inarg.mtime = inode->i_mtime.tv_sec; in fuse_flush_times()
Dreaddir.c474 fi->rdc.mtime = inode->i_mtime; in fuse_readdir_cached()
487 !timespec64_equal(&fi->rdc.mtime, &inode->i_mtime)) { in fuse_readdir_cached()
/fs/nfs/
Dcallback.h76 struct timespec mtime; member
Dinode.c511 inode->i_mtime = timespec_to_timespec64(fattr->mtime); in nfs_fhget()
728 inode->i_mtime = timespec_to_timespec64(fattr->mtime); in nfs_setattr_update_inode()
1378 inode->i_mtime = timespec_to_timespec64(fattr->mtime); in nfs_wcc_update_inode()
1432 if ((fattr->valid & NFS_ATTR_FATTR_MTIME) && !timespec_equal(&ts, &fattr->mtime)) in nfs_check_inode_attributes()
1907 inode->i_mtime = timespec_to_timespec64(fattr->mtime); in nfs_update_inode()
/fs/orangefs/
Dprotocol.h231 __u64 mtime; member
Dorangefs-utils.c165 attrs->mtime = (time64_t)inode->i_mtime.tv_sec; in copy_attributes_from_inode()
363 downcall.resp.getattr.attributes.mtime; in orangefs_inode_getattr()
Dorangefs-kernel.h475 sys_attr.mtime = 0; \
/fs/afs/
Dyfsclient.c103 s64 mtime = linux_to_yfs_time(t); in xdr_encode_YFSStoreStatus_mtime() local
107 x->mtime_client = u64_to_xdr(mtime); in xdr_encode_YFSStoreStatus_mtime()
274 s64 mtime = 0, owner = 0, group = 0; in xdr_encode_YFS_StoreStatus() local
280 mtime = linux_to_yfs_time(&attr->ia_mtime); in xdr_encode_YFS_StoreStatus()
300 x->mtime_client = u64_to_xdr(mtime); in xdr_encode_YFS_StoreStatus()
/fs/btrfs/
Ddelayed-inode.c1776 btrfs_set_stack_timespec_sec(&inode_item->mtime, in fill_stack_inode_item()
1778 btrfs_set_stack_timespec_nsec(&inode_item->mtime, in fill_stack_inode_item()
1828 inode->i_mtime.tv_sec = btrfs_stack_timespec_sec(&inode_item->mtime); in btrfs_fill_inode()
1829 inode->i_mtime.tv_nsec = btrfs_stack_timespec_nsec(&inode_item->mtime); in btrfs_fill_inode()

123