/linux/init/ |
H A D | initramfs.c | 127 static void __init do_utime(char *filename, time64_t mtime) in do_utime() argument 129 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime() 133 static void __init do_utime_path(const struct path *path, time64_t mtime) in do_utime_path() argument 135 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime_path() 142 time64_t mtime; member 146 static void __init dir_add(const char *name, time64_t mtime) in dir_add() argument 156 de->mtime = mtime; in dir_add() 165 do_utime(de->name, de->mtime); in dir_utime() 170 static void __init do_utime(char *filename, time64_t mtime) {} in do_utime() argument 171 static void __init do_utime_path(const struct path *path, time64_t mtime) {} in do_utime_path() argument [all …]
|
/linux/fs/squashfs/ |
H A D | squashfs_fs.h | 274 __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 D | cow_user.c | 27 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 D | ubd_kern.c | 496 time64_t mtime; in ubd_file_size() local 512 &mtime, &size, §or_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/fs/f2fs/ |
H A D | gc.c | 366 unsigned long long mtime = 0; in get_cb_cost() local 374 mtime += get_seg_entry(sbi, start + i)->mtime; in get_cb_cost() 377 mtime = div_u64(mtime, usable_segs_per_sec); in get_cb_cost() 383 if (mtime < sit_i->min_mtime) in get_cb_cost() 384 sit_i->min_mtime = mtime; in get_cb_cost() 385 if (mtime > sit_i->max_mtime) in get_cb_cost() 386 sit_i->max_mtime = mtime; in get_cb_cost() 388 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost() 442 if (cur_ve->mtime > next_ve->mtime) { in f2fs_check_victim_tree() 445 cur_ve->mtime, next_ve->mtime); in f2fs_check_victim_tree() [all …]
|
H A D | gc.h | 79 unsigned long long mtime; /* mtime of section */ member
|
/linux/usr/ |
H A D | gen_init_cpio.c | 91 (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/vboxsf/ |
H A D | file.c | 188 * 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 291 /* mtime changed */ in vboxsf_writepage() 326 /* mtime changed */ in vboxsf_write_end()
|
/linux/fs/smb/client/ |
H A D | fscache.h | 53 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 D | header_top.py | 29 mtime=time.ctime(os.path.getmtime(filename)), 40 mtime=time.ctime(os.path.getmtime(filename)),
|
H A D | source_top.py | 30 mtime=time.ctime(os.path.getmtime(filename)),
|
/linux/fs/hostfs/ |
H A D | hostfs_user.c | 33 p->mtime.tv_sec = buf->st_mtime; in stat64_to_hostfs() 34 p->mtime.tv_nsec = 0; in stat64_to_hostfs() 248 times[1].tv_sec = st.mtime.tv_sec; in set_attr() 249 times[1].tv_usec = st.mtime.tv_nsec / 1000; in set_attr() 272 attrs->ia_mtime = st.mtime; in set_attr()
|
/linux/fs/hfs/ |
H A D | catalog.c | 38 __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/ |
H A D | stat.c | 61 stat->mtime = inode_get_mtime(inode); in generic_fillattr() 385 tmp.st_mtime = stat->mtime.tv_sec; in cp_old_stat() 462 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat() 466 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat() 610 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat64() 611 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat64() 694 tmp.stx_mtime.tv_sec = stat->mtime.tv_sec; in cp_statx() 695 tmp.stx_mtime.tv_nsec = stat->mtime.tv_nsec; in cp_statx() 828 tmp.st_mtime = stat->mtime.tv_sec; in cp_compat_stat() 829 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_compat_stat()
|
/linux/fs/fuse/ |
H A D | readdir.c | 464 * cache; both cases require an up-to-date mtime value. in fuse_readdir_cached() 477 /* Starting cache? Set cache mtime. */ in fuse_readdir_cached() 479 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/fs/ceph/ |
H A D | inode.c | 750 * 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 D | cls_lock_client.c | 38 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 D | gzfht_test.c | 136 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/overlayfs/ |
H A D | file.c | 230 /* Update size/mtime */ in ovl_file_modified() 243 struct timespec64 mtime, umtime; in ovl_file_accessed() local 256 mtime = inode_get_mtime(inode); in ovl_file_accessed() 258 if ((!timespec64_equal(&mtime, &umtime)) || in ovl_file_accessed()
|
/linux/tools/net/sunrpc/xdrgen/templates/C/source_top/ |
H A D | client.j2 | 4 // XDR specification modification time: {{ mtime }}
|
H A D | server.j2 | 4 // XDR specification modification time: {{ mtime }}
|
/linux/tools/net/sunrpc/xdrgen/templates/C/header_top/definition/ |
H A D | header.j2 | 4 /* XDR specification modification time: {{ mtime }} */
|
/linux/tools/net/sunrpc/xdrgen/templates/C/header_top/declaration/ |
H A D | header.j2 | 4 /* XDR specification modification time: {{ mtime }} */
|
/linux/fs/afs/ |
H A D | fsclient.c | 178 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() 564 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_create_file() 618 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_make_dir() 917 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_symlink() 1095 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_store_data64() 1149 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_store_data()
|
/linux/arch/riscv/include/asm/ |
H A D | clint.h | 17 * The ISA defines mtime as a 64-bit memory-mapped register that increments at
|