Lines Matching refs:btnc_inode
670 struct inode *btnc_inode; in nilfs_attach_btree_node_cache() local
683 btnc_inode = iget5_locked(inode->i_sb, inode->i_ino, nilfs_iget_test, in nilfs_attach_btree_node_cache()
685 if (unlikely(!btnc_inode)) in nilfs_attach_btree_node_cache()
687 if (btnc_inode->i_state & I_NEW) { in nilfs_attach_btree_node_cache()
688 nilfs_init_btnc_inode(btnc_inode); in nilfs_attach_btree_node_cache()
689 unlock_new_inode(btnc_inode); in nilfs_attach_btree_node_cache()
691 NILFS_I(btnc_inode)->i_assoc_inode = inode; in nilfs_attach_btree_node_cache()
692 NILFS_I(btnc_inode)->i_bmap = ii->i_bmap; in nilfs_attach_btree_node_cache()
693 ii->i_assoc_inode = btnc_inode; in nilfs_attach_btree_node_cache()
708 struct inode *btnc_inode = ii->i_assoc_inode; in nilfs_detach_btree_node_cache() local
710 if (btnc_inode) { in nilfs_detach_btree_node_cache()
711 NILFS_I(btnc_inode)->i_assoc_inode = NULL; in nilfs_detach_btree_node_cache()
713 iput(btnc_inode); in nilfs_detach_btree_node_cache()