Home
last modified time | relevance | path

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

123456

/fs/cifs/
Dfscache.c132 auxdata.last_write_time_sec = cifsi->vfs_inode.i_mtime.tv_sec; in cifs_fscache_acquire_inode_cookie()
133 auxdata.last_change_time_sec = cifsi->vfs_inode.i_ctime.tv_sec; in cifs_fscache_acquire_inode_cookie()
134 auxdata.last_write_time_nsec = cifsi->vfs_inode.i_mtime.tv_nsec; in cifs_fscache_acquire_inode_cookie()
135 auxdata.last_change_time_nsec = cifsi->vfs_inode.i_ctime.tv_nsec; in cifs_fscache_acquire_inode_cookie()
142 cifsi, cifsi->vfs_inode.i_size, true); in cifs_fscache_acquire_inode_cookie()
171 auxdata.last_write_time_sec = cifsi->vfs_inode.i_mtime.tv_sec; in cifs_fscache_release_inode_cookie()
172 auxdata.last_change_time_sec = cifsi->vfs_inode.i_ctime.tv_sec; in cifs_fscache_release_inode_cookie()
173 auxdata.last_write_time_nsec = cifsi->vfs_inode.i_mtime.tv_nsec; in cifs_fscache_release_inode_cookie()
174 auxdata.last_change_time_nsec = cifsi->vfs_inode.i_ctime.tv_nsec; in cifs_fscache_release_inode_cookie()
314 cifsi->vfs_inode.i_size, GFP_KERNEL); in __cifs_readpage_to_fscache()
Dcache.c131 auxdata.last_write_time_sec = cifsi->vfs_inode.i_mtime.tv_sec; in cifs_fscache_inode_check_aux()
132 auxdata.last_change_time_sec = cifsi->vfs_inode.i_ctime.tv_sec; in cifs_fscache_inode_check_aux()
133 auxdata.last_write_time_nsec = cifsi->vfs_inode.i_mtime.tv_nsec; in cifs_fscache_inode_check_aux()
134 auxdata.last_change_time_nsec = cifsi->vfs_inode.i_ctime.tv_nsec; in cifs_fscache_inode_check_aux()
/fs/afs/
Dinode.c64 i_size_write(&vnode->vfs_inode, size); in afs_set_i_size()
65 vnode->vfs_inode.i_blocks = ((size + 1023) >> 10) << 1; in afs_set_i_size()
98 set_nlink(&vnode->vfs_inode, status->nlink); in afs_inode_init_from_status()
140 inode_set_iversion_raw(&vnode->vfs_inode, status->data_version); in afs_inode_init_from_status()
188 set_nlink(&vnode->vfs_inode, status->nlink); in afs_apply_status()
191 vnode->vfs_inode.i_uid = make_kuid(&init_user_ns, status->owner); in afs_apply_status()
194 vnode->vfs_inode.i_gid = make_kgid(&init_user_ns, status->group); in afs_apply_status()
197 mode = vnode->vfs_inode.i_mode; in afs_apply_status()
200 WRITE_ONCE(vnode->vfs_inode.i_mode, mode); in afs_apply_status()
204 vnode->vfs_inode.i_ctime = t; in afs_apply_status()
[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()
241 gfp = vnode->vfs_inode.i_mapping->gfp_mask; in afs_edit_dir_add()
242 page = find_or_create_page(vnode->vfs_inode.i_mapping, in afs_edit_dir_add()
269 i_size_write(&vnode->vfs_inode, (b + 1) * AFS_DIR_BLOCK_SIZE); in afs_edit_dir_add()
302 i_size_write(&vnode->vfs_inode, i_size); in afs_edit_dir_add()
334 inode_inc_iversion_raw(&vnode->vfs_inode); in afs_edit_dir_add()
381 i_size = i_size_read(&vnode->vfs_inode); in afs_edit_dir_remove()
390 page0 = find_lock_page(vnode->vfs_inode.i_mapping, 0); in afs_edit_dir_remove()
[all …]
Ddir_silly.c115 ihold(&vnode->vfs_inode); in afs_sillyrename()
131 iput(&vnode->vfs_inode); in afs_sillyrename()
178 drop_nlink(&vnode->vfs_inode); in afs_do_silly_unlink()
179 if (vnode->vfs_inode.i_nlink == 0) { in afs_do_silly_unlink()
Dwrite.c38 if (pos >= vnode->vfs_inode.i_size) { in afs_fill_page()
195 i_size = i_size_read(&vnode->vfs_inode); in afs_write_end()
198 i_size = i_size_read(&vnode->vfs_inode); in afs_write_end()
200 i_size_write(&vnode->vfs_inode, maybe_i_size); in afs_write_end()
332 pv.nr = find_get_pages_contig(vnode->vfs_inode.i_mapping, in afs_pages_written_back()
740 if (IS_SWAPFILE(&vnode->vfs_inode)) { in afs_file_write()
830 if (!mapping_tagged(&vnode->vfs_inode.i_data, PAGECACHE_TAG_WRITEBACK) && in afs_prune_wb_keys()
831 !mapping_tagged(&vnode->vfs_inode.i_data, PAGECACHE_TAG_DIRTY)) { in afs_prune_wb_keys()
Ddir.c136 __func__, dvnode->vfs_inode.i_ino, tmp, qty, in afs_dir_check_page()
223 i_size = i_size_read(&dvnode->vfs_inode); in afs_read_dir()
266 n = find_get_pages_contig(dvnode->vfs_inode.i_mapping, i, in afs_read_dir()
271 gfp_t gfp = dvnode->vfs_inode.i_mapping->gfp_mask; in afs_read_dir()
281 dvnode->vfs_inode.i_mapping, in afs_read_dir()
1095 ret = afs_do_lookup_one(&dir->vfs_inode, dentry, &fid, key, &dir_version); in afs_d_revalidate()
1126 vnode->vfs_inode.i_generation); in afs_d_revalidate()
1229 inode = afs_iget(fc->vnode->vfs_inode.i_sb, fc->key, in afs_vnode_new_inode()
1347 clear_nlink(&vnode->vfs_inode); in afs_dir_remove_subdir()
1444 drop_nlink(&vnode->vfs_inode); in afs_dir_remove_link()
[all …]
/fs/nfs/
Dfscache-index.c87 auxdata.mtime = timespec64_to_timespec(nfsi->vfs_inode.i_mtime); in nfs_fscache_inode_check_aux()
88 auxdata.ctime = timespec64_to_timespec(nfsi->vfs_inode.i_ctime); in nfs_fscache_inode_check_aux()
90 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_check_aux()
91 auxdata.change_attr = inode_peek_iversion_raw(&nfsi->vfs_inode); in nfs_fscache_inode_check_aux()
Dfscache.c241 auxdata.mtime = timespec64_to_timespec(nfsi->vfs_inode.i_mtime); in nfs_fscache_init_inode()
242 auxdata.ctime = timespec64_to_timespec(nfsi->vfs_inode.i_ctime); in nfs_fscache_init_inode()
244 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_init_inode()
245 auxdata.change_attr = inode_peek_iversion_raw(&nfsi->vfs_inode); in nfs_fscache_init_inode()
251 nfsi, nfsi->vfs_inode.i_size, false); in nfs_fscache_init_inode()
266 auxdata.mtime = timespec64_to_timespec(nfsi->vfs_inode.i_mtime); in nfs_fscache_clear_inode()
267 auxdata.ctime = timespec64_to_timespec(nfsi->vfs_inode.i_ctime); in nfs_fscache_clear_inode()
308 auxdata.mtime = timespec64_to_timespec(nfsi->vfs_inode.i_mtime); in nfs_fscache_open_file()
309 auxdata.ctime = timespec64_to_timespec(nfsi->vfs_inode.i_ctime); in nfs_fscache_open_file()
318 fscache_enable_cookie(cookie, &auxdata, nfsi->vfs_inode.i_size, in nfs_fscache_open_file()
/fs/btrfs/
Dbtrfs_inode.h197 struct inode vfs_inode; member
202 return container_of(inode, struct btrfs_inode, vfs_inode); in BTRFS_I()
233 ino = inode->vfs_inode.i_ino; in btrfs_ino()
239 i_size_write(&inode->vfs_inode, size); in btrfs_i_size_write()
/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/sdcardfs/
Dsuper.c170 memset(i, 0, offsetof(struct sdcardfs_inode_info, vfs_inode)); in sdcardfs_alloc_inode()
185 inode_set_iversion(&i->vfs_inode, 1); in sdcardfs_alloc_inode()
186 return &i->vfs_inode; in sdcardfs_alloc_inode()
207 inode_init_once(&i->vfs_inode); in init_once()
/fs/ceph/
Dcaps.c498 dout("__cap_set_timeouts %p min %lu max %lu\n", &ci->vfs_inode, in __cap_set_timeouts()
514 dout("__cap_delay_requeue %p flags %d at %lu\n", &ci->vfs_inode, in __cap_delay_requeue()
539 dout("__cap_delay_requeue_front %p\n", &ci->vfs_inode); in __cap_delay_requeue_front()
556 dout("__cap_delay_cancel %p\n", &ci->vfs_inode); in __cap_delay_cancel()
590 if (S_ISDIR(ci->vfs_inode.i_mode)) { in __check_cap_issue()
591 dout(" marking %p NOT complete\n", &ci->vfs_inode); in __check_cap_issue()
777 "but STALE (gen %u vs %u)\n", &cap->ci->vfs_inode, in __cap_is_valid()
803 &ci->vfs_inode, cap, ceph_cap_string(cap->issued)); in __ceph_caps_issued()
850 dout("__touch_cap %p cap %p mds%d\n", &cap->ci->vfs_inode, cap, in __touch_cap()
855 &cap->ci->vfs_inode, cap, s->s_mds); in __touch_cap()
[all …]
/fs/romfs/
Dinternal.h11 struct inode vfs_inode; member
23 return container_of(inode, struct romfs_inode_info, vfs_inode); in ROMFS_I()
/fs/bfs/
Dbfs.h38 struct inode vfs_inode; member
48 return container_of(inode, struct bfs_inode_info, vfs_inode); in BFS_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/udf/
Dudf_i.h59 struct inode vfs_inode; member
64 return container_of(inode, struct udf_inode_info, vfs_inode); in UDF_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.h106 struct inode vfs_inode; member
116 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()
338 return &oi->vfs_inode; in openprom_alloc_inode()
440 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/nilfs2/
Dgcinode.c187 truncate_inode_pages(&ii->vfs_inode.i_data, 0); in nilfs_remove_all_gcinodes()
189 iput(&ii->vfs_inode); in nilfs_remove_all_gcinodes()
/fs/ocfs2/
Dinode.h51 struct inode vfs_inode; member
106 return container_of(inode, struct ocfs2_inode_info, vfs_inode); in OCFS2_I()
/fs/isofs/
Disofs.h26 struct inode vfs_inode; member
73 return container_of(inode, struct iso_inode_info, vfs_inode); in ISOFS_I()

123456