/linux-6.1.9/init/ |
D | initramfs.c | 131 static void __init do_utime(char *filename, time64_t mtime) in do_utime() argument 133 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime() 137 static void __init do_utime_path(const struct path *path, time64_t mtime) in do_utime_path() argument 139 struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } }; in do_utime_path() 146 time64_t mtime; member 150 static void __init dir_add(const char *name, 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-6.1.9/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
|
/linux-6.1.9/arch/um/drivers/ |
D | cow_user.c | 27 time32_t mtime; member 46 time32_t mtime; member 89 __u32 mtime; member 101 __s64 mtime; member 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() 374 *mtime_out = (time32_t) be32toh(header->v3_b.mtime); in read_cow_header()
|
D | ubd_kern.c | 519 time64_t mtime; in ubd_file_size() local 535 &mtime, &size, §or_size, &align, &bitmap_offset); in ubd_file_size() 558 static int backing_file_mismatch(char *file, __u64 size, time64_t mtime) in backing_file_mismatch() argument 585 if (modtime != mtime) { in backing_file_mismatch() 587 "backing file\n", mtime, modtime); in backing_file_mismatch() 629 time64_t mtime; in open_ubd_file() local 663 err = read_cow_header(file_reader, &fd, &version, &backing_file, &mtime, in open_ubd_file() 678 mtime)) { in open_ubd_file() 689 err = backing_file_mismatch(*backing_file_out, size, mtime); in open_ubd_file()
|
/linux-6.1.9/fs/f2fs/ |
D | gc.c | 336 unsigned long long mtime = 0; in get_cb_cost() local 344 mtime += get_seg_entry(sbi, start + i)->mtime; in get_cb_cost() 347 mtime = div_u64(mtime, usable_segs_per_sec); in get_cb_cost() 353 if (mtime < sit_i->min_mtime) in get_cb_cost() 354 sit_i->min_mtime = mtime; in get_cb_cost() 355 if (mtime > sit_i->max_mtime) in get_cb_cost() 356 sit_i->max_mtime = mtime; in get_cb_cost() 358 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost() 393 unsigned long long mtime, unsigned int segno, in attach_victim_entry() argument 403 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
|
D | segment.h | 218 unsigned long long mtime; /* modification time of the segment */ member 398 se->mtime = le64_to_cpu(rs->mtime); in seg_info_from_raw_sit() 408 rs->mtime = cpu_to_le64(se->mtime); in __seg_info_to_raw_sit()
|
/linux-6.1.9/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()
|
D | hostfs.h | 63 struct hostfs_timespec atime, mtime, ctime; member
|
/linux-6.1.9/fs/ |
D | stat.c | 56 stat->mtime = inode->i_mtime; in generic_fillattr() 311 tmp.st_mtime = stat->mtime.tv_sec; in cp_old_stat() 394 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat() 398 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat() 537 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat64() 538 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat64() 619 tmp.stx_mtime.tv_sec = stat->mtime.tv_sec; in cp_statx() 620 tmp.stx_mtime.tv_nsec = stat->mtime.tv_nsec; in cp_statx() 703 tmp.st_mtime = stat->mtime.tv_sec; in cp_compat_stat() 704 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_compat_stat()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/include/linux/ceph/ |
D | ceph_fs.h | 411 struct ceph_timespec mtime; member 470 struct ceph_timespec mtime; member 562 struct ceph_timespec ctime, mtime, atime; member 774 struct ceph_timespec mtime, atime, ctime; member 832 struct ceph_timespec mtime, atime; member
|
/linux-6.1.9/include/linux/ |
D | stat.h | 48 struct timespec64 mtime; member
|
/linux-6.1.9/arch/x86/kernel/ |
D | sys_ia32.c | 151 unsafe_put_user(stat->mtime.tv_sec, &ubuf->st_mtime, Efault); in cp_stat64() 152 unsafe_put_user(stat->mtime.tv_nsec, &ubuf->st_mtime_nsec, Efault); in cp_stat64()
|
/linux-6.1.9/fs/ceph/ |
D | inode.c | 688 struct timespec64 *mtime, struct timespec64 *atime) in ceph_fill_file_time() argument 711 mtime->tv_sec, mtime->tv_nsec, in ceph_fill_file_time() 714 inode->i_mtime = *mtime; in ceph_fill_file_time() 719 if (timespec64_compare(mtime, &inode->i_mtime) > 0) { in ceph_fill_file_time() 723 mtime->tv_sec, mtime->tv_nsec); in ceph_fill_file_time() 724 inode->i_mtime = *mtime; in ceph_fill_file_time() 742 inode->i_mtime = *mtime; in ceph_fill_file_time() 768 struct timespec64 mtime, atime, ctime; in ceph_fill_inode() local 887 ceph_decode_timespec64(&mtime, &info->mtime); in ceph_fill_inode() 891 &ctime, &mtime, &atime); in ceph_fill_inode() [all …]
|
/linux-6.1.9/arch/sparc/kernel/ |
D | sys_sparc32.c | 84 err |= put_user(stat->mtime.tv_sec, &statbuf->st_mtime); in cp_compat_stat64() 85 err |= put_user(stat->mtime.tv_nsec, &statbuf->st_mtime_nsec); in cp_compat_stat64()
|
/linux-6.1.9/fs/jffs2/ |
D | fs.c | 117 ri->mtime = cpu_to_je32(I_SEC((ivalid & ATTR_MTIME)?iattr->ia_mtime:inode->i_mtime)); in jffs2_do_setattr() 152 inode->i_mtime = ITIME(je32_to_cpu(ri->mtime)); in jffs2_do_setattr() 286 inode->i_mtime = ITIME(je32_to_cpu(latest_node.mtime)); in jffs2_iget() 479 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode->i_mtime)); in jffs2_new_inode()
|
D | file.c | 173 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_begin() 296 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_end()
|
/linux-6.1.9/fs/afs/ |
D | yfsclient.c | 91 s64 mtime = linux_to_yfs_time(t); in xdr_encode_YFSStoreStatus() local 98 x->mtime_client = u64_to_xdr(mtime); in xdr_encode_YFSStoreStatus() 265 s64 mtime = 0, owner = 0, group = 0; in xdr_encode_YFS_StoreStatus() local 271 mtime = linux_to_yfs_time(&attr->ia_mtime); in xdr_encode_YFS_StoreStatus() 291 x->mtime_client = u64_to_xdr(mtime); in xdr_encode_YFS_StoreStatus() 571 bp = xdr_encode_YFSStoreStatus(bp, &op->create.mode, &op->mtime); in yfs_fs_create_file() 620 bp = xdr_encode_YFSStoreStatus(bp, &op->create.mode, &op->mtime); in yfs_fs_make_dir() 968 bp = xdr_encode_YFSStoreStatus(bp, &mode, &op->mtime); in yfs_fs_symlink() 1099 bp = xdr_encode_YFSStoreStatus(bp, NULL, &op->mtime); in yfs_fs_store_data()
|
/linux-6.1.9/fs/nfsd/ |
D | nfsfh.c | 628 stat.mtime = inode->i_mtime; in fh_fill_pre_attrs() 635 fhp->fh_pre_mtime = stat.mtime; in fh_fill_pre_attrs() 682 fhp->fh_pre_mtime = fhp->fh_post_attr.mtime; in fh_fill_both_attrs()
|
/linux-6.1.9/include/uapi/linux/ |
D | jffs2.h | 148 jint32_t mtime; /* Last modification time. */ member
|
D | fuse.h | 248 uint64_t mtime; member 643 uint64_t mtime; member
|
/linux-6.1.9/fs/nfs/ |
D | callback.h | 76 struct timespec64 mtime; member
|
/linux-6.1.9/tools/vm/ |
D | page-types.c | 944 char atime[64], mtime[64]; in show_file() local 952 strftime(mtime, sizeof(mtime), "%c", localtime(&st->st_mtime)); in show_file() 955 mtime, now - st->st_mtime, in show_file()
|