Home
last modified time | relevance | path

Searched refs:i_mtime (Results 1 – 25 of 192) sorted by relevance

12345678

/fs/fuse/
Dpassthrough.c29 if ((!timespec64_equal(&dst_inode->i_mtime, &src_inode->i_mtime) || in fuse_file_accessed()
31 dst_inode->i_mtime = src_inode->i_mtime; in fuse_file_accessed()
44 dst->i_mtime = src->i_mtime; in fuse_copyattr()
/fs/hpfs/
Dnamei.c15 if (t == dir->i_mtime.tv_sec && in hpfs_update_directory_times()
18 dir->i_mtime.tv_sec = dir->i_ctime.tv_sec = t; in hpfs_update_directory_times()
19 dir->i_mtime.tv_nsec = dir->i_ctime.tv_nsec = 0; in hpfs_update_directory_times()
62 …result->i_ctime.tv_sec = result->i_mtime.tv_sec = result->i_atime.tv_sec = local_to_gmt(dir->i_sb,… in hpfs_mkdir()
64 result->i_mtime.tv_nsec = 0; in hpfs_mkdir()
170 …result->i_ctime.tv_sec = result->i_mtime.tv_sec = result->i_atime.tv_sec = local_to_gmt(dir->i_sb,… in hpfs_create()
172 result->i_mtime.tv_nsec = 0; in hpfs_create()
253 …result->i_ctime.tv_sec = result->i_mtime.tv_sec = result->i_atime.tv_sec = local_to_gmt(dir->i_sb,… in hpfs_mknod()
255 result->i_mtime.tv_nsec = 0; in hpfs_mknod()
329 …result->i_ctime.tv_sec = result->i_mtime.tv_sec = result->i_atime.tv_sec = local_to_gmt(dir->i_sb,… in hpfs_symlink()
[all …]
Dinode.c40 i->i_mtime.tv_sec = i->i_mtime.tv_nsec = 0; in hpfs_init_inode()
233 de->write_date = cpu_to_le32(gmt_to_local(i->i_sb, i->i_mtime.tv_sec)); in hpfs_write_inode_nolock()
243 de->write_date = cpu_to_le32(gmt_to_local(i->i_sb, i->i_mtime.tv_sec)); in hpfs_write_inode_nolock()
/fs/sysv/
Dinode.c204 inode->i_mtime.tv_sec = fs32_to_cpu(sbi, raw_inode->i_mtime); in sysv_iget()
208 inode->i_mtime.tv_nsec = 0; in sysv_iget()
258 raw_inode->i_mtime = cpu_to_fs32(sbi, inode->i_mtime.tv_sec); in __sysv_write_inode()
/fs/jffs2/
Ddir.c207 dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(ri->ctime)); in jffs2_create()
240 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_unlink()
274 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_link()
425 dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(rd->mctime)); in jffs2_symlink()
569 dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(rd->mctime)); in jffs2_mkdir()
610 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_rmdir()
746 dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(rd->mctime)); in jffs2_mknod()
867 new_dir_i->i_mtime = new_dir_i->i_ctime = ITIME(now); in jffs2_rename()
874 new_dir_i->i_mtime = new_dir_i->i_ctime = old_dir_i->i_mtime = old_dir_i->i_ctime = ITIME(now); in jffs2_rename()
Dfs.c117 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()
390 iattr.ia_mtime = inode->i_mtime; in jffs2_dirty_inode()
478 inode->i_atime = inode->i_ctime = inode->i_mtime = current_time(inode); in jffs2_new_inode()
479 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode->i_mtime)); in jffs2_new_inode()
/fs/minix/
Dinode.c504 inode->i_mtime.tv_sec = inode->i_atime.tv_sec = inode->i_ctime.tv_sec = raw_inode->i_time; in V1_minix_iget()
505 inode->i_mtime.tv_nsec = 0; in V1_minix_iget()
544 inode->i_mtime.tv_sec = raw_inode->i_mtime; in V2_minix_iget()
547 inode->i_mtime.tv_nsec = 0; in V2_minix_iget()
596 raw_inode->i_time = inode->i_mtime.tv_sec; in V1_minix_update_inode()
623 raw_inode->i_mtime = inode->i_mtime.tv_sec; in V2_minix_update_inode()
/fs/
Dstack.c70 dest->i_mtime = src->i_mtime; in fsstack_copy_attr_all()
Dlibfs.c301 inode->i_ctime = inode->i_mtime = in simple_recursive_removal()
343 root->i_atime = root->i_mtime = root->i_ctime = current_time(root); in pseudo_fs_fill_super()
399 inode->i_ctime = dir->i_ctime = dir->i_mtime = current_time(inode); in simple_link()
433 inode->i_ctime = dir->i_ctime = dir->i_mtime = current_time(inode); in simple_unlink()
467 old_dir->i_ctime = old_dir->i_mtime = in simple_rename_exchange()
468 new_dir->i_ctime = new_dir->i_mtime = in simple_rename_exchange()
503 old_dir->i_ctime = old_dir->i_mtime = new_dir->i_ctime = in simple_rename()
504 new_dir->i_mtime = inode->i_ctime = current_time(old_dir); in simple_rename()
667 inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode); in simple_fill_super()
693 inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode); in simple_fill_super()
[all …]
/fs/adfs/
Dinode.c271 adfs_adfs2unix_time(&inode->i_mtime, inode); in adfs_iget()
272 inode->i_atime = inode->i_mtime; in adfs_iget()
273 inode->i_ctime = inode->i_mtime; in adfs_iget()
324 adfs_adfs2unix_time(&inode->i_mtime, inode); in adfs_notify_change()
/fs/configfs/
Dinode.c91 inode->i_atime = inode->i_mtime = in set_default_inode_attr()
101 inode->i_mtime = iattr->ia_mtime; in set_inode_attr()
175 p_inode->i_mtime = p_inode->i_ctime = current_time(p_inode); in configfs_create()
/fs/affs/
Dinode.c152 inode->i_mtime.tv_sec = inode->i_atime.tv_sec = inode->i_ctime.tv_sec in affs_iget()
158 inode->i_mtime.tv_nsec = inode->i_ctime.tv_nsec = inode->i_atime.tv_nsec = 0; in affs_iget()
190 affs_secs_to_datestamp(inode->i_mtime.tv_sec, in affs_write_inode()
195 affs_secs_to_datestamp(inode->i_mtime.tv_sec, &tail->change); in affs_write_inode()
317 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in affs_new_inode()
/fs/ubifs/
Ddir.c99 inode->i_mtime = inode->i_atime = inode->i_ctime = in ubifs_new_inode()
328 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_create()
771 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_link()
845 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_unlink()
948 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_rmdir()
1022 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_mkdir()
1113 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_mknod()
1213 dir->i_mtime = dir->i_ctime = inode->i_ctime; in ubifs_symlink()
1449 old_dir->i_mtime = old_dir->i_ctime = time; in do_rename()
1450 new_dir->i_mtime = new_dir->i_ctime = time; in do_rename()
[all …]
/fs/ramfs/
Dinode.c68 inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode); in ramfs_get_inode()
108 dir->i_mtime = dir->i_ctime = current_time(dir); in ramfs_mknod()
141 dir->i_mtime = dir->i_ctime = current_time(dir); in ramfs_symlink()
/fs/bfs/
Dinode.c84 inode->i_mtime.tv_sec = le32_to_cpu(di->i_mtime); in bfs_iget()
87 inode->i_mtime.tv_nsec = 0; in bfs_iget()
145 di->i_mtime = cpu_to_le32(inode->i_mtime.tv_sec); in bfs_write_inode()
Ddir.c100 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in bfs_create()
190 dir->i_ctime = dir->i_mtime = current_time(dir); in bfs_unlink()
243 old_dir->i_ctime = old_dir->i_mtime = current_time(old_dir); in bfs_rename()
297 dir->i_mtime = current_time(dir); in bfs_add_entry()
/fs/nfs/
Dfscache.h89 auxdata->mtime_sec = inode->i_mtime.tv_sec; in nfs_fscache_update_auxdata()
90 auxdata->mtime_nsec = inode->i_mtime.tv_nsec; in nfs_fscache_update_auxdata()
/fs/exfat/
Dnamei.c574 dir->i_ctime = dir->i_mtime = current_time(dir); in exfat_create()
587 inode->i_mtime = inode->i_atime = inode->i_ctime = in exfat_create()
829 dir->i_mtime = dir->i_atime = current_time(dir); in exfat_unlink()
837 inode->i_mtime = inode->i_atime = current_time(inode); in exfat_unlink()
864 dir->i_ctime = dir->i_mtime = current_time(dir); in exfat_mkdir()
878 inode->i_mtime = inode->i_atime = inode->i_ctime = in exfat_mkdir()
994 dir->i_mtime = dir->i_atime = current_time(dir); in exfat_rmdir()
1003 inode->i_mtime = inode->i_atime = current_time(inode); in exfat_rmdir()
1335 new_dir->i_ctime = new_dir->i_mtime = new_dir->i_atime = in exfat_rename()
1359 old_dir->i_ctime = old_dir->i_mtime = current_time(old_dir); in exfat_rename()
/fs/nilfs2/
Dinode.c369 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in nilfs_new_inode()
452 inode->i_atime.tv_sec = le64_to_cpu(raw_inode->i_mtime); in nilfs_read_inode_common()
454 inode->i_mtime.tv_sec = le64_to_cpu(raw_inode->i_mtime); in nilfs_read_inode_common()
457 inode->i_mtime.tv_nsec = le32_to_cpu(raw_inode->i_mtime_nsec); in nilfs_read_inode_common()
772 raw_inode->i_mtime = cpu_to_le64(inode->i_mtime.tv_sec); in nilfs_write_inode_common()
774 raw_inode->i_mtime_nsec = cpu_to_le32(inode->i_mtime.tv_nsec); in nilfs_write_inode_common()
878 inode->i_mtime = inode->i_ctime = current_time(inode); in nilfs_truncate()
/fs/jfs/
Dnamei.c152 dip->i_ctime = dip->i_mtime = current_time(dip); in jfs_create()
287 dip->i_ctime = dip->i_mtime = current_time(dip); in jfs_mkdir()
393 dip->i_ctime = dip->i_mtime = current_time(dip); in jfs_rmdir()
515 ip->i_ctime = dip->i_ctime = dip->i_mtime = current_time(ip); in jfs_unlink()
831 dir->i_ctime = dir->i_mtime = current_time(dir); in jfs_link()
1031 dip->i_ctime = dip->i_mtime = current_time(dip); in jfs_symlink()
1274 new_dir->i_ctime = new_dir->i_mtime = current_time(new_dir); in jfs_rename()
1286 old_dir->i_ctime = old_dir->i_mtime = current_time(old_dir); in jfs_rename()
1419 dir->i_ctime = dir->i_mtime = current_time(dir); in jfs_mknod()
/fs/hfs/
Dcatalog.c136 dir->i_mtime = dir->i_ctime = current_time(dir); in hfs_cat_create()
272 dir->i_mtime = dir->i_ctime = current_time(dir); in hfs_cat_delete()
340 dst_dir->i_mtime = dst_dir->i_ctime = current_time(dst_dir); in hfs_cat_move()
352 src_dir->i_mtime = src_dir->i_ctime = current_time(src_dir); in hfs_cat_move()
Dinode.c203 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in hfs_new_inode()
358 inode->i_ctime = inode->i_atime = inode->i_mtime = in hfs_read_inode()
369 inode->i_ctime = inode->i_atime = inode->i_mtime = in hfs_read_inode()
477 rec.dir.MdDat = hfs_u_to_mtime(inode->i_mtime); in hfs_write_inode()
505 rec.file.MdDat = hfs_u_to_mtime(inode->i_mtime); in hfs_write_inode()
657 inode->i_atime = inode->i_mtime = inode->i_ctime = in hfs_inode_setattr()
/fs/smb/client/
Dfscache.h55 cd->last_write_time_sec = cpu_to_le64(cifsi->netfs.inode.i_mtime.tv_sec); in cifs_fscache_fill_coherency()
56 cd->last_write_time_nsec = cpu_to_le32(cifsi->netfs.inode.i_mtime.tv_nsec); in cifs_fscache_fill_coherency()
/fs/hfsplus/
Dinode.c270 inode->i_mtime = inode->i_ctime = current_time(inode); in hfsplus_setattr()
395 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in hfsplus_new_inode()
525 inode->i_mtime = hfsp_mt2ut(folder->content_mod_date); in hfsplus_cat_read_inode()
566 inode->i_mtime = hfsp_mt2ut(file->content_mod_date); in hfsplus_cat_read_inode()
611 folder->content_mod_date = hfsp_ut2mt(inode->i_mtime); in hfsplus_cat_write_inode()
646 file->content_mod_date = hfsp_ut2mt(inode->i_mtime); in hfsplus_cat_write_inode()
/fs/ocfs2/
Dinode.c307 inode->i_mtime.tv_sec = le64_to_cpu(fe->i_mtime); in ocfs2_populate_inode()
308 inode->i_mtime.tv_nsec = le32_to_cpu(fe->i_mtime_nsec); in ocfs2_populate_inode()
1319 fe->i_mtime = cpu_to_le64(inode->i_mtime.tv_sec); in ocfs2_mark_inode_dirty()
1320 fe->i_mtime_nsec = cpu_to_le32(inode->i_mtime.tv_nsec); in ocfs2_mark_inode_dirty()
1353 inode->i_mtime.tv_sec = le64_to_cpu(fe->i_mtime); in ocfs2_refresh_inode()
1354 inode->i_mtime.tv_nsec = le32_to_cpu(fe->i_mtime_nsec); in ocfs2_refresh_inode()

12345678