Lines Matching refs:obh
173 struct buffer_head *obh, *nbh; in nilfs_btnode_prepare_change_key() local
181 obh = ctxt->bh; in nilfs_btnode_prepare_change_key()
185 lock_page(obh->b_page); in nilfs_btnode_prepare_change_key()
195 if (unlikely(oldkey != obh->b_page->index)) in nilfs_btnode_prepare_change_key()
196 NILFS_PAGE_BUG(obh->b_page, in nilfs_btnode_prepare_change_key()
202 err = radix_tree_insert(&btnc->page_tree, newkey, obh->b_page); in nilfs_btnode_prepare_change_key()
220 unlock_page(obh->b_page); in nilfs_btnode_prepare_change_key()
227 BUG_ON(nbh == obh); in nilfs_btnode_prepare_change_key()
232 unlock_page(obh->b_page); in nilfs_btnode_prepare_change_key()
243 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; in nilfs_btnode_commit_change_key() local
251 opage = obh->b_page; in nilfs_btnode_commit_change_key()
257 mark_buffer_dirty(obh); in nilfs_btnode_commit_change_key()
265 opage->index = obh->b_blocknr = newkey; in nilfs_btnode_commit_change_key()
268 nilfs_copy_buffer(nbh, obh); in nilfs_btnode_commit_change_key()
273 nilfs_btnode_delete(obh); /* will decrement bh->b_count */ in nilfs_btnode_commit_change_key()