| /kernel/linux/linux-6.6/init/ |
| D | initramfs.c | 125 static void __init do_utime(char *filename, time64_t mtime) in do_utime() argument 127 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime() 131 static void __init do_utime_path(const struct path *path, time64_t mtime) in do_utime_path() argument 133 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime_path() 140 time64_t mtime; member 144 static void __init dir_add(const char *name, time64_t mtime) in dir_add() argument 154 de->mtime = mtime; in dir_add() 163 do_utime(de->name, de->mtime); in dir_utime() 168 static void __init do_utime(char *filename, time64_t mtime) {} in do_utime() argument 169 static void __init do_utime_path(const struct path *path, time64_t mtime) {} in do_utime_path() argument [all …]
|
| /kernel/linux/linux-6.6/fs/squashfs/ |
| 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
|
| /kernel/linux/linux-5.10/fs/squashfs/ |
| 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
|
| /kernel/linux/linux-5.10/arch/um/drivers/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/um/drivers/ |
| 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 …]
|
| /kernel/linux/linux-6.6/fs/f2fs/ |
| D | gc.c | 339 unsigned long long mtime = 0; in get_cb_cost() local 347 mtime += get_seg_entry(sbi, start + i)->mtime; in get_cb_cost() 350 mtime = div_u64(mtime, usable_segs_per_sec); in get_cb_cost() 356 if (mtime < sit_i->min_mtime) in get_cb_cost() 357 sit_i->min_mtime = mtime; in get_cb_cost() 358 if (mtime > sit_i->max_mtime) in get_cb_cost() 359 sit_i->max_mtime = mtime; in get_cb_cost() 361 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost() 410 if (cur_ve->mtime > next_ve->mtime) { in f2fs_check_victim_tree() 413 cur_ve->mtime, next_ve->mtime); in f2fs_check_victim_tree() [all …]
|
| /kernel/linux/linux-5.10/init/ |
| D | initramfs.c | 106 static long __init do_utime(char *filename, time64_t mtime) in do_utime() argument 110 t[0].tv_sec = mtime; in do_utime() 112 t[1].tv_sec = mtime; in do_utime() 121 time64_t mtime; member 124 static void __init dir_add(const char *name, time64_t mtime) in dir_add() argument 131 de->mtime = mtime; in dir_add() 140 do_utime(de->name, de->mtime); in dir_utime() 146 static __initdata time64_t mtime; variable 173 mtime = parsed[5]; /* breaks in y2106 */ in parse_header() 363 dir_add(collected, mtime); in do_name() [all …]
|
| /kernel/linux/linux-5.10/fs/f2fs/ |
| D | gc.c | 310 unsigned long long mtime = 0; in get_cb_cost() local 318 mtime += get_seg_entry(sbi, start + i)->mtime; in get_cb_cost() 321 mtime = div_u64(mtime, usable_segs_per_sec); in get_cb_cost() 327 if (mtime < sit_i->min_mtime) in get_cb_cost() 328 sit_i->min_mtime = mtime; in get_cb_cost() 329 if (mtime > sit_i->max_mtime) in get_cb_cost() 330 sit_i->max_mtime = mtime; in get_cb_cost() 332 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost() 367 unsigned long long mtime, unsigned int segno, in attach_victim_entry() argument 376 ve->mtime = mtime; in attach_victim_entry() [all …]
|
| D | gc.h | 59 unsigned long long mtime; /* mtime of section */ member 67 unsigned long long mtime; /* mtime of section */ member
|
| /kernel/linux/linux-5.10/fs/vboxsf/ |
| 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 297 /* mtime changed */ in vboxsf_writepage() 332 /* mtime changed */ in vboxsf_write_end()
|
| /kernel/linux/linux-6.6/fs/vboxsf/ |
| 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 299 /* mtime changed */ in vboxsf_writepage() 334 /* mtime changed */ in vboxsf_write_end()
|
| /kernel/liteos_m/testsuites/unittest/posix/src/time/ |
| D | time_func_test_01.c | 489 time_t mtime = 0; variable 492 mtime = LONG_MAX; 493 ftime = strftime(buffer, 80, "%y-%m-%d %H:%M:%S", localtime(&mtime)); 498 mtime = LONG_MIN; 499 ftime = strftime(buffer, 80, "%Y-%m-%d %H:%M:%S", localtime(&mtime)); 504 mtime = 18880; 505 ftime = strftime(buffer, 80, "%F %T", localtime(&mtime)); 510 mtime = 18880; 511 ftime = strftime(buffer, 80, "%D %w %H:%M:%S", localtime(&mtime)); 526 time_t mtime = 18880; variable [all …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | stat.c | 47 stat->mtime = inode->i_mtime; in generic_fillattr() 257 tmp.st_mtime = stat->mtime.tv_sec; in cp_old_stat() 340 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat() 344 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat() 483 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat64() 484 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat64() 565 tmp.stx_mtime.tv_sec = stat->mtime.tv_sec; in cp_statx() 566 tmp.stx_mtime.tv_nsec = stat->mtime.tv_nsec; in cp_statx() 640 tmp.st_mtime = stat->mtime.tv_sec; in cp_compat_stat() 641 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_compat_stat()
|
| /kernel/linux/linux-6.6/fs/smb/client/ |
| 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()
|
| /kernel/linux/linux-6.6/fs/hostfs/ |
| D | hostfs_user.c | 33 p->mtime.tv_sec = buf->stx_mtime.tv_sec; in statx_to_hostfs() 34 p->mtime.tv_nsec = buf->stx_mtime.tv_nsec; in statx_to_hostfs() 257 times[1].tv_sec = st.mtime.tv_sec; in set_attr() 258 times[1].tv_usec = st.mtime.tv_nsec / 1000; in set_attr() 281 attrs->ia_mtime = st.mtime; in set_attr()
|
| /kernel/linux/linux-5.10/fs/hostfs/ |
| 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() 246 times[1].tv_sec = st.mtime.tv_sec; in set_attr() 247 times[1].tv_usec = st.mtime.tv_nsec / 1000; in set_attr() 270 attrs->ia_mtime = st.mtime; in set_attr()
|
| /kernel/linux/linux-6.6/fs/ |
| D | stat.c | 61 stat->mtime = inode->i_mtime; in generic_fillattr() 343 tmp.st_mtime = stat->mtime.tv_sec; in cp_old_stat() 420 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat() 424 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat() 563 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat64() 564 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat64() 647 tmp.stx_mtime.tv_sec = stat->mtime.tv_sec; in cp_statx() 648 tmp.stx_mtime.tv_nsec = stat->mtime.tv_nsec; in cp_statx() 736 tmp.st_mtime = stat->mtime.tv_sec; in cp_compat_stat() 737 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_compat_stat()
|
| /kernel/linux/linux-6.6/fs/hfs/ |
| 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()
|
| /kernel/linux/linux-5.10/fs/hfs/ |
| 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()
|
| /kernel/linux/linux-5.10/usr/ |
| D | gen_init_cpio.c | 86 (long) 0, /* mtime */ in cpio_trailer() 118 (long) default_mtime, /* mtime */ in cpio_mkslink() 167 (long) default_mtime, /* mtime */ in cpio_mkgeneric() 261 (long) default_mtime, /* mtime */ in cpio_mknod() 351 (long) buf.st_mtime, /* mtime */ in cpio_mkfile() 489 "as mtime for symlinks, special files and directories. The default\n" in usage()
|
| /kernel/linux/linux-6.6/fs/hmdfs/comm/ |
| D | protocol.h | 202 __le64 mtime; member 343 __le64 mtime; member 371 __le64 mtime; member
|
| /kernel/linux/linux-5.10/fs/hmdfs/comm/ |
| D | protocol.h | 202 __le64 mtime; member 343 __le64 mtime; member 371 __le64 mtime; member
|
| /kernel/linux/linux-6.6/usr/ |
| D | gen_init_cpio.c | 90 (long) 0, /* mtime */ in cpio_trailer() 122 (long) default_mtime, /* mtime */ in cpio_mkslink() 171 (long) default_mtime, /* mtime */ in cpio_mkgeneric() 265 (long) default_mtime, /* mtime */ in cpio_mknod() 390 (long) buf.st_mtime, /* mtime */ in cpio_mkfile() 539 "as mtime for symlinks, special files and directories. The default\n" in usage()
|
| /kernel/linux/linux-5.10/fs/ceph/ |
| D | inode.c | 609 * Helpers to fill in size, ctime, mtime, and atime. We have to be 612 * time_warp_seq or truncate_seq have increased. (Ordinarily, mtime 670 struct timespec64 *mtime, struct timespec64 *atime) in ceph_fill_file_time() argument 690 dout("mtime %lld.%09ld -> %lld.%09ld " in ceph_fill_file_time() 693 mtime->tv_sec, mtime->tv_nsec, in ceph_fill_file_time() 696 inode->i_mtime = *mtime; in ceph_fill_file_time() 701 if (timespec64_compare(mtime, &inode->i_mtime) > 0) { in ceph_fill_file_time() 702 dout("mtime %lld.%09ld -> %lld.%09ld inc\n", in ceph_fill_file_time() 705 mtime->tv_sec, mtime->tv_nsec); in ceph_fill_file_time() 706 inode->i_mtime = *mtime; in ceph_fill_file_time() [all …]
|
| /kernel/linux/linux-6.6/net/ceph/ |
| 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()
|