Lines Matching refs:nbh
159 struct buffer_head *obh, *nbh; in nilfs_btnode_prepare_change_key() local
209 nbh = nilfs_btnode_create_block(btnc, newkey); in nilfs_btnode_prepare_change_key()
210 if (!nbh) in nilfs_btnode_prepare_change_key()
213 BUG_ON(nbh == obh); in nilfs_btnode_prepare_change_key()
214 ctxt->newbh = nbh; in nilfs_btnode_prepare_change_key()
229 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; in nilfs_btnode_commit_change_key() local
236 if (nbh == NULL) { /* blocksize == pagesize */ in nilfs_btnode_commit_change_key()
254 nilfs_copy_buffer(nbh, obh); in nilfs_btnode_commit_change_key()
255 mark_buffer_dirty(nbh); in nilfs_btnode_commit_change_key()
257 nbh->b_blocknr = newkey; in nilfs_btnode_commit_change_key()
258 ctxt->bh = nbh; in nilfs_btnode_commit_change_key()
270 struct buffer_head *nbh = ctxt->newbh; in nilfs_btnode_abort_change_key() local
276 if (nbh == NULL) { /* blocksize == pagesize */ in nilfs_btnode_abort_change_key()
282 brelse(nbh); in nilfs_btnode_abort_change_key()