Home
last modified time | relevance | path

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

1234

/linux/init/
H A Dinitramfs.c138 static void __init do_utime(char *filename, time64_t mtime) in do_utime() argument
140 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime()
144 static void __init do_utime_path(const struct path *path, time64_t mtime) in do_utime_path() argument
146 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime_path()
153 time64_t mtime; member
157 static void __init dir_add(const char *name, size_t nlen, time64_t mtime) in dir_add() argument
166 de->mtime = mtime; in dir_add()
180 do_utime(char * filename,time64_t mtime) do_utime() argument
181 do_utime_path(const struct path * path,time64_t mtime) do_utime_path() argument
182 dir_add(const char * name,size_t nlen,time64_t mtime) dir_add() argument
186 static __initdata time64_t mtime; global() variable
[all...]
H A Dinitramfs_test.c21 unsigned int mtime; member
58 c->mtime, c->filesize, c->devmajor, c->devminor, in fill_cpio()
91 .mtime = 56, in initramfs_test_extract()
105 .mtime = 57, in initramfs_test_extract()
134 KUNIT_EXPECT_EQ(test, st.mtime.tv_sec, c[0].mtime); in initramfs_test_extract()
136 KUNIT_EXPECT_GE(test, st.mtime.tv_sec, ts_before.tv_sec); in initramfs_test_extract()
137 KUNIT_EXPECT_LE(test, st.mtime.tv_sec, ts_after.tv_sec); in initramfs_test_extract()
144 KUNIT_EXPECT_EQ(test, st.mtime.tv_sec, c[1].mtime); in initramfs_test_extract()
146 KUNIT_EXPECT_GE(test, st.mtime.tv_sec, ts_before.tv_sec); in initramfs_test_extract()
147 KUNIT_EXPECT_LE(test, st.mtime.tv_sec, ts_after.tv_sec); in initramfs_test_extract()
[all …]
/linux/fs/squashfs/
H A Dsquashfs_fs.h275 __le32 mtime; member
284 __le32 mtime; member
294 __le32 mtime; member
305 __le32 mtime; member
316 __le32 mtime; member
328 __le32 mtime; member
340 __le32 mtime; member
354 __le32 mtime; member
371 __le32 mtime; member
385 __le32 mtime; member
/linux/fs/f2fs/
H A Dgc.c365 unsigned long long mtime = 0; in get_cb_cost() local
371 mtime = f2fs_get_section_mtime(sbi, segno); in get_cb_cost()
372 f2fs_bug_on(sbi, mtime == INVALID_MTIME); in get_cb_cost()
379 if (mtime < sit_i->min_mtime) in get_cb_cost()
380 sit_i->min_mtime = mtime; in get_cb_cost()
381 if (mtime > sit_i->max_mtime) in get_cb_cost()
382 sit_i->max_mtime = mtime; in get_cb_cost()
384 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost()
439 if (cur_ve->mtime > next_ve->mtime) { in f2fs_check_victim_tree()
452 __lookup_victim_entry(struct f2fs_sb_info * sbi,unsigned long long mtime) __lookup_victim_entry() argument
470 __create_victim_entry(struct f2fs_sb_info * sbi,unsigned long long mtime,unsigned int segno) __create_victim_entry() argument
487 __insert_victim_entry(struct f2fs_sb_info * sbi,unsigned long long mtime,unsigned int segno) __insert_victim_entry() argument
519 unsigned long long mtime = 0; add_victim_entry() local
[all...]
H A Dsegment.h186 unsigned long long age; /* mtime of GCed section*/
203 unsigned long long mtime; /* modification time of the segment */
424 se->mtime = le64_to_cpu(rs->mtime); in seg_info_to_sit_folio()
434 rs->mtime = cpu_to_le64(se->mtime); in seg_info_to_sit_folio()
187 unsigned long long mtime; /* modification time of the segment */ global() member
H A Dgc.h57 unsigned long long mtime; /* mtime of section */ member
/linux/usr/
H A Dgen_init_cpio.c
/linux/fs/
H A Dstat.c32 * fill_mg_cmtime - Fill in the mtime and ctime and flag ctime as QUERIED
35 * @inode: inode from which to grab the c/mtime
37 * Given @inode, grab the ctime and mtime out if it and store the result
42 * if only the mtime was requested, as that ensures that the next mtime
55 stat->mtime = inode_get_mtime(inode); in fill_mg_cmtime()
61 trace_fill_mg_cmtime(inode, &stat->ctime, &stat->mtime); in fill_mg_cmtime()
102 stat->mtime = inode_get_mtime(inode); in generic_fillattr()
419 tmp.st_mtime = stat->mtime.tv_sec;
497 tmp.st_mtime = stat->mtime in cp_new_stat()
[all...]
/linux/tools/net/sunrpc/xdrgen/generators/
H A Dheader_top.py29 mtime=time.ctime(os.path.getmtime(filename)),
40 mtime=time.ctime(os.path.getmtime(filename)),
H A Dsource_top.py30 mtime=time.ctime(os.path.getmtime(filename)),
/linux/fs/hfs/
H A Dinode.c358 struct timespec64 mtime; in hfs_read_inode() local
395 mtime = hfs_m_to_utime(rec->file.MdDat); in hfs_read_inode()
396 inode_set_ctime_to_ts(inode, mtime); in hfs_read_inode()
397 inode_set_atime_to_ts(inode, mtime); in hfs_read_inode()
398 inode_set_mtime_to_ts(inode, mtime); in hfs_read_inode()
411 mtime = hfs_m_to_utime(rec->dir.MdDat); in hfs_read_inode()
412 inode_set_ctime_to_ts(inode, mtime); in hfs_read_inode()
413 inode_set_atime_to_ts(inode, mtime); in hfs_read_inode()
414 inode_set_mtime_to_ts(inode, mtime); in hfs_read_inode()
/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/fs/fat/
H A Dmisc.c308 * Update the in-inode atime and/or mtime after truncating the timestamp to the
311 * ctime and mtime share the same on-disk field, and should be identical in
312 * memory. All mtime updates will be applied to ctime, but ctime updates are
332 /* truncate mtime to 2 second granularity */ in fat_truncate_time()
333 struct timespec64 mtime = fat_timespec64_trunc_2secs(*now); in fat_truncate_time()
335 inode_set_mtime_to_ts(inode, mtime); in fat_truncate_time()
336 inode_set_ctime_to_ts(inode, mtime); in fat_truncate_time()
334 struct timespec64 mtime = fat_timespec64_trunc_2secs(*now); fat_truncate_time() local
/linux/arch/um/drivers/
H A Dubd_kern.c496 time64_t mtime; in ubd_file_size() local
512 &mtime, &size, &sector_size, &align, &bitmap_offset); in ubd_file_size()
535 static int backing_file_mismatch(char *file, __u64 size, time64_t mtime) in backing_file_mismatch() argument
562 if (modtime != mtime) { in backing_file_mismatch()
564 "backing file\n", mtime, modtime); in backing_file_mismatch()
606 time64_t mtime; in open_ubd_file() local
640 err = read_cow_header(file_reader, &fd, &version, &backing_file, &mtime, in open_ubd_file()
655 mtime)) { in open_ubd_file()
666 err = backing_file_mismatch(*backing_file_out, size, mtime); in open_ubd_file()
/linux/include/linux/ceph/
H A Dceph_fs.h429 struct ceph_timespec mtime;
488 struct ceph_timespec mtime;
586 struct ceph_timespec ctime, mtime, atime;
803 struct ceph_timespec mtime, atime, ctime;
861 struct ceph_timespec mtime, atime;
428 struct ceph_timespec mtime; global() member
487 struct ceph_timespec mtime; global() member
585 struct ceph_timespec ctime, mtime, atime; global() member
797 struct ceph_timespec mtime, atime, ctime; global() member
855 struct ceph_timespec mtime, atime; global() member
/linux/tools/net/sunrpc/xdrgen/templates/C/source_top/
H A Dserver.j24 // XDR specification modification time: {{ mtime }}
/linux/tools/net/sunrpc/xdrgen/templates/C/header_top/definition/
H A Dheader.j24 /* XDR specification modification time: {{ mtime }} */
/linux/tools/net/sunrpc/xdrgen/templates/C/header_top/declaration/
H A Dheader.j24 /* XDR specification modification time: {{ mtime }} */
/linux/fs/fuse/
H A Dreaddir.c523 * cache; both cases require an up-to-date mtime value. in fuse_readdir_cached()
536 /* Starting cache? Set cache mtime. */ in fuse_readdir_cached()
538 fi->rdc.mtime = inode_get_mtime(inode); in fuse_readdir_cached()
551 struct timespec64 mtime = inode_get_mtime(inode); in fuse_readdir_cached()
554 !timespec64_equal(&fi->rdc.mtime, &mtime) || in fuse_readdir_cached()
544 struct timespec64 mtime = inode_get_mtime(inode); fuse_readdir_cached() local
/linux/fs/ceph/
H A Dinode.c870 * Helpers to fill in size, ctime, mtime, and atime. We have to be in ceph_fill_file_size()
873 * time_warp_seq or truncate_seq have increased. (Ordinarily, mtime in ceph_fill_file_size()
987 struct timespec64 *mtime, struct timespec64 *atime) in decode_encrypted_symlink()
1009 doutc(cl, "mtime %ptSp -> %ptSp tw %d -> %d\n", &imtime, mtime, in decode_encrypted_symlink()
1012 inode_set_mtime_to_ts(inode, *mtime);
1017 if (timespec64_compare(mtime, &imtime) > 0) { in ceph_fill_inode()
1018 doutc(cl, "mtime %ptSp -> %ptSp inc\n", &imtime, mtime); in ceph_fill_inode()
1019 inode_set_mtime_to_ts(inode, *mtime); in ceph_fill_inode()
919 ceph_fill_file_time(struct inode * inode,int issued,u64 time_warp_seq,struct timespec64 * ctime,struct timespec64 * mtime,struct timespec64 * atime) ceph_fill_file_time() argument
1027 struct timespec64 mtime, atime, ctime; ceph_fill_inode() local
2817 struct timespec64 mtime = inode_get_mtime(inode); __ceph_setattr() local
[all...]
/linux/fs/xfs/
H A Dxfs_exchrange.c89 struct timespec64 mtime = inode_get_mtime(inode2); in xfs_exchrange_check_freshness() local
97 !timespec64_equal(&fxr->file2_mtime, &mtime)) in xfs_exchrange_check_freshness()
268 /* Update the mtime and ctime of both files. */ in xfs_exchrange_mappings()
898 kern_f->file2_mtime = kstat.mtime.tv_sec; in xfs_ioc_start_commit()
899 kern_f->file2_mtime_nsec = kstat.mtime.tv_nsec; in xfs_ioc_start_commit()
/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/hostfs/
H A Dhostfs.h31 struct hostfs_timespec atime, mtime, ctime, btime; member
/linux/fs/vboxsf/
H A Dutils.c198 struct timespec64 mtime, prev_mtime; in vboxsf_inode_revalidate() local
229 mtime = inode_get_mtime(inode); in vboxsf_inode_revalidate()
230 if (timespec64_compare(&mtime, &prev_mtime) > 0) in vboxsf_inode_revalidate()
/linux/fs/overlayfs/
H A Dfile.c299 struct timespec64 mtime, umtime; in ovl_file_accessed() local
312 mtime = inode_get_mtime(inode); in ovl_file_accessed()
314 if ((!timespec64_equal(&mtime, &umtime)) || in ovl_file_accessed()

1234