Home
last modified time | relevance | path

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

123456

/fs/nfs/
Dfscache-index.c192 *size = nfsi->vfs_inode.i_size; in nfs_fscache_inode_get_attr()
210 auxdata.size = nfsi->vfs_inode.i_size; in nfs_fscache_inode_get_aux()
211 auxdata.mtime = nfsi->vfs_inode.i_mtime; in nfs_fscache_inode_get_aux()
212 auxdata.ctime = nfsi->vfs_inode.i_ctime; in nfs_fscache_inode_get_aux()
214 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_get_aux()
215 auxdata.change_attr = nfsi->vfs_inode.i_version; in nfs_fscache_inode_get_aux()
242 auxdata.size = nfsi->vfs_inode.i_size; in nfs_fscache_inode_check_aux()
243 auxdata.mtime = nfsi->vfs_inode.i_mtime; in nfs_fscache_inode_check_aux()
244 auxdata.ctime = nfsi->vfs_inode.i_ctime; in nfs_fscache_inode_check_aux()
246 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()
256 i_size = i_size_read(&vnode->vfs_inode); in afs_write_end()
259 i_size = i_size_read(&vnode->vfs_inode); in afs_write_end()
261 i_size_write(&vnode->vfs_inode, maybe_i_size); in afs_write_end()
294 pv.nr = find_get_pages_contig(vnode->vfs_inode.i_mapping, in afs_kill_pages()
344 n = find_get_pages_contig(wb->vnode->vfs_inode.i_mapping, in afs_write_back_from_locked_page()
402 &wb->vnode->vfs_inode.i_mapping->flags); in afs_write_back_from_locked_page()
412 set_bit(AS_EIO, &wb->vnode->vfs_inode.i_mapping->flags); in afs_write_back_from_locked_page()
638 if (IS_SWAPFILE(&vnode->vfs_inode)) { in afs_file_write()
662 struct address_space *mapping = vnode->vfs_inode.i_mapping; in afs_writeback_all()
Dfsclient.c89 i_size_write(&vnode->vfs_inode, size); in xdr_decode_AFSFetchStatus()
90 vnode->vfs_inode.i_uid = status->owner; in xdr_decode_AFSFetchStatus()
91 vnode->vfs_inode.i_gid = status->group; in xdr_decode_AFSFetchStatus()
92 vnode->vfs_inode.i_generation = vnode->fid.unique; in xdr_decode_AFSFetchStatus()
93 set_nlink(&vnode->vfs_inode, status->nlink); in xdr_decode_AFSFetchStatus()
95 mode = vnode->vfs_inode.i_mode; in xdr_decode_AFSFetchStatus()
99 vnode->vfs_inode.i_mode = mode; in xdr_decode_AFSFetchStatus()
102 vnode->vfs_inode.i_ctime.tv_sec = status->mtime_server; in xdr_decode_AFSFetchStatus()
103 vnode->vfs_inode.i_mtime = vnode->vfs_inode.i_ctime; in xdr_decode_AFSFetchStatus()
104 vnode->vfs_inode.i_atime = vnode->vfs_inode.i_ctime; in xdr_decode_AFSFetchStatus()
[all …]
Dinode.c298 if (S_ISREG(vnode->vfs_inode.i_mode)) in afs_zap_data()
299 invalidate_remote_inode(&vnode->vfs_inode); in afs_zap_data()
301 invalidate_inode_pages2(vnode->vfs_inode.i_mapping); in afs_zap_data()
476 if (S_ISREG(vnode->vfs_inode.i_mode)) { in afs_setattr()
477 filemap_write_and_wait(vnode->vfs_inode.i_mapping); in afs_setattr()
/fs/ceph/
Dcaps.c410 dout("__cap_set_timeouts %p min %lu max %lu\n", &ci->vfs_inode, in __cap_set_timeouts()
426 dout("__cap_delay_requeue %p flags %d at %lu\n", &ci->vfs_inode, in __cap_delay_requeue()
449 dout("__cap_delay_requeue_front %p\n", &ci->vfs_inode); in __cap_delay_requeue_front()
466 dout("__cap_delay_cancel %p\n", &ci->vfs_inode); in __cap_delay_cancel()
498 if (S_ISDIR(ci->vfs_inode.i_mode)) in __check_cap_issue()
499 ceph_dir_clear_complete(&ci->vfs_inode); in __check_cap_issue()
651 "but STALE (gen %u vs %u)\n", &cap->ci->vfs_inode, in __cap_is_valid()
677 &ci->vfs_inode, cap, ceph_cap_string(cap->issued)); in __ceph_caps_issued()
715 dout("__touch_cap %p cap %p mds%d\n", &cap->ci->vfs_inode, cap, in __touch_cap()
720 &cap->ci->vfs_inode, cap, s->s_mds); in __touch_cap()
[all …]
/fs/squashfs/
Dsquashfs_fs_i.h46 struct inode vfs_inode; member
52 return list_entry(inode, struct squashfs_inode_info, vfs_inode); in squashfs_i()
/fs/logfs/
Dinode.c132 if (li->vfs_inode.i_ino == ino) { in logfs_safe_iget()
136 return &li->vfs_inode; in logfs_safe_iget()
217 logfs_init_inode(sb, &li->vfs_inode); in logfs_alloc_inode()
218 return &li->vfs_inode; in logfs_alloc_inode()
361 inode_init_once(&li->vfs_inode); in logfs_init_once()
/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()
Dv9fs.h133 struct inode vfs_inode; member
138 return container_of(inode, struct v9fs_inode, vfs_inode); in V9FS_I()
/fs/udf/
Dudf_i.h38 struct inode vfs_inode; member
43 return list_entry(inode, struct udf_inode_info, vfs_inode); in UDF_I()
/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/qnx4/
Dqnx4.h22 struct inode vfs_inode; member
41 return container_of(inode, struct qnx4_inode_info, vfs_inode); in qnx4_i()
/fs/exofs/
Dexofs.h82 struct inode vfs_inode; /* normal in-memory inode */ member
94 return oi->vfs_inode.i_ino + EXOFS_OBJ_OFF; in exofs_oi_objno()
137 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 *)list_entry(inode, big_ntfs_inode, vfs_inode); in NTFS_I()
247 return &((big_ntfs_inode *)ni)->vfs_inode; in VFS_I()
/fs/btrfs/
Dbtrfs_inode.h167 struct inode vfs_inode; member
174 return container_of(inode, struct btrfs_inode, vfs_inode); in BTRFS_I()
/fs/efs/
Defs.h74 struct inode vfs_inode; member
113 return container_of(inode, struct efs_inode_info, vfs_inode); in INODE_INFO()
/fs/isofs/
Disofs.h25 struct inode vfs_inode; member
69 return container_of(inode, struct iso_inode_info, vfs_inode); in ISOFS_I()
/fs/nilfs2/
Dnilfs.h62 struct inode vfs_inode; member
67 return container_of(inode, struct nilfs_inode_info, vfs_inode); in NILFS_I()
80 return &ii->vfs_inode; in NILFS_BTNC_I()
Dgcinode.c194 truncate_inode_pages(&ii->vfs_inode.i_data, 0); in nilfs_remove_all_gcinodes()
196 iput(&ii->vfs_inode); in nilfs_remove_all_gcinodes()
/fs/openpromfs/
Dinode.c36 struct inode vfs_inode; member
45 return container_of(inode, struct op_inode_info, vfs_inode); in OP_I()
343 return &oi->vfs_inode; in openprom_alloc_inode()
440 inode_init_once(&oi->vfs_inode); in op_inode_init_once()
/fs/befs/
Dbefs.h73 struct inode vfs_inode; member
114 return list_entry(inode, struct befs_inode_info, vfs_inode); in BEFS_I()
/fs/ocfs2/
Dinode.h65 struct inode vfs_inode; member
111 return container_of(inode, struct ocfs2_inode_info, vfs_inode); in OCFS2_I()

123456