Home
last modified time | relevance | path

Searched refs:mtime (Results 1 – 88 of 88) sorted by relevance

/linux-4.1.27/fs/squashfs/
Dsquashfs_fs.h279 __le32 mtime; member
288 __le32 mtime; member
298 __le32 mtime; member
309 __le32 mtime; member
320 __le32 mtime; member
332 __le32 mtime; member
344 __le32 mtime; member
358 __le32 mtime; member
375 __le32 mtime; member
389 __le32 mtime; member
Dinode.c74 inode->i_mtime.tv_sec = le32_to_cpu(sqsh_ino->mtime); in squashfs_new_inode()
/linux-4.1.27/init/
Dinitramfs.c110 static long __init do_utime(char *filename, time_t mtime) in do_utime() argument
114 t[0].tv_sec = mtime; in do_utime()
116 t[1].tv_sec = mtime; in do_utime()
126 time_t mtime; member
129 static void __init dir_add(const char *name, time_t mtime) in dir_add() argument
136 de->mtime = mtime; in dir_add()
145 do_utime(de->name, de->mtime); in dir_utime()
151 static __initdata time_t mtime; variable
178 mtime = parsed[5]; in parse_header()
356 dir_add(collected, mtime); in do_name()
[all …]
/linux-4.1.27/arch/um/drivers/
Dcow_user.c26 time32_t mtime; member
45 time32_t mtime; member
88 __u32 mtime; member
100 __s64 mtime; member
248 header->mtime = htobe32(modtime); in write_cow_header()
316 *mtime_out = header->v1.mtime; in read_cow_header()
329 *mtime_out = be32toh(header->v2.mtime); in read_cow_header()
343 *mtime_out = be32toh(header->v3.mtime); in read_cow_header()
373 *mtime_out = (time32_t) be32toh(header->v3_b.mtime); in read_cow_header()
Dubd_kern.c506 time_t mtime; in ubd_file_size() local
522 &mtime, &size, &sector_size, &align, &bitmap_offset); in ubd_file_size()
549 static int backing_file_mismatch(char *file, __u64 size, time_t mtime) in backing_file_mismatch() argument
576 if (modtime != mtime) { in backing_file_mismatch()
578 "backing file\n", mtime, modtime); in backing_file_mismatch()
620 time_t mtime; in open_ubd_file() local
654 err = read_cow_header(file_reader, &fd, &version, &backing_file, &mtime, in open_ubd_file()
669 mtime)) { in open_ubd_file()
680 err = backing_file_mismatch(*backing_file_out, size, mtime); in open_ubd_file()
/linux-4.1.27/fs/f2fs/
Dgc.c206 unsigned long long mtime = 0; in get_cb_cost() local
213 mtime += get_seg_entry(sbi, start + i)->mtime; in get_cb_cost()
216 mtime = div_u64(mtime, sbi->segs_per_sec); in get_cb_cost()
222 if (mtime < sit_i->min_mtime) in get_cb_cost()
223 sit_i->min_mtime = mtime; in get_cb_cost()
224 if (mtime > sit_i->max_mtime) in get_cb_cost()
225 sit_i->max_mtime = mtime; in get_cb_cost()
227 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost()
Dsegment.h167 unsigned long long mtime; /* modification time of the segment */ member
303 se->mtime = le64_to_cpu(rs->mtime); in seg_info_from_raw_sit()
315 rs->mtime = cpu_to_le64(se->mtime); in seg_info_to_raw_sit()
Dsegment.c669 se->mtime = get_mtime(sbi); in update_sit_entry()
670 SIT_I(sbi)->max_mtime = se->mtime; in update_sit_entry()
2102 unsigned long long mtime = 0; in init_min_max_mtime() local
2105 mtime += get_seg_entry(sbi, segno + i)->mtime; in init_min_max_mtime()
2107 mtime = div_u64(mtime, sbi->segs_per_sec); in init_min_max_mtime()
2109 if (sit_i->min_mtime > mtime) in init_min_max_mtime()
2110 sit_i->min_mtime = mtime; in init_min_max_mtime()
/linux-4.1.27/fs/hostfs/
Dhostfs_user.c33 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()
Dhostfs.h58 struct timespec atime, mtime, ctime; member
Dhostfs_kern.c559 ino->i_mtime = st.mtime; in read_name()
/linux-4.1.27/fs/hfs/
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-4.1.27/fs/nfs/
Dfscache-index.c159 struct timespec mtime; member
210 auxdata.mtime = nfsi->vfs_inode.i_mtime; in nfs_fscache_inode_get_aux()
242 auxdata.mtime = nfsi->vfs_inode.i_mtime; in nfs_fscache_inode_check_aux()
Dcallback.h75 struct timespec mtime; member
Dinode.c436 inode->i_mtime = fattr->mtime; in nfs_fhget()
1194 memcpy(&inode->i_mtime, &fattr->mtime, sizeof(inode->i_mtime)); in nfs_wcc_update_inode()
1239 if ((fattr->valid & NFS_ATTR_FATTR_MTIME) && !timespec_equal(&inode->i_mtime, &fattr->mtime)) in nfs_check_inode_attributes()
1698 memcpy(&inode->i_mtime, &fattr->mtime, sizeof(inode->i_mtime)); in nfs_update_inode()
Dcallback_proc.c55 res->mtime = inode->i_mtime; in nfs4_callback_getattr()
Dnfs2xdr.c316 p = xdr_decode_time(p, &fattr->mtime); in decode_fattr()
Dcallback_xdr.c674 status = encode_attr_mtime(xdr, res->bitmap, &res->mtime); in encode_getattr_res()
Dnfs3xdr.c676 p = xdr_decode_nfstime3(p, &fattr->mtime); in decode_fattr3()
Dnfs4xdr.c4587 status = decode_attr_time_modify(xdr, bitmap, &fattr->mtime); in decode_getfattr_attrs()
/linux-4.1.27/fs/
Dstat.c32 stat->mtime = inode->i_mtime; in generic_fillattr()
172 tmp.st_mtime = stat->mtime.tv_sec; in cp_old_stat()
254 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat()
258 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat()
390 tmp.st_mtime = stat->mtime.tv_sec; in cp_new_stat64()
391 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_new_stat64()
Dcompat.c153 tmp.st_mtime = stat->mtime.tv_sec; in cp_compat_stat()
154 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_compat_stat()
/linux-4.1.27/fs/ceph/
Dcache.c28 struct timespec mtime; member
108 aux.mtime = inode->i_mtime; in ceph_fscache_inode_get_aux()
136 aux.mtime = inode->i_mtime; in ceph_fscache_inode_check_aux()
Dinode.c594 struct timespec *mtime, struct timespec *atime) in ceph_fill_file_time() argument
615 mtime->tv_sec, mtime->tv_nsec, in ceph_fill_file_time()
618 inode->i_mtime = *mtime; in ceph_fill_file_time()
623 if (timespec_compare(mtime, &inode->i_mtime) > 0) { in ceph_fill_file_time()
627 mtime->tv_sec, mtime->tv_nsec); in ceph_fill_file_time()
628 inode->i_mtime = *mtime; in ceph_fill_file_time()
646 inode->i_mtime = *mtime; in ceph_fill_file_time()
673 struct timespec mtime, atime, ctime; in fill_inode() local
747 ceph_decode_timespec(&mtime, &info->mtime); in fill_inode()
751 &ctime, &mtime, &atime); in fill_inode()
[all …]
Dcaps.c982 struct timespec *mtime, struct timespec *atime, in send_cap_msg() argument
1027 if (mtime) in send_cap_msg()
1028 ceph_encode_timespec(&fc->mtime, mtime); in send_cap_msg()
1139 struct timespec mtime, atime; in __send_cap() local
1222 mtime = inode->i_mtime; in __send_cap()
1241 size, max_size, &mtime, &atime, time_warp_seq, in __send_cap()
1360 &capsnap->mtime, &capsnap->atime, in __ceph_flush_snaps()
2493 struct timespec mtime, atime, ctime; in handle_cap_grant() local
2590 ceph_decode_timespec(&mtime, &grant->mtime); in handle_cap_grant()
2595 &ctime, &mtime, &atime); in handle_cap_grant()
Dfile.c575 struct timespec mtime = CURRENT_TIME; in ceph_sync_direct_write() local
637 ceph_osdc_build_request(req, pos, snapc, vino.snap, &mtime); in ceph_sync_direct_write()
693 struct timespec mtime = CURRENT_TIME; in ceph_sync_write() local
769 ceph_osdc_build_request(req, pos, snapc, vino.snap, &mtime); in ceph_sync_write()
Dsuper.h161 struct timespec mtime, atime, ctime; member
734 struct timespec *mtime, struct timespec *atime);
Dsnap.c572 capsnap->mtime = inode->i_mtime; in __ceph_finish_cap_snap()
Dmds_client.c2782 ceph_encode_timespec(&rec.v1.mtime, &inode->i_mtime); in encode_caps_cb()
/linux-4.1.27/include/linux/
Dstat.h31 struct timespec mtime; member
Df2fs_fs.h294 __le64 mtime; /* segment age for cleaning */ member
Dnfs_xdr.h65 struct timespec mtime; member
/linux-4.1.27/include/linux/ceph/
Dceph_fs.h355 struct ceph_timespec mtime; member
465 struct ceph_timespec ctime, mtime, atime; member
658 struct ceph_timespec mtime, atime, ctime; member
716 struct ceph_timespec mtime, atime; member
Dosd_client.h325 struct timespec *mtime);
367 struct timespec *mtime,
/linux-4.1.27/fs/ncpfs/
Ddir.c427 time_t mtime = 0; in ncp_readdir() local
457 mtime = ncp_obtain_mtime(dentry); in ncp_readdir()
459 if ((!mtime) || (mtime != ctl.head.mtime)) in ncp_readdir()
530 mtime = ncp_obtain_mtime(dentry); in ncp_readdir()
533 ctl.head.mtime = mtime; in ncp_readdir()
Dncplib_kernel.h188 time_t mtime; member
/linux-4.1.27/arch/x86/ia32/
Dsys_ia32.c88 __put_user(stat->mtime.tv_sec, &ubuf->st_mtime) || in cp_stat64()
89 __put_user(stat->mtime.tv_nsec, &ubuf->st_mtime_nsec) || in cp_stat64()
/linux-4.1.27/arch/sparc/kernel/
Dsys_sparc32.c90 err |= put_user(stat->mtime.tv_sec, &statbuf->st_mtime); in cp_compat_stat64()
91 err |= put_user(stat->mtime.tv_nsec, &statbuf->st_mtime_nsec); in cp_compat_stat64()
/linux-4.1.27/fs/jffs2/
Dfs.c115 ri->mtime = cpu_to_je32(I_SEC((ivalid & ATTR_MTIME)?iattr->ia_mtime:inode->i_mtime)); in jffs2_do_setattr()
150 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()
478 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode->i_mtime)); in jffs2_new_inode()
Dfile.c180 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(get_seconds()); in jffs2_write_begin()
288 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(get_seconds()); in jffs2_write_end()
Dgc.c806 ri.mtime = cpu_to_je32(JFFS2_F_I_MTIME(f)); in jffs2_garbage_collect_metadata()
1077 ri.mtime = cpu_to_je32(JFFS2_F_I_MTIME(f)); in jffs2_garbage_collect_hole()
1351 ri.mtime = cpu_to_je32(JFFS2_F_I_MTIME(f)); in jffs2_garbage_collect_dnode()
Dreadinode.c1192 latest_node->atime = latest_node->ctime = latest_node->mtime = cpu_to_je32(0); in jffs2_do_read_inode_internal()
1225 latest_node->ctime = latest_node->mtime = cpu_to_je32(rii.latest_mctime); in jffs2_do_read_inode_internal()
Ddebug.c821 printk(JFFS2_DBG "mtime:\t%#08x\n", je32_to_cpu(node.i.mtime)); in __jffs2_dbg_dump_node()
/linux-4.1.27/include/uapi/linux/
Dfuse.h153 uint64_t mtime; member
456 uint64_t mtime; member
Djffs2.h153 jint32_t mtime; /* Last modification time. */ member
/linux-4.1.27/tools/vm/
Dpage-types.c816 char atime[64], mtime[64]; in show_file() local
824 strftime(mtime, sizeof(mtime), "%c", localtime(&st->st_mtime)); in show_file()
827 mtime, now - st->st_mtime, in show_file()
/linux-4.1.27/arch/arm/kernel/
Dsys_oabi-compat.c136 tmp.st_mtime = stat->mtime.tv_sec; in cp_oldabi_stat64()
137 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_oldabi_stat64()
/linux-4.1.27/include/net/9p/
D9p.h403 u32 mtime; member
/linux-4.1.27/net/9p/
Dprotocol.c213 &stbuf->mtime, &stbuf->length, in p9pdu_vreadf()
436 stbuf->mtime, stbuf->length, in p9pdu_vwritef()
Dclient.c1703 ret->atime, ret->mtime, (unsigned long long)ret->length, in p9_client_stat()
1825 wst->atime, wst->mtime, (unsigned long long)wst->length, in p9_client_wstat()
/linux-4.1.27/fs/9p/
Dvfs_inode.c222 wstat->mtime = ~0; in v9fs_blank_wstat()
1112 wstat.mtime = iattr->ia_mtime.tv_sec; in v9fs_vfs_setattr()
1169 inode->i_mtime.tv_sec = stat->mtime; in v9fs_stat2inode()
1170 inode->i_ctime.tv_sec = stat->mtime; in v9fs_stat2inode()
/linux-4.1.27/fs/fuse/
Ddir.c834 attr->mtime = inode->i_mtime.tv_sec; in fuse_fillattr()
849 stat->mtime.tv_sec = attr->mtime; in fuse_fillattr()
850 stat->mtime.tv_nsec = attr->mtimensec; in fuse_fillattr()
1496 arg->mtime = iattr->ia_mtime.tv_sec; in iattr_to_fattr()
1581 inarg.mtime = inode->i_mtime.tv_sec; in fuse_flush_times()
Dinode.c176 inode->i_mtime.tv_sec = attr->mtime; in fuse_change_attributes_common()
236 .tv_sec = attr->mtime, in fuse_change_attributes()
257 inode->i_mtime.tv_sec = attr->mtime; in fuse_init_inode()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dnamei.c750 body->mtime > LTIME_S(inode->i_mtime)) { in ll_update_times()
752 inode->i_ino, LTIME_S(inode->i_mtime), body->mtime); in ll_update_times()
753 LTIME_S(inode->i_mtime) = body->mtime; in ll_update_times()
Dllite_lib.c1643 if (body->mtime > LTIME_S(inode->i_mtime)) { in ll_update_inode()
1646 body->mtime); in ll_update_inode()
1647 LTIME_S(inode->i_mtime) = body->mtime; in ll_update_inode()
1649 lli->lli_lvb.lvb_mtime = body->mtime; in ll_update_inode()
Ddir.c1547 st.st_mtime = body->mtime; in ll_dir_ioctl()
Dfile.c3045 stat->mtime = inode->i_mtime; in ll_getattr()
/linux-4.1.27/fs/cifs/
Ddir.c348 .mtime = NO_CHANGE_64, in cifs_do_create()
611 .mtime = NO_CHANGE_64, in cifs_mknod()
Dcifsproto.h320 __u64 mtime; member
Dinode.c1374 .mtime = NO_CHANGE_64,
2182 args->mtime = cifs_UnixTimeToNT(attrs->ia_mtime);
2184 args->mtime = NO_CHANGE_64;
Dfile.c550 .mtime = NO_CHANGE_64, in cifs_open()
Dcifssmb.c5983 data_offset->LastModificationTime = cpu_to_le64(args->mtime); in cifs_fill_unix_set_info()
/linux-4.1.27/fs/nfsd/
Dnfs3xdr.c183 p = encode_time3(p, &stat->mtime); in encode_fattr3()
213 lease_get_mtime(d_inode(dentry), &stat.mtime); in encode_post_op_attr()
632 &resp->stat.mtime); in nfs3svc_encode_attrstat()
Dnfs4xdr.c2702 p = xdr_encode_hyper(p, (s64)stat.mtime.tv_sec); in nfsd4_encode_fattr()
2703 *p++ = cpu_to_be32(stat.mtime.tv_nsec); in nfsd4_encode_fattr()
/linux-4.1.27/fs/overlayfs/
Dcopy_up.c176 .ia_mtime = stat->mtime, in ovl_set_timestamps()
/linux-4.1.27/fs/btrfs/
Ddelayed-inode.c1765 btrfs_set_stack_timespec_sec(&inode_item->mtime, in fill_stack_inode_item()
1767 btrfs_set_stack_timespec_nsec(&inode_item->mtime, in fill_stack_inode_item()
1816 inode->i_mtime.tv_sec = btrfs_stack_timespec_sec(&inode_item->mtime); in btrfs_fill_inode()
1817 inode->i_mtime.tv_nsec = btrfs_stack_timespec_nsec(&inode_item->mtime); in btrfs_fill_inode()
Dinode.c3616 inode->i_mtime.tv_sec = btrfs_timespec_sec(leaf, &inode_item->mtime); in btrfs_read_locked_inode()
3617 inode->i_mtime.tv_nsec = btrfs_timespec_nsec(leaf, &inode_item->mtime); in btrfs_read_locked_inode()
3752 btrfs_set_token_timespec_sec(leaf, &item->mtime, in fill_inode_item()
3754 btrfs_set_token_timespec_nsec(leaf, &item->mtime, in fill_inode_item()
Dtree-log.c3445 btrfs_set_token_timespec_sec(leaf, &item->mtime, in fill_inode_item()
3447 btrfs_set_token_timespec_nsec(leaf, &item->mtime, in fill_inode_item()
Dctree.h741 struct btrfs_timespec mtime; member
Dsend.c2490 TLV_PUT_BTRFS_TIMESPEC(sctx, BTRFS_SEND_A_MTIME, eb, &ii->mtime); in send_utimes()
/linux-4.1.27/Documentation/filesystems/
Docfs2.txt51 mtime or ctime
Dcoda.txt691 mode, owner, groupid, atime, mtime and ctime. The return value
785 and mtime changed.
827 mtime changes.
917 mtime and size may change.
946 its mtime and size may change.
Doverlayfs.txt151 mode, mtime, symlink-target etc.) and then if the object is a file, the
Dvfat.txt26 allow_utime=### -- This option controls the permission check of mtime/atime.
Dntfs.txt84 - The new driver supports access time updates (including mtime and ctime).
Dext4.txt89 * nsec timestamps for mtime, atime, ctime, create time
/linux-4.1.27/fs/afs/
Dfsclient.c180 u32 mask = 0, mtime = 0, owner = 0, group = 0, mode = 0; in xdr_encode_AFS_StoreStatus() local
185 mtime = attr->ia_mtime.tv_sec; in xdr_encode_AFS_StoreStatus()
204 *bp++ = htonl(mtime); in xdr_encode_AFS_StoreStatus()
/linux-4.1.27/arch/alpha/kernel/
Dosf_sys.c286 tmp.st_umtime = lstat->mtime.tv_nsec / 1000; in linux_to_osf_stat()
290 tmp.st_mtime = lstat->mtime.tv_sec; in linux_to_osf_stat()
/linux-4.1.27/arch/s390/kernel/
Dcompat_linux.c376 tmp.st_mtime = (u32)stat->mtime.tv_sec; in cp_stat64()
/linux-4.1.27/net/ceph/
Dosd_client.c2390 struct timespec *mtime) in ceph_osdc_build_request() argument
2412 ceph_encode_timespec(p, mtime); in ceph_osdc_build_request()
2724 struct timespec *mtime, in ceph_osdc_writepages() argument
2745 ceph_osdc_build_request(req, off, snapc, CEPH_NOSNAP, mtime); in ceph_osdc_writepages()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_init.c2288 unsigned long wtime, mtime, cs84xx_time; in qla2x00_fw_ready() local
2314 mtime = jiffies + (min_wait * HZ); in qla2x00_fw_ready()
2352 mtime += cs84xx_time; in qla2x00_fw_ready()
2376 if (time_after_eq(jiffies, mtime)) { in qla2x00_fw_ready()
2386 if (time_after_eq(jiffies, mtime) || in qla2x00_fw_ready()
/linux-4.1.27/fs/xfs/
Dxfs_iops.c466 stat->mtime = inode->i_mtime; in xfs_vn_getattr()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c1864 LASSERTF((int)offsetof(struct mdt_body, mtime) == 56, "found %lld\n", in lustre_assert_wire_constants()
1865 (long long)(int)offsetof(struct mdt_body, mtime)); in lustre_assert_wire_constants()
1866 LASSERTF((int)sizeof(((struct mdt_body *)0)->mtime) == 8, "found %lld\n", in lustre_assert_wire_constants()
1867 (long long)(int)sizeof(((struct mdt_body *)0)->mtime)); in lustre_assert_wire_constants()
Dpack_generic.c1836 __swab64s(&b->mtime); in lustre_swab_mdt_body()
/linux-4.1.27/Documentation/filesystems/cifs/
DCHANGES198 Fix mtime bouncing around from local idea of last write times to remote time.
330 Do not attempt to set ctime unless atime and/or mtime change requested
/linux-4.1.27/drivers/block/
Drbd.c1895 struct timespec mtime = CURRENT_TIME; in rbd_osd_req_format_write() local
1901 snapc, CEPH_NOSNAP, &mtime); in rbd_osd_req_format_write()
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2200 __s64 mtime; member
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt1933 will invalidate any COW files that are using it. The mtime and size