Home
last modified time | relevance | path

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

1234567

/linux/init/
H A Dinitramfs.c132 static void __init do_utime(char *filename, time64_t mtime) in do_utime() argument
134 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime()
138 static void __init do_utime_path(const struct path *path, time64_t mtime) in do_utime_path() argument
140 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime_path()
147 time64_t mtime; member
151 static void __init dir_add(const char *name, size_t nlen, time64_t mtime) in dir_add() argument
160 de->mtime = mtime; in dir_add()
169 do_utime(de->name, de->mtime); in dir_utime()
174 static void __init do_utime(char *filename, time64_t mtime) {} in do_utime() argument
175 static void __init do_utime_path(const struct path *path, time64_t mtime) {} in do_utime_path() argument
[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/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 …]
/linux/fs/f2fs/
H A Dgc.c363 unsigned long long mtime = 0; in get_cb_cost() local
369 mtime = f2fs_get_section_mtime(sbi, segno); in get_cb_cost()
370 f2fs_bug_on(sbi, mtime == INVALID_MTIME); in get_cb_cost()
377 if (mtime < sit_i->min_mtime) in get_cb_cost()
378 sit_i->min_mtime = mtime; in get_cb_cost()
379 if (mtime > sit_i->max_mtime) in get_cb_cost()
380 sit_i->max_mtime = mtime; in get_cb_cost()
382 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost()
437 if (cur_ve->mtime > next_ve->mtime) { in f2fs_check_victim_tree()
440 cur_ve->mtime, next_ve->mtime); in f2fs_check_victim_tree()
[all …]
H A Dgc.h82 unsigned long long mtime; /* mtime of section */ member
/linux/usr/
H A Dgen_init_cpio.c91 (long) 0, /* mtime */ in cpio_trailer()
123 (long) default_mtime, /* mtime */ in cpio_mkslink()
172 (long) default_mtime, /* mtime */ in cpio_mkgeneric()
266 (long) default_mtime, /* mtime */ in cpio_mknod()
333 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()
[all …]
/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; in cp_old_stat()
497 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat()
501 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat()
[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
297 /* mtime changed */ in vboxsf_writepages()
329 /* mtime changed */ in vboxsf_write_end()
/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/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/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/fs/ceph/
H A Dinode.c750 * Helpers to fill in size, ctime, mtime, and atime. We have to be
753 * time_warp_seq or truncate_seq have increased. (Ordinarily, mtime
831 struct timespec64 *mtime, struct timespec64 *atime) in ceph_fill_file_time() argument
853 doutc(cl, "mtime %lld.%09ld -> %lld.%09ld tw %d -> %d\n", in ceph_fill_file_time()
856 mtime->tv_sec, mtime->tv_nsec, in ceph_fill_file_time()
859 inode_set_mtime_to_ts(inode, *mtime); in ceph_fill_file_time()
867 if (timespec64_compare(mtime, &ts) > 0) { in ceph_fill_file_time()
868 doutc(cl, "mtime %lld.%09ld -> %lld.%09ld inc\n", in ceph_fill_file_time()
870 mtime->tv_sec, mtime->tv_nsec); in ceph_fill_file_time()
871 inode_set_mtime_to_ts(inode, *mtime); in ceph_fill_file_time()
[all …]
/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/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/fs/overlayfs/
H A Dfile.c288 /* Update size/mtime */ in ovl_file_modified()
301 struct timespec64 mtime, umtime; in ovl_file_accessed() local
314 mtime = inode_get_mtime(inode); in ovl_file_accessed()
316 if ((!timespec64_equal(&mtime, &umtime)) || in ovl_file_accessed()
/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/fat/
H A Dmisc.c302 * truncate mtime to 2 second granularity
330 * ctime and mtime share the same on-disk field, and should be in fat_truncate_time()
331 * identical in memory. all mtime updates will be applied to ctime, in fat_truncate_time()
/linux/fs/fuse/
H A Dinode.c265 /* mtime from server may be stale due to local buffered write */ in fuse_change_attributes_common()
267 inode_set_mtime(inode, attr->mtime, attr->mtimensec); in fuse_change_attributes_common()
341 * In case of writeback_cache enabled, writes update mtime, ctime and in fuse_change_attributes_i()
350 attr->mtime = inode_get_mtime_sec(inode); in fuse_change_attributes_i()
387 .tv_sec = attr->mtime, in fuse_change_attributes_i()
392 * Auto inval mode also checks and invalidates if mtime in fuse_change_attributes_i()
426 inode_set_mtime(inode, attr->mtime, attr->mtimensec); in fuse_init_inode()
1649 struct timespec64 mtime = inode_get_mtime(&fi->inode); in fuse_fill_attr_from_inode() local
1657 .mtime = mtime.tv_sec, in fuse_fill_attr_from_inode()
1660 .mtimensec = mtime.tv_nsec, in fuse_fill_attr_from_inode()
/linux/arch/riscv/include/asm/
H A Dclint.h17 * The ISA defines mtime as a 64-bit memory-mapped register that increments at
/linux/include/linux/ceph/
H A Dceph_fs.h421 struct ceph_timespec mtime; member
480 struct ceph_timespec mtime; member
578 struct ceph_timespec ctime, mtime, atime; member
790 struct ceph_timespec mtime, atime, ctime; member
848 struct ceph_timespec mtime, atime; member

1234567