Lines Matching refs:btnc_inode
682 struct inode *btnc_inode; in nilfs_attach_btree_node_cache() local
695 btnc_inode = iget5_locked(inode->i_sb, inode->i_ino, nilfs_iget_test, in nilfs_attach_btree_node_cache()
697 if (unlikely(!btnc_inode)) in nilfs_attach_btree_node_cache()
699 if (btnc_inode->i_state & I_NEW) { in nilfs_attach_btree_node_cache()
700 nilfs_init_btnc_inode(btnc_inode); in nilfs_attach_btree_node_cache()
701 unlock_new_inode(btnc_inode); in nilfs_attach_btree_node_cache()
703 NILFS_I(btnc_inode)->i_assoc_inode = inode; in nilfs_attach_btree_node_cache()
704 NILFS_I(btnc_inode)->i_bmap = ii->i_bmap; in nilfs_attach_btree_node_cache()
705 ii->i_assoc_inode = btnc_inode; in nilfs_attach_btree_node_cache()
720 struct inode *btnc_inode = ii->i_assoc_inode; in nilfs_detach_btree_node_cache() local
722 if (btnc_inode) { in nilfs_detach_btree_node_cache()
723 NILFS_I(btnc_inode)->i_assoc_inode = NULL; in nilfs_detach_btree_node_cache()
725 iput(btnc_inode); in nilfs_detach_btree_node_cache()