Lines Matching refs:bch_inode_info
48 struct bch_inode_info *,
53 struct bch_inode_info *inode, in bch2_inode_update_after_write()
81 struct bch_inode_info *inode, in bch2_write_inode()
121 struct bch_inode_info *inode, in bch2_fs_quota_transfer()
169 const struct bch_inode_info *inode = data; in bch2_vfs_inode_obj_hash_fn()
177 const struct bch_inode_info *inode = obj; in bch2_vfs_inode_cmp_fn()
184 .head_offset = offsetof(struct bch_inode_info, hash),
185 .key_offset = offsetof(struct bch_inode_info, ei_inum),
227 struct bch_inode_info *inode; in bch2_inode_or_descendents_is_open()
271 static struct bch_inode_info *__bch2_inode_hash_find(struct bch_fs *c, subvol_inum inum) in __bch2_inode_hash_find()
277 struct bch_inode_info *inode, in __wait_on_freeing_inode()
292 static struct bch_inode_info *bch2_inode_hash_find(struct bch_fs *c, struct btree_trans *trans, in bch2_inode_hash_find()
295 struct bch_inode_info *inode; in bch2_inode_hash_find()
323 static void bch2_inode_hash_remove(struct bch_fs *c, struct bch_inode_info *inode) in bch2_inode_hash_remove()
342 static struct bch_inode_info *bch2_inode_hash_insert(struct bch_fs *c, in bch2_inode_hash_insert()
344 struct bch_inode_info *inode) in bch2_inode_hash_insert()
346 struct bch_inode_info *old = inode; in bch2_inode_hash_insert()
399 static struct bch_inode_info *__bch2_new_inode(struct bch_fs *c, gfp_t gfp) in __bch2_new_inode()
401 struct bch_inode_info *inode = alloc_inode_sb(c->vfs_sb, in __bch2_new_inode()
425 static struct bch_inode_info *bch2_new_inode(struct btree_trans *trans) in bch2_new_inode()
427 struct bch_inode_info *inode = __bch2_new_inode(trans->c, GFP_NOWAIT); in bch2_new_inode()
442 static struct bch_inode_info *bch2_inode_hash_init_insert(struct btree_trans *trans, in bch2_inode_hash_init_insert()
447 struct bch_inode_info *inode = bch2_new_inode(trans); in bch2_inode_hash_init_insert()
459 struct bch_inode_info *inode = bch2_inode_hash_find(c, NULL, inum); in bch2_vfs_inode_get()
476 struct bch_inode_info *
478 struct bch_inode_info *dir, struct dentry *dentry, in __bch2_create()
485 struct bch_inode_info *inode; in __bch2_create()
593 static struct bch_inode_info *bch2_lookup_trans(struct btree_trans *trans, in bch2_lookup_trans()
614 struct bch_inode_info *inode = bch2_inode_hash_find(c, trans, inum); in bch2_lookup_trans()
655 struct bch_inode_info *dir = to_bch_ei(vdir); in bch2_lookup()
658 struct bch_inode_info *inode; in bch2_lookup()
672 struct bch_inode_info *inode = in bch2_mknod()
691 struct bch_inode_info *inode, in __bch2_link()
692 struct bch_inode_info *dir, in __bch2_link()
722 struct bch_inode_info *dir = to_bch_ei(vdir); in bch2_link()
723 struct bch_inode_info *inode = to_bch_ei(old_dentry->d_inode); in bch2_link()
743 struct bch_inode_info *dir = to_bch_ei(vdir); in __bch2_unlink()
744 struct bch_inode_info *inode = to_bch_ei(dentry->d_inode); in __bch2_unlink()
782 struct bch_inode_info *dir= to_bch_ei(vdir); in bch2_unlink()
795 struct bch_inode_info *dir = to_bch_ei(vdir), *inode; in bch2_symlink()
837 struct bch_inode_info *src_dir = to_bch_ei(src_vdir); in bch2_rename2()
838 struct bch_inode_info *dst_dir = to_bch_ei(dst_vdir); in bch2_rename2()
839 struct bch_inode_info *src_inode = to_bch_ei(src_dentry->d_inode); in bch2_rename2()
840 struct bch_inode_info *dst_inode = to_bch_ei(dst_dentry->d_inode); in bch2_rename2()
975 struct bch_inode_info *inode, in bch2_setattr_copy()
1017 struct bch_inode_info *inode, in bch2_setattr_nonsize()
1096 struct bch_inode_info *inode = to_bch_ei(d_inode(path->dentry)); in bch2_getattr()
1151 struct bch_inode_info *inode = to_bch_ei(dentry->d_inode); in bch2_setattr()
1170 struct bch_inode_info *inode = in bch2_tmpfile()
1243 struct bch_inode_info *ei = to_bch_ei(vinode); in bch2_fiemap()
1371 struct bch_inode_info *inode = file_bch_inode(file); in bch2_vfs_readdir()
1386 struct bch_inode_info *inode = to_bch_ei(vinode); in bch2_open()
1518 static struct bcachefs_fid bch2_inode_to_fid(struct bch_inode_info *inode) in bch2_inode_to_fid()
1530 struct bch_inode_info *inode = to_bch_ei(vinode); in bch2_encode_fh()
1531 struct bch_inode_info *dir = to_bch_ei(vdir); in bch2_encode_fh()
1603 struct bch_inode_info *inode = to_bch_ei(child->d_inode); in bch2_get_parent()
1616 struct bch_inode_info *inode = to_bch_ei(child->d_inode); in bch2_get_name()
1617 struct bch_inode_info *dir = to_bch_ei(parent->d_inode); in bch2_get_name()
1729 struct bch_inode_info *inode, in bch2_vfs_inode_init()
1781 struct bch_inode_info *inode, in inode_update_times_fn()
1798 struct bch_inode_info *inode = to_bch_ei(vinode); in bch2_vfs_write_inode()
1812 struct bch_inode_info *inode = to_bch_ei(vinode); in bch2_evict_inode()
1852 struct bch_inode_info *inode; in bch2_evict_subvolume_inodes()
1853 DARRAY(struct bch_inode_info *) grabbed; in bch2_evict_subvolume_inodes()
2377 bch2_inode_cache = KMEM_CACHE(bch_inode_info, SLAB_RECLAIM_ACCOUNT | in bch2_vfs_init()