/linux-master/fs/ceph/ |
H A D | inode.c | 749 * Helpers to fill in size, ctime, mtime, and atime. We have to be 752 * time_warp_seq or truncate_seq have increased. (Ordinarily, mtime 830 struct timespec64 *mtime, struct timespec64 *atime) 852 doutc(cl, "mtime %lld.%09ld -> %lld.%09ld tw %d -> %d\n", 855 mtime->tv_sec, mtime->tv_nsec, 858 inode_set_mtime_to_ts(inode, *mtime); 866 if (timespec64_compare(mtime, &ts) > 0) { 867 doutc(cl, "mtime %lld.%09ld -> %lld.%09ld inc\n", 869 mtime 828 ceph_fill_file_time(struct inode *inode, int issued, u64 time_warp_seq, struct timespec64 *ctime, struct timespec64 *mtime, struct timespec64 *atime) argument 949 struct timespec64 mtime, atime, ctime; local 2680 struct timespec64 mtime = inode_get_mtime(inode); local [all...] |
/linux-master/fs/overlayfs/ |
H A D | file.c | 231 /* Update size/mtime */ 239 struct timespec64 mtime, umtime; local 252 mtime = inode_get_mtime(inode); 254 if ((!timespec64_equal(&mtime, &umtime)) ||
|
/linux-master/fs/vboxsf/ |
H A D | utils.c | 197 struct timespec64 mtime, prev_mtime; local 228 mtime = inode_get_mtime(inode); 229 if (timespec64_compare(&mtime, &prev_mtime) > 0)
|
/linux-master/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 140 tmp.st_mtime = stat->mtime.tv_sec; 141 tmp.st_mtime_nsec = stat->mtime.tv_nsec;
|
/linux-master/fs/fat/ |
H A D | inode.c | 515 struct timespec64 mtime; local 565 fat_time_fat2unix(sbi, &mtime, de->time, de->date, 0); 566 inode_set_mtime_to_ts(inode, mtime); 567 inode_set_ctime_to_ts(inode, mtime); 576 inode_set_atime_to_ts(inode, fat_truncate_atime(sbi, &mtime)); 857 struct timespec64 mtime; local 891 mtime = inode_get_mtime(inode); 892 fat_time_unix2fat(sbi, &mtime, &raw_entry->time,
|
/linux-master/fs/fuse/ |
H A D | inode.c | 234 /* mtime from server may be stale due to local buffered write */ 236 inode_set_mtime(inode, attr->mtime, attr->mtimensec); 310 * In case of writeback_cache enabled, writes update mtime, ctime and 319 attr->mtime = inode_get_mtime_sec(inode); 355 .tv_sec = attr->mtime, 360 * Auto inval mode also checks and invalidates if mtime 387 inode_set_mtime(inode, attr->mtime, attr->mtimensec); 1527 struct timespec64 mtime = inode_get_mtime(&fi->inode); local 1535 .mtime = mtime [all...] |
H A D | dir.c | 1146 stat->mtime.tv_sec = attr->mtime; 1147 stat->mtime.tv_nsec = attr->mtimensec; 1168 attr->mtime = sx->mtime.tv_sec; 1171 attr->mtimensec = sx->mtime.tv_nsec; 1725 /* Always update if mtime is explicitly set */ 1763 arg->mtime = iattr->ia_mtime.tv_sec; 1847 inarg.mtime = inode_get_mtime_sec(inode);
|
/linux-master/fs/orangefs/ |
H A D | protocol.h | 231 __u64 mtime; member in struct:ORANGEFS_sys_attr_s
|
H A D | orangefs-utils.c | 165 attrs->mtime = (time64_t) inode_get_mtime_sec(inode); 364 (time64_t)new_op->downcall.resp.getattr.attributes.mtime,
|
/linux-master/tools/mm/ |
H A D | page-types.c | 940 char atime[64], mtime[64]; local 948 strftime(mtime, sizeof(mtime), "%c", localtime(&st->st_mtime)); 951 mtime, now - st->st_mtime,
|
/linux-master/include/net/9p/ |
H A D | 9p.h | 377 * @mtime: Last modify/write time 398 u32 mtime; member in struct:p9_wstat
|
/linux-master/usr/ |
H A D | gen_initramfs.sh | 26 -d <date> Use date for all file mtime values
|
/linux-master/fs/jffs2/ |
H A D | fs.c | 117 ri->mtime = cpu_to_je32(I_SEC((ivalid & ATTR_MTIME)?iattr->ia_mtime:inode_get_mtime(inode))); 152 inode_set_mtime_to_ts(inode, ITIME(je32_to_cpu(ri->mtime))); 286 inode_set_mtime_to_ts(inode, ITIME(je32_to_cpu(latest_node.mtime))); 479 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode_get_mtime(inode)));
|
H A D | gc.c | 826 ri.mtime = cpu_to_je32(JFFS2_F_I_MTIME(f)); 992 /* FIXME: If we're deleting a dirent which contains the current mtime and ctime, 1097 ri.mtime = cpu_to_je32(JFFS2_F_I_MTIME(f)); 1375 ri.mtime = cpu_to_je32(JFFS2_F_I_MTIME(f));
|
/linux-master/fs/afs/ |
H A D | write.c | 135 op->mtime = inode_get_mtime(&vnode->netfs.inode);
|
H A D | fsclient.c | 178 u32 mask = 0, mtime = 0, owner = 0, group = 0, mode = 0; local 183 mtime = attr->ia_mtime.tv_sec; 202 *bp++ = htonl(mtime); 559 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ 613 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ 912 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ 1090 *bp++ = htonl(op->mtime [all...] |
/linux-master/fs/9p/ |
H A D | vfs_inode.c | 211 wstat->mtime = ~0; 1018 wstat.mtime = iattr->ia_mtime.tv_sec; 1089 inode_set_mtime(inode, stat->mtime, 0); 1090 inode_set_ctime(inode, stat->mtime, 0);
|
/linux-master/net/9p/ |
H A D | protocol.c | 369 &stbuf->mtime, &stbuf->length, 602 stbuf->mtime, stbuf->length,
|
/linux-master/fs/nfsd/ |
H A D | nfsfh.c | 636 fhp->fh_pre_mtime = stat.mtime; 687 fhp->fh_pre_mtime = fhp->fh_post_attr.mtime;
|
H A D | nfs3xdr.c | 380 p = encode_nfstime3(p, &stat->mtime); 444 lease_get_mtime(d_inode(dentry), &stat.mtime); 746 lease_get_mtime(d_inode(resp->fh.fh_dentry), &resp->stat.mtime);
|
/linux-master/arch/s390/kernel/ |
H A D | compat_linux.c | 144 tmp.st_mtime = (u32)stat->mtime.tv_sec;
|
/linux-master/fs/xfs/ |
H A D | xfs_bmap_util.c | 1498 struct timespec64 ctime, mtime; local 1612 mtime = inode_get_mtime(VFS_I(ip)); 1615 (sbp->bs_mtime.tv_sec != mtime.tv_sec) || 1616 (sbp->bs_mtime.tv_nsec != mtime.tv_nsec)) {
|
/linux-master/fs/f2fs/ |
H A D | segment.c | 2385 return get_seg_entry(sbi, segno)->mtime; 2394 unsigned long long mtime = old_mtime ? old_mtime : ctime; local 2401 if (!se->mtime) 2402 se->mtime = mtime; 2404 se->mtime = div_u64(se->mtime * se->valid_blocks + mtime, 3568 AT_SSR, se->mtime); 5313 unsigned long long mtime local [all...] |
/linux-master/fs/ |
H A D | inode.c | 1800 * earlier than or equal to either the ctime or mtime, 1806 struct timespec64 atime, mtime, ctime; local 1811 * Is mtime younger than or equal to atime? If yes, update atime: 1814 mtime = inode_get_mtime(inode); 1815 if (timespec64_compare(&mtime, &atime) >= 0) 1859 struct timespec64 mtime = inode_get_mtime(inode); local 1864 if (!timespec64_equal(&now, &mtime)) { 2117 * file_update_time - update mtime and ctime time 2120 * Update the mtime and ctime members of an inode and mark the inode for
|
/linux-master/fs/exfat/ |
H A D | namei.c | 535 memset(&info->mtime, 0, sizeof(info->mtime)); 653 exfat_get_entry_time(sbi, &info->mtime,
|