Home
last modified time | relevance | path

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

123456

/fs/nfs/
Dfscache-index.c191 *size = nfsi->vfs_inode.i_size; in nfs_fscache_inode_get_attr()
209 auxdata.size = nfsi->vfs_inode.i_size; in nfs_fscache_inode_get_aux()
210 auxdata.mtime = nfsi->vfs_inode.i_mtime; in nfs_fscache_inode_get_aux()
211 auxdata.ctime = nfsi->vfs_inode.i_ctime; in nfs_fscache_inode_get_aux()
213 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_get_aux()
214 auxdata.change_attr = nfsi->vfs_inode.i_version; in nfs_fscache_inode_get_aux()
241 auxdata.size = nfsi->vfs_inode.i_size; in nfs_fscache_inode_check_aux()
242 auxdata.mtime = nfsi->vfs_inode.i_mtime; in nfs_fscache_inode_check_aux()
243 auxdata.ctime = nfsi->vfs_inode.i_ctime; in nfs_fscache_inode_check_aux()
245 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_check_aux()
[all …]
/fs/cifs/
Dcache.c250 *size = cifsi->vfs_inode.i_size; in cifs_fscache_inode_get_attr()
262 auxdata.last_write_time = cifsi->vfs_inode.i_mtime; in cifs_fscache_inode_get_aux()
263 auxdata.last_change_time = cifsi->vfs_inode.i_ctime; in cifs_fscache_inode_get_aux()
286 auxdata.last_write_time = cifsi->vfs_inode.i_mtime; in cifs_fscache_inode_check_aux()
287 auxdata.last_change_time = cifsi->vfs_inode.i_ctime; in cifs_fscache_inode_check_aux()
309 cifsi->vfs_inode.i_mapping, first, in cifs_fscache_inode_now_uncached()
/fs/afs/
Dsecurity.c91 if (S_ISDIR(vnode->vfs_inode.i_mode)) { in afs_get_auth_inode()
92 auth_inode = igrab(&vnode->vfs_inode); in afs_get_auth_inode()
95 auth_inode = afs_iget(vnode->vfs_inode.i_sb, key, in afs_get_auth_inode()
208 iput(&auth_vnode->vfs_inode); in afs_cache_permit()
236 ASSERT(S_ISDIR(auth_vnode->vfs_inode.i_mode)); in afs_check_permit()
270 iput(&auth_vnode->vfs_inode); in afs_check_permit()
278 iput(&auth_vnode->vfs_inode); in afs_check_permit()
Dwrite.c95 i_size = i_size_read(&vnode->vfs_inode); in afs_fill_page()
259 i_size = i_size_read(&vnode->vfs_inode); in afs_write_end()
262 i_size = i_size_read(&vnode->vfs_inode); in afs_write_end()
264 i_size_write(&vnode->vfs_inode, maybe_i_size); in afs_write_end()
297 pv.nr = find_get_pages_contig(vnode->vfs_inode.i_mapping, in afs_kill_pages()
351 n = find_get_pages_contig(wb->vnode->vfs_inode.i_mapping, in afs_write_back_from_locked_page()
408 mapping_set_error(wb->vnode->vfs_inode.i_mapping, -ENOSPC); in afs_write_back_from_locked_page()
418 mapping_set_error(wb->vnode->vfs_inode.i_mapping, -EIO); in afs_write_back_from_locked_page()
643 if (IS_SWAPFILE(&vnode->vfs_inode)) { in afs_file_write()
663 struct address_space *mapping = vnode->vfs_inode.i_mapping; in afs_writeback_all()
Dfsclient.c95 i_size_write(&vnode->vfs_inode, size); in xdr_decode_AFSFetchStatus()
96 vnode->vfs_inode.i_uid = status->owner; in xdr_decode_AFSFetchStatus()
97 vnode->vfs_inode.i_gid = status->group; in xdr_decode_AFSFetchStatus()
98 vnode->vfs_inode.i_generation = vnode->fid.unique; in xdr_decode_AFSFetchStatus()
99 set_nlink(&vnode->vfs_inode, status->nlink); in xdr_decode_AFSFetchStatus()
101 mode = vnode->vfs_inode.i_mode; in xdr_decode_AFSFetchStatus()
105 vnode->vfs_inode.i_mode = mode; in xdr_decode_AFSFetchStatus()
108 vnode->vfs_inode.i_ctime.tv_sec = status->mtime_client; in xdr_decode_AFSFetchStatus()
109 vnode->vfs_inode.i_mtime = vnode->vfs_inode.i_ctime; in xdr_decode_AFSFetchStatus()
110 vnode->vfs_inode.i_atime = vnode->vfs_inode.i_ctime; in xdr_decode_AFSFetchStatus()
[all …]
Dinode.c300 if (S_ISREG(vnode->vfs_inode.i_mode)) in afs_zap_data()
301 invalidate_remote_inode(&vnode->vfs_inode); in afs_zap_data()
303 invalidate_inode_pages2(vnode->vfs_inode.i_mapping); in afs_zap_data()
478 if (S_ISREG(vnode->vfs_inode.i_mode)) { in afs_setattr()
479 filemap_write_and_wait(vnode->vfs_inode.i_mapping); in afs_setattr()
/fs/ceph/
Dcaps.c411 dout("__cap_set_timeouts %p min %lu max %lu\n", &ci->vfs_inode, in __cap_set_timeouts()
427 dout("__cap_delay_requeue %p flags %d at %lu\n", &ci->vfs_inode, in __cap_delay_requeue()
450 dout("__cap_delay_requeue_front %p\n", &ci->vfs_inode); in __cap_delay_requeue_front()
467 dout("__cap_delay_cancel %p\n", &ci->vfs_inode); in __cap_delay_cancel()
500 if (S_ISDIR(ci->vfs_inode.i_mode)) { in __check_cap_issue()
501 dout(" marking %p NOT complete\n", &ci->vfs_inode); in __check_cap_issue()
659 "but STALE (gen %u vs %u)\n", &cap->ci->vfs_inode, in __cap_is_valid()
685 &ci->vfs_inode, cap, ceph_cap_string(cap->issued)); in __ceph_caps_issued()
732 dout("__touch_cap %p cap %p mds%d\n", &cap->ci->vfs_inode, cap, in __touch_cap()
737 &cap->ci->vfs_inode, cap, s->s_mds); in __touch_cap()
[all …]
Dcache.c99 const struct inode* inode = &ci->vfs_inode; in ceph_fscache_inode_get_aux()
115 *size = i_size_read(&ci->vfs_inode); in ceph_fscache_inode_get_attr()
123 struct inode* inode = &ci->vfs_inode; in ceph_fscache_inode_check_aux()
153 nr_pages = pagevec_lookup(&pvec, ci->vfs_inode.i_mapping, first, in ceph_fscache_inode_now_uncached()
211 fscache_uncache_all_inode_pages(cookie, &ci->vfs_inode); in ceph_fscache_unregister_inode_cookie()
/fs/9p/
Dcache.c113 &v9inode->vfs_inode, v9inode->qid.path); in v9fs_cache_inode_get_key()
121 *size = i_size_read(&v9inode->vfs_inode); in v9fs_cache_inode_get_attr()
124 &v9inode->vfs_inode, *size); in v9fs_cache_inode_get_attr()
133 &v9inode->vfs_inode, v9inode->qid.version); in v9fs_cache_inode_get_aux()
165 nr_pages = pagevec_lookup(&pvec, v9inode->vfs_inode.i_mapping, in v9fs_cache_inode_now_uncached()
/fs/logfs/
Dinode.c133 if (li->vfs_inode.i_ino == ino) { in logfs_safe_iget()
137 return &li->vfs_inode; in logfs_safe_iget()
234 logfs_init_inode(sb, &li->vfs_inode); in logfs_alloc_inode()
235 return &li->vfs_inode; in logfs_alloc_inode()
378 inode_init_once(&li->vfs_inode); in logfs_init_once()
/fs/squashfs/
Dsquashfs_fs_i.h46 struct inode vfs_inode; member
52 return container_of(inode, struct squashfs_inode_info, vfs_inode); in squashfs_i()
/fs/sdcardfs/
Dsuper.c207 memset(i, 0, offsetof(struct sdcardfs_inode_info, vfs_inode)); in sdcardfs_alloc_inode()
222 i->vfs_inode.i_version = 1; in sdcardfs_alloc_inode()
223 return &i->vfs_inode; in sdcardfs_alloc_inode()
244 inode_init_once(&i->vfs_inode); in init_once()
/fs/romfs/
Dinternal.h15 struct inode vfs_inode; member
27 return container_of(inode, struct romfs_inode_info, vfs_inode); in ROMFS_I()
/fs/bfs/
Dbfs.h30 struct inode vfs_inode; member
40 return container_of(inode, struct bfs_inode_info, vfs_inode); in BFS_I()
/fs/udf/
Dudf_i.h54 struct inode vfs_inode; member
59 return container_of(inode, struct udf_inode_info, vfs_inode); in UDF_I()
/fs/qnx4/
Dqnx4.h20 struct inode vfs_inode; member
39 return container_of(inode, struct qnx4_inode_info, vfs_inode); in qnx4_i()
/fs/exofs/
Dexofs.h86 struct inode vfs_inode; /* normal in-memory inode */ member
98 return oi->vfs_inode.i_ino + EXOFS_OBJ_OFF; in exofs_oi_objno()
141 return container_of(inode, struct exofs_i_info, vfs_inode); in exofs_i()
/fs/ntfs/
Dinode.h231 struct inode vfs_inode; /* The vfs inode structure. */ member
242 return (ntfs_inode *)container_of(inode, big_ntfs_inode, vfs_inode); in NTFS_I()
247 return &((big_ntfs_inode *)ni)->vfs_inode; in VFS_I()
/fs/efs/
Defs.h80 struct inode vfs_inode; member
119 return container_of(inode, struct efs_inode_info, vfs_inode); in INODE_INFO()
/fs/befs/
Dbefs.h75 struct inode vfs_inode; member
118 return container_of(inode, struct befs_inode_info, vfs_inode); in BEFS_I()
/fs/isofs/
Disofs.h25 struct inode vfs_inode; member
69 return container_of(inode, struct iso_inode_info, vfs_inode); in ISOFS_I()
/fs/openpromfs/
Dinode.c36 struct inode vfs_inode; member
45 return container_of(inode, struct op_inode_info, vfs_inode); in OP_I()
336 return &oi->vfs_inode; in openprom_alloc_inode()
435 inode_init_once(&oi->vfs_inode); in op_inode_init_once()
/fs/nilfs2/
Dgcinode.c196 truncate_inode_pages(&ii->vfs_inode.i_data, 0); in nilfs_remove_all_gcinodes()
198 iput(&ii->vfs_inode); in nilfs_remove_all_gcinodes()
/fs/ocfs2/
Dinode.h65 struct inode vfs_inode; member
120 return container_of(inode, struct ocfs2_inode_info, vfs_inode); in OCFS2_I()
/fs/freevxfs/
Dvxfs_inode.h155 struct inode vfs_inode; member
191 return container_of(inode, struct vxfs_inode_info, vfs_inode); in VXFS_INO()

123456