Lines Matching refs:vinode

1334 bch2_fiemap_hole_pagecache(struct inode *vinode, u64 *start, u64 *end,

1339 dstart = bch2_seek_pagecache_data(vinode, *start, *end, 0, nonblock);
1348 dend = bch2_seek_pagecache_hole(vinode, dstart, *end, 0, nonblock);
1485 static int bch2_fiemap(struct inode *vinode, struct fiemap_extent_info *info,
1488 struct bch_fs *c = vinode->i_sb->s_fs_info;
1489 struct bch_inode_info *ei = to_bch_ei(vinode);
1585 static int bch2_open(struct inode *vinode, struct file *file)
1588 struct bch_inode_info *inode = to_bch_ei(vinode);
1598 return generic_file_open(vinode, file);
1873 static int bch2_encode_fh(struct inode *vinode, u32 *fh, int *len,
1876 struct bch_inode_info *inode = to_bch_ei(vinode);
1913 struct inode *vinode = bch2_vfs_inode_get(c, (subvol_inum) {
1917 if (!IS_ERR(vinode) && vinode->i_generation != fid.gen) {
1918 iput(vinode);
1919 vinode = ERR_PTR(-ESTALE);
1921 return vinode;
2121 static void bch2_free_inode(struct inode *vinode)
2123 kmem_cache_free(bch2_inode_cache, to_bch_ei(vinode));
2140 static int bch2_vfs_write_inode(struct inode *vinode,
2143 struct bch_fs *c = vinode->i_sb->s_fs_info;
2144 struct bch_inode_info *inode = to_bch_ei(vinode);
2155 static void bch2_evict_inode(struct inode *vinode)
2157 struct bch_fs *c = vinode->i_sb->s_fs_info;
2158 struct bch_inode_info *inode = to_bch_ei(vinode);
2445 struct inode *vinode;
2572 vinode = bch2_vfs_inode_get(c, BCACHEFS_ROOT_SUBVOL_INUM);
2573 ret = PTR_ERR_OR_ZERO(vinode);
2578 sb->s_root = d_make_root(vinode);