Home
last modified time | relevance | path

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

123

/fs/squashfs/
Dsquashfs_fs.h286 __le32 mtime; member
295 __le32 mtime; member
305 __le32 mtime; member
316 __le32 mtime; member
327 __le32 mtime; member
339 __le32 mtime; member
351 __le32 mtime; member
365 __le32 mtime; member
382 __le32 mtime; member
396 __le32 mtime; member
/fs/
Dstat.c44 stat->mtime = inode->i_mtime; in generic_fillattr()
239 tmp.st_mtime = stat->mtime.tv_sec; in cp_old_stat()
321 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat()
325 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat()
457 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat64()
458 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat64()
539 tmp.stx_mtime.tv_sec = stat->mtime.tv_sec; in cp_statx()
540 tmp.stx_mtime.tv_nsec = stat->mtime.tv_nsec; in cp_statx()
605 tmp.st_mtime = stat->mtime.tv_sec; in cp_compat_stat()
606 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/nfs/
Dfscache-index.c159 struct timespec mtime; member
210 auxdata.mtime = nfsi->vfs_inode.i_mtime; in nfs_fscache_inode_get_aux()
242 auxdata.mtime = nfsi->vfs_inode.i_mtime; in nfs_fscache_inode_check_aux()
Dcallback.h76 struct timespec mtime; member
/fs/f2fs/
Dgc.c247 unsigned long long mtime = 0; in get_cb_cost() local
254 mtime += get_seg_entry(sbi, start + i)->mtime; in get_cb_cost()
257 mtime = div_u64(mtime, sbi->segs_per_sec); in get_cb_cost()
263 if (mtime < sit_i->min_mtime) in get_cb_cost()
264 sit_i->min_mtime = mtime; in get_cb_cost()
265 if (mtime > sit_i->max_mtime) in get_cb_cost()
266 sit_i->max_mtime = mtime; in get_cb_cost()
268 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost()
Dsegment.h192 unsigned long long mtime; /* modification time of the segment */ member
359 se->mtime = le64_to_cpu(rs->mtime); in seg_info_from_raw_sit()
369 rs->mtime = cpu_to_le64(se->mtime); in __seg_info_to_raw_sit()
Dsegment.c2116 se->mtime = get_mtime(sbi, false); in update_sit_entry()
2117 if (se->mtime > SIT_I(sbi)->max_mtime) in update_sit_entry()
2118 SIT_I(sbi)->max_mtime = se->mtime; in update_sit_entry()
4279 unsigned long long mtime = 0; in init_min_max_mtime() local
4282 mtime += get_seg_entry(sbi, segno + i)->mtime; in init_min_max_mtime()
4284 mtime = div_u64(mtime, sbi->segs_per_sec); in init_min_max_mtime()
4286 if (sit_i->min_mtime > mtime) in init_min_max_mtime()
4287 sit_i->min_mtime = mtime; in init_min_max_mtime()
/fs/ceph/
Dcache.c29 struct timespec mtime; member
160 aux.mtime = inode->i_mtime; in ceph_fscache_inode_get_aux()
187 aux.mtime = inode->i_mtime; in ceph_fscache_inode_check_aux()
Dinode.c652 struct timespec *mtime, struct timespec *atime) in ceph_fill_file_time() argument
673 mtime->tv_sec, mtime->tv_nsec, in ceph_fill_file_time()
676 inode->i_mtime = *mtime; in ceph_fill_file_time()
681 if (timespec_compare(mtime, &inode->i_mtime) > 0) { in ceph_fill_file_time()
685 mtime->tv_sec, mtime->tv_nsec); in ceph_fill_file_time()
686 inode->i_mtime = *mtime; in ceph_fill_file_time()
704 inode->i_mtime = *mtime; in ceph_fill_file_time()
731 struct timespec mtime, atime, ctime; in fill_inode() local
816 ceph_decode_timespec(&mtime, &info->mtime); in fill_inode()
820 &ctime, &mtime, &atime); in fill_inode()
[all …]
Dfile.c644 struct timespec mtime; member
805 req->r_mtime = aio_req->mtime; in ceph_aio_retry_work()
842 struct timespec mtime = current_time(inode); in ceph_direct_read_write() local
917 aio_req->mtime = mtime; in ceph_direct_read_write()
932 req->r_mtime = mtime; in ceph_direct_read_write()
1051 struct timespec mtime = current_time(inode); in ceph_sync_write() local
1121 req->r_mtime = mtime; in ceph_sync_write()
Dcaps.c998 struct timespec atime, mtime, ctime; member
1059 ceph_encode_timespec(&fc->mtime, &arg->mtime); in send_cap_msg()
1238 arg.mtime = inode->i_mtime; in __send_cap()
1300 arg.mtime = capsnap->mtime; in __send_flush_snap()
2942 struct timespec mtime, atime, ctime; in handle_cap_grant() local
3032 ceph_decode_timespec(&mtime, &grant->mtime); in handle_cap_grant()
3037 &ctime, &mtime, &atime); in handle_cap_grant()
Dsuper.h195 struct timespec mtime, atime, ctime; member
807 struct timespec *mtime, struct timespec *atime);
/fs/ncpfs/
Ddir.c427 time_t mtime = 0; in ncp_readdir() local
457 mtime = ncp_obtain_mtime(dentry); in ncp_readdir()
459 if ((!mtime) || (mtime != ctl.head.mtime)) in ncp_readdir()
530 mtime = ncp_obtain_mtime(dentry); in ncp_readdir()
533 ctl.head.mtime = mtime; in ncp_readdir()
Dncplib_kernel.h189 time_t mtime; member
/fs/jffs2/
Dfs.c116 ri->mtime = cpu_to_je32(I_SEC((ivalid & ATTR_MTIME)?iattr->ia_mtime:inode->i_mtime)); in jffs2_do_setattr()
151 inode->i_mtime = ITIME(je32_to_cpu(ri->mtime)); in jffs2_do_setattr()
284 inode->i_mtime = ITIME(je32_to_cpu(latest_node.mtime)); in jffs2_iget()
476 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode->i_mtime)); in jffs2_new_inode()
Dfile.c178 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(get_seconds()); in jffs2_write_begin()
286 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(get_seconds()); in jffs2_write_end()
/fs/9p/
Dvfs_inode.c222 wstat->mtime = ~0; in v9fs_blank_wstat()
1121 wstat.mtime = iattr->ia_mtime.tv_sec; in v9fs_vfs_setattr()
1179 inode->i_mtime.tv_sec = stat->mtime; in v9fs_stat2inode()
1180 inode->i_ctime.tv_sec = stat->mtime; in v9fs_stat2inode()
/fs/fuse/
Ddir.c907 attr->mtime = inode->i_mtime.tv_sec; in fuse_fillattr()
922 stat->mtime.tv_sec = attr->mtime; in fuse_fillattr()
923 stat->mtime.tv_nsec = attr->mtimensec; in fuse_fillattr()
1558 arg->mtime = iattr->ia_mtime.tv_sec; in iattr_to_fattr()
1643 inarg.mtime = inode->i_mtime.tv_sec; in fuse_flush_times()
Dinode.c181 inode->i_mtime.tv_sec = attr->mtime; in fuse_change_attributes_common()
241 .tv_sec = attr->mtime, in fuse_change_attributes()
262 inode->i_mtime.tv_sec = attr->mtime; in fuse_init_inode()
/fs/orangefs/
Dorangefs-utils.c177 attrs->mtime = (time64_t)iattr->ia_mtime.tv_sec; in copy_attributes_from_inode()
359 downcall.resp.getattr.attributes.mtime; in orangefs_inode_getattr()
Dprotocol.h276 __u64 mtime; member
/fs/nfsd/
Dnfs3xdr.c184 p = encode_time3(p, &stat->mtime); in encode_fattr3()
214 lease_get_mtime(d_inode(dentry), &stat.mtime); in encode_post_op_attr()
651 &resp->stat.mtime); in nfs3svc_encode_attrstat()

123