Home
last modified time | relevance | path

Searched full:mtime (Results 1 – 25 of 131) sorted by relevance

123456

/linux/init/
H A Dinitramfs.c133 static void __init do_utime(char *filename, time64_t mtime) in do_utime() argument
135 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime()
139 static void __init do_utime_path(const struct path *path, time64_t mtime) in do_utime_path() argument
141 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime_path()
148 time64_t mtime; member
152 static void __init dir_add(const char *name, size_t nlen, time64_t mtime) in dir_add() argument
161 de->mtime = mtime; in dir_add()
170 do_utime(de->name, de->mtime); in dir_utime()
175 static void __init do_utime(char *filename, time64_t mtime) {} in do_utime() argument
176 static void __init do_utime_path(const struct path *path, time64_t mtime) {} in do_utime_path() argument
[all …]
H A Dinitramfs_test.c18 unsigned int mtime; member
45 c->mtime, c->filesize, c->devmajor, c->devminor, in fill_cpio()
78 .mtime = 56, in initramfs_test_extract()
92 .mtime = 57, in initramfs_test_extract()
121 KUNIT_EXPECT_EQ(test, st.mtime.tv_sec, c[0].mtime); in initramfs_test_extract()
123 KUNIT_EXPECT_GE(test, st.mtime.tv_sec, ts_before.tv_sec); in initramfs_test_extract()
124 KUNIT_EXPECT_LE(test, st.mtime.tv_sec, ts_after.tv_sec); in initramfs_test_extract()
131 KUNIT_EXPECT_EQ(test, st.mtime.tv_sec, c[1].mtime); in initramfs_test_extract()
133 KUNIT_EXPECT_GE(test, st.mtime.tv_sec, ts_before.tv_sec); in initramfs_test_extract()
134 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/arch/um/drivers/
H A Dcow_user.c27 time32_t mtime; member
46 time32_t mtime; member
78 * definition, leading on 64-bit systems to 4 bytes of padding after mtime, to
89 __u32 mtime; member
101 __s64 mtime; member
235 cow_printf("write_cow_header - backing file '%s' mtime " in write_cow_header()
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()
[all …]
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()
563 printk(KERN_ERR "mtime mismatch (%lld vs %lld) of COW header vs " 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/usr/
H A Dgen_init_cpio.c100 (long) 0, /* mtime */ in cpio_trailer()
139 (long) default_mtime, /* mtime */ in cpio_mkslink()
196 (long) default_mtime, /* mtime */ in cpio_mkgeneric()
297 (long) default_mtime, /* mtime */ in cpio_mknod()
366 time_t mtime; in cpio_mkfile() local
387 mtime = default_mtime; in cpio_mkfile()
389 mtime = buf.st_mtime; in cpio_mkfile()
390 if (mtime > 0xffffffff) { in cpio_mkfile()
393 mtime = 0xffffffff; in cpio_mkfile()
396 if (mtime < 0) { in cpio_mkfile()
[all …]
/linux/fs/vboxsf/
H A Dfile.c188 * side, we do a "stat" on the host side, then compare the mtime with the
189 * last known mtime and invalidate the page-cache if they differ.
196 * 2) Do another "stat" and compare mtime again. Unfortunately the vboxsf
200 * 2a) "stat" and compare mtime, on stat failure invalidate the cache
201 * 2b) "stat" and compare mtime, on stat failure do nothing
296 /* mtime changed */ in vboxsf_writepages()
328 /* mtime changed */ in vboxsf_write_end()
/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/Documentation/devicetree/bindings/timer/
H A Dandestech,plmt0.yaml12 fixed-frequency monotonic time counter (MTIME) register and a time compare
14 generated if MTIME >= MTIMECMP.
/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/tools/testing/selftests/powerpc/nx-gzip/
H A Dgzfht_test.c136 buf[i++] = 0x00; /* MTIME */ in gzip_header_blank()
137 buf[i++] = 0x00; /* MTIME */ in gzip_header_blank()
138 buf[i++] = 0x00; /* MTIME */ in gzip_header_blank()
139 buf[i++] = 0x00; /* MTIME */ in gzip_header_blank()
/linux/fs/ceph/
H A Dinode.c797 * Helpers to fill in size, ctime, mtime, and atime. We have to be
800 * time_warp_seq or truncate_seq have increased. (Ordinarily, mtime
878 struct timespec64 *mtime, struct timespec64 *atime) in ceph_fill_file_time() argument
900 doutc(cl, "mtime %ptSp -> %ptSp tw %d -> %d\n", &imtime, mtime, in ceph_fill_file_time()
903 inode_set_mtime_to_ts(inode, *mtime); in ceph_fill_file_time()
908 if (timespec64_compare(mtime, &imtime) > 0) { in ceph_fill_file_time()
909 doutc(cl, "mtime %ptSp -> %ptSp inc\n", &imtime, mtime); in ceph_fill_file_time()
910 inode_set_mtime_to_ts(inode, *mtime); in ceph_fill_file_time()
925 inode_set_mtime_to_ts(inode, *mtime); in ceph_fill_file_time()
986 struct timespec64 mtime, atime, ctime; in ceph_fill_inode() local
[all …]
/linux/include/trace/misc/
H A Dfs.h131 { ATTR_MTIME, "MTIME" }, \
153 { STATX_MTIME, "MTIME" }, \
/linux/fs/f2fs/
H A Dgc.h82 unsigned long long mtime; /* mtime of section */ member
/linux/fs/overlayfs/
H A Dfile.c286 /* Update size/mtime */ in ovl_file_modified()
299 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()
/linux/fs/afs/
H A 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()
567 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_create_file()
621 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_make_dir()
920 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_symlink()
1098 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_store_data64()
1152 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_store_data()
/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/include/uapi/linux/
H A Djffs2.h130 /* The uid, gid, atime, mtime and ctime members could be longer, but
148 jint32_t mtime; /* Last modification time. */ member
/linux/tools/net/sunrpc/xdrgen/templates/C/header_top/declaration/
H A Dheader.j24 /* XDR specification modification time: {{ mtime }} */
/linux/fs/fuse/
H A Dinode.c264 /* mtime from server may be stale due to local buffered write */ in fuse_change_attributes_common()
266 inode_set_mtime(inode, attr->mtime, attr->mtimensec); in fuse_change_attributes_common()
340 * In case of writeback_cache enabled, writes update mtime, ctime and in fuse_change_attributes_i()
349 attr->mtime = inode_get_mtime_sec(inode); in fuse_change_attributes_i()
386 .tv_sec = attr->mtime, in fuse_change_attributes_i()
391 * Auto inval mode also checks and invalidates if mtime in fuse_change_attributes_i()
425 inode_set_mtime(inode, attr->mtime, attr->mtimensec); in fuse_init_inode()
1680 struct timespec64 mtime = inode_get_mtime(&fi->inode); in fuse_fill_attr_from_inode() local
1688 .mtime = mtime.tv_sec, in fuse_fill_attr_from_inode()
1691 .mtimensec = mtime.tv_nsec, in fuse_fill_attr_from_inode()
/linux/include/linux/ceph/
H A Dceph_fs.h428 struct ceph_timespec mtime; member
487 struct ceph_timespec mtime; member
585 struct ceph_timespec ctime, mtime, atime; member
797 struct ceph_timespec mtime, atime, ctime; member
855 struct ceph_timespec mtime, atime; member
/linux/arch/riscv/include/asm/
H A Dclint.h17 * The ISA defines mtime as a 64-bit memory-mapped register that increments at
/linux/fs/xfs/
H A Dxfs_exchrange.h9 /* Update the mtime/cmtime of file1 and file2 */

123456