Home
last modified time | relevance | path

Searched refs:vfs_inode (Results 1 – 25 of 166) sorted by relevance

1234567

/fs/cifs/
Dfscache.c134 auxdata.last_write_time_sec = cifsi->vfs_inode.i_mtime.tv_sec; in cifs_fscache_acquire_inode_cookie()
135 auxdata.last_change_time_sec = cifsi->vfs_inode.i_ctime.tv_sec; in cifs_fscache_acquire_inode_cookie()
136 auxdata.last_write_time_nsec = cifsi->vfs_inode.i_mtime.tv_nsec; in cifs_fscache_acquire_inode_cookie()
137 auxdata.last_change_time_nsec = cifsi->vfs_inode.i_ctime.tv_nsec; in cifs_fscache_acquire_inode_cookie()
144 cifsi, cifsi->vfs_inode.i_size, true); in cifs_fscache_acquire_inode_cookie()
173 auxdata.last_write_time_sec = cifsi->vfs_inode.i_mtime.tv_sec; in cifs_fscache_release_inode_cookie()
174 auxdata.last_change_time_sec = cifsi->vfs_inode.i_ctime.tv_sec; in cifs_fscache_release_inode_cookie()
175 auxdata.last_write_time_nsec = cifsi->vfs_inode.i_mtime.tv_nsec; in cifs_fscache_release_inode_cookie()
176 auxdata.last_change_time_nsec = cifsi->vfs_inode.i_ctime.tv_nsec; in cifs_fscache_release_inode_cookie()
194 auxdata.last_write_time_sec = cifsi->vfs_inode.i_mtime.tv_sec; in cifs_fscache_update_inode_cookie()
[all …]
Dcache.c90 auxdata.last_write_time_sec = cifsi->vfs_inode.i_mtime.tv_sec; in cifs_fscache_inode_check_aux()
91 auxdata.last_change_time_sec = cifsi->vfs_inode.i_ctime.tv_sec; in cifs_fscache_inode_check_aux()
92 auxdata.last_write_time_nsec = cifsi->vfs_inode.i_mtime.tv_nsec; in cifs_fscache_inode_check_aux()
93 auxdata.last_change_time_nsec = cifsi->vfs_inode.i_ctime.tv_nsec; in cifs_fscache_inode_check_aux()
/fs/nfs/
Dfscache-index.c87 auxdata.mtime_sec = nfsi->vfs_inode.i_mtime.tv_sec; in nfs_fscache_inode_check_aux()
88 auxdata.mtime_nsec = nfsi->vfs_inode.i_mtime.tv_nsec; in nfs_fscache_inode_check_aux()
89 auxdata.ctime_sec = nfsi->vfs_inode.i_ctime.tv_sec; in nfs_fscache_inode_check_aux()
90 auxdata.ctime_nsec = nfsi->vfs_inode.i_ctime.tv_nsec; in nfs_fscache_inode_check_aux()
92 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_check_aux()
93 auxdata.change_attr = inode_peek_iversion_raw(&nfsi->vfs_inode); in nfs_fscache_inode_check_aux()
Dfscache.c232 auxdata->mtime_sec = nfsi->vfs_inode.i_mtime.tv_sec; in nfs_fscache_update_auxdata()
233 auxdata->mtime_nsec = nfsi->vfs_inode.i_mtime.tv_nsec; in nfs_fscache_update_auxdata()
234 auxdata->ctime_sec = nfsi->vfs_inode.i_ctime.tv_sec; in nfs_fscache_update_auxdata()
235 auxdata->ctime_nsec = nfsi->vfs_inode.i_ctime.tv_nsec; in nfs_fscache_update_auxdata()
237 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_update_auxdata()
238 auxdata->change_attr = inode_peek_iversion_raw(&nfsi->vfs_inode); in nfs_fscache_update_auxdata()
260 nfsi, nfsi->vfs_inode.i_size, false); in nfs_fscache_init_inode()
323 fscache_enable_cookie(cookie, &auxdata, nfsi->vfs_inode.i_size, in nfs_fscache_open_file()
/fs/afs/
Dinode.c91 set_nlink(&vnode->vfs_inode, status->nlink); in afs_inode_init_from_status()
133 inode_set_iversion_raw(&vnode->vfs_inode, status->data_version); in afs_inode_init_from_status()
157 struct inode *inode = &vnode->vfs_inode; in afs_apply_status()
283 clear_nlink(&vnode->vfs_inode); in afs_vnode_commit_status()
300 drop_nlink(&vnode->vfs_inode); in afs_vnode_commit_status()
301 if (vnode->vfs_inode.i_nlink == 0) { in afs_vnode_commit_status()
320 if (vnode->vfs_inode.i_state & I_NEW) { in afs_fetch_status_success()
448 struct super_block *sb = dvp->vnode->vfs_inode.i_sb; in afs_iget()
574 if (S_ISREG(vnode->vfs_inode.i_mode)) in afs_zap_data()
575 invalidate_remote_inode(&vnode->vfs_inode); in afs_zap_data()
[all …]
Ddir_edit.c202 i_size = i_size_read(&vnode->vfs_inode); in afs_edit_dir_add()
209 gfp = vnode->vfs_inode.i_mapping->gfp_mask; in afs_edit_dir_add()
210 page0 = find_or_create_page(vnode->vfs_inode.i_mapping, 0, gfp); in afs_edit_dir_add()
240 gfp = vnode->vfs_inode.i_mapping->gfp_mask; in afs_edit_dir_add()
241 page = find_or_create_page(vnode->vfs_inode.i_mapping, in afs_edit_dir_add()
331 inode_inc_iversion_raw(&vnode->vfs_inode); in afs_edit_dir_add()
378 i_size = i_size_read(&vnode->vfs_inode); in afs_edit_dir_remove()
387 page0 = find_lock_page(vnode->vfs_inode.i_mapping, 0); in afs_edit_dir_remove()
406 page = find_lock_page(vnode->vfs_inode.i_mapping, index); in afs_edit_dir_remove()
462 inode_set_iversion_raw(&vnode->vfs_inode, vnode->status.data_version); in afs_edit_dir_remove()
Ddir.c111 struct address_space *mapping = req->vnode->vfs_inode.i_mapping; in afs_dir_read_cleanup()
163 __func__, dvnode->vfs_inode.i_ino, tmp, qty, in afs_dir_check_page()
194 struct address_space *mapping = dvnode->vfs_inode.i_mapping; in afs_dir_dump()
230 struct address_space *mapping = dvnode->vfs_inode.i_mapping; in afs_dir_check()
300 i_size = i_size_read(&dvnode->vfs_inode); in afs_read_dir()
318 iov_iter_xarray(&req->def_iter, READ, &dvnode->vfs_inode.i_mapping->i_pages, in afs_read_dir()
330 n = find_get_pages_contig(dvnode->vfs_inode.i_mapping, i, in afs_read_dir()
337 gfp_t gfp = dvnode->vfs_inode.i_mapping->gfp_mask; in afs_read_dir()
347 dvnode->vfs_inode.i_mapping, in afs_read_dir()
561 slot = radix_tree_lookup_slot(&dvnode->vfs_inode.i_mapping->i_pages, in afs_dir_iterate()
[all …]
Dwrite.c135 i_size = i_size_read(&vnode->vfs_inode); in afs_write_end()
138 i_size = i_size_read(&vnode->vfs_inode); in afs_write_end()
263 struct address_space *mapping = vnode->vfs_inode.i_mapping; in afs_pages_written_back()
383 i_size = i_size_read(&vnode->vfs_inode); in afs_store_data()
393 op->mtime = vnode->vfs_inode.i_mtime; in afs_store_data()
556 loff_t i_size = i_size_read(&vnode->vfs_inode); in afs_write_back_from_locked_page()
818 if (IS_SWAPFILE(&vnode->vfs_inode)) { in afs_file_write()
931 if (!mapping_tagged(&vnode->vfs_inode.i_data, PAGECACHE_TAG_WRITEBACK) && in afs_prune_wb_keys()
932 !mapping_tagged(&vnode->vfs_inode.i_data, PAGECACHE_TAG_DIRTY)) { in afs_prune_wb_keys()
Dfs_operation.c235 iput(&op->file[0].vnode->vfs_inode); in afs_put_operation()
237 iput(&op->file[1].vnode->vfs_inode); in afs_put_operation()
242 iput(&op->more_files[i].vnode->vfs_inode); in afs_put_operation()
/fs/btrfs/
Dverity.c432 if (!inode->vfs_inode.i_nlink) in del_orphan()
458 ASSERT(inode_is_locked(&inode->vfs_inode)); in rollback_verity()
459 truncate_inode_pages(inode->vfs_inode.i_mapping, inode->vfs_inode.i_size); in rollback_verity()
465 (u64)inode->vfs_inode.i_ino); in rollback_verity()
479 (u64)inode->vfs_inode.i_ino); in rollback_verity()
483 btrfs_sync_inode_flags_to_i_flags(&inode->vfs_inode); in rollback_verity()
550 btrfs_sync_inode_flags_to_i_flags(&inode->vfs_inode); in finish_verity()
Dbtrfs_inode.h241 struct inode vfs_inode; member
251 return container_of(inode, struct btrfs_inode, vfs_inode); in BTRFS_I()
282 ino = inode->vfs_inode.i_ino; in btrfs_ino()
288 i_size_write(&inode->vfs_inode, size); in btrfs_i_size_write()
/fs/ceph/
Dcaps.c495 dout("__cap_set_timeouts %p %lu\n", &ci->vfs_inode, in __cap_set_timeouts()
510 dout("__cap_delay_requeue %p flags 0x%lx at %lu\n", &ci->vfs_inode, in __cap_delay_requeue()
534 dout("__cap_delay_requeue_front %p\n", &ci->vfs_inode); in __cap_delay_requeue_front()
551 dout("__cap_delay_cancel %p\n", &ci->vfs_inode); in __cap_delay_cancel()
571 if (S_ISREG(ci->vfs_inode.i_mode) && in __check_cap_issue()
586 if (S_ISDIR(ci->vfs_inode.i_mode)) { in __check_cap_issue()
587 dout(" marking %p NOT complete\n", &ci->vfs_inode); in __check_cap_issue()
593 if (S_ISDIR(ci->vfs_inode.i_mode) && (had & CEPH_CAP_DIR_CREATE) && in __check_cap_issue()
774 "but STALE (gen %u vs %u)\n", &cap->ci->vfs_inode, in __cap_is_valid()
800 &ci->vfs_inode, cap, ceph_cap_string(cap->issued)); in __ceph_caps_issued()
[all …]
/fs/squashfs/
Dsquashfs_fs_i.h33 struct inode vfs_inode; member
39 return container_of(inode, struct squashfs_inode_info, vfs_inode); in squashfs_i()
/fs/romfs/
Dinternal.h11 struct inode vfs_inode; member
23 return container_of(inode, struct romfs_inode_info, vfs_inode); in ROMFS_I()
/fs/ntfs3/
Dattrib.c300 page = grab_cache_page(ni->vfs_inode.i_mapping, 0); in attr_make_nonresident()
788 if (ni->vfs_inode.i_size != new_size) { in attr_set_size()
789 ni->vfs_inode.i_size = new_size; in attr_set_size()
795 if (inode_get_bytes(&ni->vfs_inode) != new_alloc) { in attr_set_size()
796 inode_set_bytes(&ni->vfs_inode, new_alloc); in attr_set_size()
803 mark_inode_dirty(&ni->vfs_inode); in attr_set_size()
954 inode_set_bytes(&ni->vfs_inode, total_size); in attr_data_get_block()
958 mark_inode_dirty(&ni->vfs_inode); in attr_data_get_block()
1227 if (ni->vfs_inode.i_size < 0x100000000ull) { in attr_wof_frame_info()
1245 ntfs_inode_err(&ni->vfs_inode, "is corrupted"); in attr_wof_frame_info()
[all …]
Dsuper.c408 memset(ni, 0, offsetof(struct ntfs_inode, vfs_inode)); in ntfs_alloc_inode()
412 return &ni->vfs_inode; in ntfs_alloc_inode()
434 inode_init_once(&ni->vfs_inode); in init_once()
450 iput(&sbi->mft.ni->vfs_inode); in put_ntfs()
453 iput(&sbi->security.ni->vfs_inode); in put_ntfs()
456 iput(&sbi->reparse.ni->vfs_inode); in put_ntfs()
459 iput(&sbi->objid.ni->vfs_inode); in put_ntfs()
462 iput(&sbi->volume.ni->vfs_inode); in put_ntfs()
563 inode = &ni->vfs_inode; in ntfs_sync_fs()
571 inode = &ni->vfs_inode; in ntfs_sync_fs()
[all …]
/fs/bfs/
Dbfs.h38 struct inode vfs_inode; member
48 return container_of(inode, struct bfs_inode_info, vfs_inode); in BFS_I()
/fs/udf/
Dudf_i.h56 struct inode vfs_inode; member
61 return container_of(inode, struct udf_inode_info, vfs_inode); in UDF_I()
/fs/qnx4/
Dqnx4.h21 struct inode vfs_inode; member
40 return container_of(inode, struct qnx4_inode_info, vfs_inode); in qnx4_i()
/fs/ntfs/
Dinode.h217 struct inode vfs_inode; /* The vfs inode structure. */ member
228 return (ntfs_inode *)container_of(inode, big_ntfs_inode, vfs_inode); in NTFS_I()
233 return &((big_ntfs_inode *)ni)->vfs_inode; in VFS_I()
/fs/overlayfs/
Dovl_entry.h140 struct inode vfs_inode; member
150 return container_of(inode, struct ovl_inode, vfs_inode); in OVL_I()
/fs/openpromfs/
Dinode.c38 struct inode vfs_inode; member
47 return container_of(inode, struct op_inode_info, vfs_inode); in OP_I()
342 return &oi->vfs_inode; in openprom_alloc_inode()
439 inode_init_once(&oi->vfs_inode); in op_inode_init_once()
/fs/efs/
Defs.h81 struct inode vfs_inode; member
120 return container_of(inode, struct efs_inode_info, vfs_inode); in INODE_INFO()
/fs/befs/
Dbefs.h76 struct inode vfs_inode; member
119 return container_of(inode, struct befs_inode_info, vfs_inode); in BEFS_I()
/fs/ocfs2/
Dinode.h49 struct inode vfs_inode; member
104 return container_of(inode, struct ocfs2_inode_info, vfs_inode); in OCFS2_I()

1234567