Home
last modified time | relevance | path

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

12345

/linux/init/
H A Dinitramfs.c126 static void __init do_utime(char *filename, time64_t mtime) in do_utime() argument
128 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime()
132 static void __init do_utime_path(const struct path *path, time64_t mtime) in do_utime_path() argument
134 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime_path()
141 time64_t mtime; member
145 static void __init dir_add(const char *name, time64_t mtime) in dir_add() argument
155 de->mtime = mtime; in dir_add()
169 do_utime(char * filename,time64_t mtime) do_utime() argument
170 do_utime_path(const struct path * path,time64_t mtime) do_utime_path() argument
171 dir_add(const char * name,time64_t mtime) dir_add() argument
175 static __initdata time64_t mtime; global() variable
[all...]
/linux/fs/squashfs/
H A 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
/linux/fs/f2fs/
H A 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 in get_cb_cost()
421 __lookup_victim_entry(struct f2fs_sb_info * sbi,unsigned long long mtime) __lookup_victim_entry() argument
439 __create_victim_entry(struct f2fs_sb_info * sbi,unsigned long long mtime,unsigned int segno) __create_victim_entry() argument
456 __insert_victim_entry(struct f2fs_sb_info * sbi,unsigned long long mtime,unsigned int segno) __insert_victim_entry() argument
490 unsigned long long mtime = 0; add_victim_entry() local
[all...]
H A Dsegment.h208 unsigned long long mtime; /* modification time of the segment */ member
375 se->mtime = le64_to_cpu(rs->mtime); in seg_info_from_raw_sit()
385 rs->mtime = cpu_to_le64(se->mtime); in __seg_info_to_raw_sit()
H A Dgc.h63 unsigned long long mtime; /* mtime of section */
62 unsigned long long mtime; /* mtime of section */ global() member
/linux/arch/um/drivers/
H A Dcow_user.c27 time32_t mtime; member
46 time32_t mtime; member
89 __u32 mtime; member
101 __s64 mtime; member
249 header->mtime = htobe32(modtime); in write_cow_header()
317 *mtime_out = header->v1.mtime; in read_cow_header()
330 *mtime_out = be32toh(header->v2.mtime); in read_cow_header()
344 *mtime_out = be32toh(header->v3.mtime); in read_cow_header()
374 *mtime_out = (time32_t) be32toh(header->v3_b.mtime); in read_cow_header()
/linux/usr/
H A Dgen_init_cpio.c333 time_t mtime; in cpio_mkfile() local
353 mtime = default_mtime; in cpio_mkfile()
355 mtime = buf.st_mtime; in cpio_mkfile()
356 if (mtime > 0xffffffff) { in cpio_mkfile()
359 mtime = 0xffffffff; in cpio_mkfile()
362 if (mtime < 0) { in cpio_mkfile()
365 mtime = 0; in cpio_mkfile()
397 (long) mtime, /* mtime */ in cpio_mkfile()
/linux/fs/smb/client/
H A Dfscache.h53 struct timespec64 mtime = inode_get_mtime(inode); in cifs_fscache_fill_coherency() local
56 cd->last_write_time_sec = cpu_to_le64(mtime.tv_sec); in cifs_fscache_fill_coherency()
57 cd->last_write_time_nsec = cpu_to_le32(mtime.tv_nsec); in cifs_fscache_fill_coherency()
/linux/fs/hostfs/
H A Dhostfs_user.c33 p->mtime.tv_sec = buf->st_mtime; in stat64_to_hostfs()
34 p->mtime.tv_nsec = 0; in stat64_to_hostfs()
247 times[1].tv_sec = st.mtime.tv_sec; in set_attr()
248 times[1].tv_usec = st.mtime.tv_nsec / 1000; in set_attr()
271 attrs->ia_mtime = st.mtime; in set_attr()
H A Dhostfs.h63 struct hostfs_timespec atime, mtime, ctime; member
/linux/fs/
H A Dstat.c61 stat->mtime = inode_get_mtime(inode); in generic_fillattr()
348 tmp.st_mtime = stat->mtime.tv_sec; in cp_old_stat()
425 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat()
429 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat()
568 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat64()
569 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat64()
652 tmp.stx_mtime.tv_sec = stat->mtime.tv_sec; in cp_statx()
653 tmp.stx_mtime.tv_nsec = stat->mtime.tv_nsec; in cp_statx()
742 tmp.st_mtime = stat->mtime.tv_sec; in cp_compat_stat()
743 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_compat_stat()
/linux/fs/hfs/
H A 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()
/linux/net/ceph/
H A Dcls_lock_client.c38 struct timespec64 mtime; in ceph_cls_lock() local
68 memset(&mtime, 0, sizeof(mtime)); in ceph_cls_lock()
69 ceph_encode_timespec64(p, &mtime); in ceph_cls_lock()
/linux/include/linux/ceph/
H A Dceph_fs.h421 struct ceph_timespec mtime; member
480 struct ceph_timespec mtime; member
592 struct ceph_timespec ctime, mtime, atime; member
804 struct ceph_timespec mtime, atime, ctime; member
862 struct ceph_timespec mtime, atime; member
/linux/fs/ceph/
H A Dinode.c751 * Helpers to fill in size, ctime, mtime, and atime. We have to be
754 * time_warp_seq or truncate_seq have increased. (Ordinarily, mtime
832 struct timespec64 *mtime, struct timespec64 *atime) in ceph_fill_file_time() argument
854 doutc(cl, "mtime %lld.%09ld -> %lld.%09ld tw %d -> %d\n", in ceph_fill_file_time()
857 mtime->tv_sec, mtime->tv_nsec, in ceph_fill_file_time()
860 inode_set_mtime_to_ts(inode, *mtime); in ceph_fill_file_time()
868 if (timespec64_compare(mtime, &ts) > 0) { in ceph_fill_file_time()
869 doutc(cl, "mtime %lld.%09ld -> %lld.%09ld inc\n", in ceph_fill_file_time()
871 mtime in ceph_fill_file_time()
951 struct timespec64 mtime, atime, ctime; ceph_fill_inode() local
2682 struct timespec64 mtime = inode_get_mtime(inode); __ceph_setattr() local
[all...]
/linux/include/linux/
H A Dstat.h48 struct timespec64 mtime; member
/linux/fs/fuse/
H A Dreaddir.c479 fi->rdc.mtime = inode_get_mtime(inode); in fuse_readdir_cached()
491 struct timespec64 mtime = inode_get_mtime(inode); in fuse_readdir_cached() local
494 !timespec64_equal(&fi->rdc.mtime, &mtime)) { in fuse_readdir_cached()
/linux/arch/x86/kernel/
H A Dsys_ia32.c151 unsafe_put_user(stat->mtime.tv_sec, &ubuf->st_mtime, Efault); in cp_stat64()
152 unsafe_put_user(stat->mtime.tv_nsec, &ubuf->st_mtime_nsec, Efault); in cp_stat64()
/linux/arch/sparc/kernel/
H A Dsys_sparc32.c84 err |= put_user(stat->mtime.tv_sec, &statbuf->st_mtime); in cp_compat_stat64()
85 err |= put_user(stat->mtime.tv_nsec, &statbuf->st_mtime_nsec); in cp_compat_stat64()
/linux/include/uapi/linux/
H A Dfuse.h268 uint64_t mtime; member
308 struct fuse_sx_time mtime; member
752 uint64_t mtime; member
/linux/fs/jffs2/
H A Dfs.c117 ri->mtime = cpu_to_je32(I_SEC((ivalid & ATTR_MTIME)?iattr->ia_mtime:inode_get_mtime(inode))); in jffs2_do_setattr()
152 inode_set_mtime_to_ts(inode, ITIME(je32_to_cpu(ri->mtime))); in jffs2_do_setattr()
286 inode_set_mtime_to_ts(inode, ITIME(je32_to_cpu(latest_node.mtime))); in jffs2_iget()
479 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode_get_mtime(inode))); in jffs2_new_inode()
/linux/fs/vboxsf/
H A Dutils.c197 struct timespec64 mtime, prev_mtime; in vboxsf_inode_revalidate() local
228 mtime = inode_get_mtime(inode); in vboxsf_inode_revalidate()
229 if (timespec64_compare(&mtime, &prev_mtime) > 0) in vboxsf_inode_revalidate()
/linux/fs/nfsd/
H A Dblocklayout.c120 struct timespec64 mtime = inode_get_mtime(inode); in nfsd4_block_commit_blocks() local
126 timespec64_compare(&lcp->lc_mtime, &mtime) < 0) in nfsd4_block_commit_blocks()
/linux/fs/afs/
H A Dyfsclient.c91 s64 mtime = linux_to_yfs_time(t); in xdr_encode_YFSStoreStatus() local
98 x->mtime_client = u64_to_xdr(mtime); in xdr_encode_YFSStoreStatus()
268 s64 mtime = 0, owner = 0, group = 0; in xdr_encode_YFS_StoreStatus() local
274 mtime = linux_to_yfs_time(&attr->ia_mtime); in xdr_encode_YFS_StoreStatus()
294 x->mtime_client = u64_to_xdr(mtime); in xdr_encode_YFS_StoreStatus()
575 bp = xdr_encode_YFSStoreStatus(bp, &op->create.mode, &op->mtime); in yfs_fs_create_file()
625 bp = xdr_encode_YFSStoreStatus(bp, &op->create.mode, &op->mtime); in yfs_fs_make_dir()
978 bp = xdr_encode_YFSStoreStatus(bp, &mode, &op->mtime); in yfs_fs_symlink()
1111 bp = xdr_encode_YFSStoreStatus(bp, NULL, &op->mtime); in yfs_fs_store_data()
/linux/fs/overlayfs/
H A Dfile.c228 /* Update size/mtime */
236 struct timespec64 mtime, umtime; in ovl_file_accessed()
249 mtime = inode_get_mtime(inode); in ovl_file_accessed()
251 if ((!timespec64_equal(&mtime, &umtime)) || in ovl_file_accessed()
239 struct timespec64 mtime, umtime; ovl_file_accessed() local

12345