Home
last modified time | relevance | path

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

123

/fs/f2fs/
Dgc.c337 unsigned long long mtime = 0; in get_cb_cost() local
345 mtime += get_seg_entry(sbi, start + i)->mtime; in get_cb_cost()
348 mtime = div_u64(mtime, usable_segs_per_sec); in get_cb_cost()
354 if (mtime < sit_i->min_mtime) in get_cb_cost()
355 sit_i->min_mtime = mtime; in get_cb_cost()
356 if (mtime > sit_i->max_mtime) in get_cb_cost()
357 sit_i->max_mtime = mtime; in get_cb_cost()
359 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost()
408 if (cur_ve->mtime > next_ve->mtime) { in f2fs_check_victim_tree()
411 cur_ve->mtime, next_ve->mtime); in f2fs_check_victim_tree()
[all …]
Dsegment.h221 unsigned long long mtime; /* modification time of the segment */ member
388 se->mtime = le64_to_cpu(rs->mtime); in seg_info_from_raw_sit()
398 rs->mtime = cpu_to_le64(se->mtime); in __seg_info_to_raw_sit()
Dgc.h62 unsigned long long mtime; /* mtime of section */ member
Dsegment.c2266 return get_seg_entry(sbi, segno)->mtime; in get_segment_mtime()
2275 unsigned long long mtime = old_mtime ? old_mtime : ctime; in update_segment_mtime() local
2282 if (!se->mtime) in update_segment_mtime()
2283 se->mtime = mtime; in update_segment_mtime()
2285 se->mtime = div_u64(se->mtime * se->valid_blocks + mtime, in update_segment_mtime()
3378 AT_SSR, se->mtime); in f2fs_allocate_data_block()
5098 unsigned long long mtime = 0; in init_min_max_mtime() local
5101 mtime += get_seg_entry(sbi, segno + i)->mtime; in init_min_max_mtime()
5103 mtime = div_u64(mtime, sbi->segs_per_sec); in init_min_max_mtime()
5105 if (sit_i->min_mtime > mtime) in init_min_max_mtime()
[all …]
/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/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.h63 struct hostfs_timespec atime, mtime, ctime; member
/fs/
Dstat.c55 stat->mtime = inode->i_mtime; in generic_fillattr()
285 tmp.st_mtime = stat->mtime.tv_sec; in cp_old_stat()
368 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat()
372 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat()
511 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat64()
512 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat64()
593 tmp.stx_mtime.tv_sec = stat->mtime.tv_sec; in cp_statx()
594 tmp.stx_mtime.tv_nsec = stat->mtime.tv_nsec; in cp_statx()
668 tmp.st_mtime = stat->mtime.tv_sec; in cp_compat_stat()
669 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_compat_stat()
/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/ceph/
Dinode.c682 struct timespec64 *mtime, struct timespec64 *atime) in ceph_fill_file_time() argument
705 mtime->tv_sec, mtime->tv_nsec, in ceph_fill_file_time()
708 inode->i_mtime = *mtime; in ceph_fill_file_time()
713 if (timespec64_compare(mtime, &inode->i_mtime) > 0) { in ceph_fill_file_time()
717 mtime->tv_sec, mtime->tv_nsec); in ceph_fill_file_time()
718 inode->i_mtime = *mtime; in ceph_fill_file_time()
736 inode->i_mtime = *mtime; in ceph_fill_file_time()
762 struct timespec64 mtime, atime, ctime; in ceph_fill_inode() local
881 ceph_decode_timespec64(&mtime, &info->mtime); in ceph_fill_inode()
885 &ctime, &mtime, &atime); in ceph_fill_inode()
[all …]
Dfile.c612 in.ctime = in.mtime = in.atime = iinfo.btime; in ceph_finish_async_create()
1009 struct timespec64 mtime; member
1181 req->r_mtime = aio_req->mtime; in ceph_aio_retry_work()
1225 struct timespec64 mtime = current_time(inode); in ceph_direct_read_write() local
1296 aio_req->mtime = mtime; in ceph_direct_read_write()
1311 req->r_mtime = mtime; in ceph_direct_read_write()
1436 struct timespec64 mtime = current_time(inode); in ceph_sync_write() local
1507 req->r_mtime = mtime; in ceph_sync_write()
Dcaps.c1208 struct timespec64 atime, mtime, ctime, btime; member
1260 ceph_encode_timespec64(&fc->mtime, &arg->mtime); in encode_cap_msg()
1399 arg->mtime = inode->i_mtime; in __prep_cap()
1490 arg.mtime = capsnap->mtime; in __send_flush_snap()
3406 struct timespec64 mtime, atime, ctime; in handle_cap_grant() local
3408 ceph_decode_timespec64(&mtime, &grant->mtime); in handle_cap_grant()
3413 &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()
286 inode->i_mtime = ITIME(je32_to_cpu(latest_node.mtime)); in jffs2_iget()
479 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode->i_mtime)); in jffs2_new_inode()
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()
/fs/nfsd/
Dnfs3xdr.c383 p = encode_nfstime3(p, &stat->mtime); in svcxdr_encode_fattr3()
447 lease_get_mtime(d_inode(dentry), &stat.mtime); in svcxdr_encode_post_op_attr()
506 stat.mtime = inode->i_mtime; in fill_pre_wcc()
513 fhp->fh_pre_mtime = stat.mtime; in fill_pre_wcc()
830 lease_get_mtime(d_inode(resp->fh.fh_dentry), &resp->stat.mtime); in nfs3svc_encode_getattrres()
/fs/afs/
Dfsclient.c178 u32 mask = 0, mtime = 0, owner = 0, group = 0, mode = 0; in xdr_encode_AFS_StoreStatus() local
183 mtime = attr->ia_mtime.tv_sec; in xdr_encode_AFS_StoreStatus()
202 *bp++ = htonl(mtime); in xdr_encode_AFS_StoreStatus()
556 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_create_file()
609 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_make_dir()
904 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_symlink()
1080 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_store_data64()
1133 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_store_data()
Dyfsclient.c101 s64 mtime = linux_to_yfs_time(t); in xdr_encode_YFSStoreStatus_mtime() local
105 x->mtime_client = u64_to_xdr(mtime); in xdr_encode_YFSStoreStatus_mtime()
272 s64 mtime = 0, owner = 0, group = 0; in xdr_encode_YFS_StoreStatus() local
278 mtime = linux_to_yfs_time(&attr->ia_mtime); in xdr_encode_YFS_StoreStatus()
298 x->mtime_client = u64_to_xdr(mtime); in xdr_encode_YFS_StoreStatus()
1105 bp = xdr_encode_YFSStoreStatus_mtime(bp, &op->mtime); in yfs_fs_store_data()
/fs/nfs/
Dcallback.h76 struct timespec64 mtime; member
Dinode.c546 inode->i_mtime = fattr->mtime; in nfs_fhget()
773 inode->i_mtime = fattr->mtime; in nfs_setattr_update_inode()
1465 inode->i_mtime = fattr->mtime; in nfs_wcc_update_inode()
1518 if ((fattr->valid & NFS_ATTR_FATTR_MTIME) && !timespec64_equal(&ts, &fattr->mtime)) in nfs_check_inode_attributes()
2117 inode->i_mtime = fattr->mtime; in nfs_update_inode()
/fs/9p/
Dvfs_inode.c208 wstat->mtime = ~0; in v9fs_blank_wstat()
1099 wstat.mtime = iattr->ia_mtime.tv_sec; in v9fs_vfs_setattr()
1158 inode->i_mtime.tv_sec = stat->mtime; in v9fs_stat2inode()
1159 inode->i_ctime.tv_sec = stat->mtime; in v9fs_stat2inode()
/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()
/fs/fuse/
Dreaddir.c481 fi->rdc.mtime = inode->i_mtime; in fuse_readdir_cached()
494 !timespec64_equal(&fi->rdc.mtime, &inode->i_mtime)) { in fuse_readdir_cached()
/fs/exfat/
Dinode.c605 inode->i_mtime = info->mtime; in exfat_fill_inode()
606 inode->i_ctime = info->mtime; in exfat_fill_inode()
/fs/btrfs/
Ddelayed-inode.c1687 btrfs_set_stack_timespec_sec(&inode_item->mtime, in fill_stack_inode_item()
1689 btrfs_set_stack_timespec_nsec(&inode_item->mtime, in fill_stack_inode_item()
1743 inode->i_mtime.tv_sec = btrfs_stack_timespec_sec(&inode_item->mtime); in btrfs_fill_inode()
1744 inode->i_mtime.tv_nsec = btrfs_stack_timespec_nsec(&inode_item->mtime); in btrfs_fill_inode()

123