Lines Matching refs:nbh
159 struct buffer_head *obh, *nbh; in nilfs_btnode_prepare_change_key() local
202 nbh = nilfs_btnode_create_block(btnc, newkey); in nilfs_btnode_prepare_change_key()
203 if (!nbh) in nilfs_btnode_prepare_change_key()
206 BUG_ON(nbh == obh); in nilfs_btnode_prepare_change_key()
207 ctxt->newbh = nbh; in nilfs_btnode_prepare_change_key()
222 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; in nilfs_btnode_commit_change_key() local
229 if (nbh == NULL) { /* blocksize == pagesize */ in nilfs_btnode_commit_change_key()
246 nilfs_copy_buffer(nbh, obh); in nilfs_btnode_commit_change_key()
247 mark_buffer_dirty(nbh); in nilfs_btnode_commit_change_key()
249 nbh->b_blocknr = newkey; in nilfs_btnode_commit_change_key()
250 ctxt->bh = nbh; in nilfs_btnode_commit_change_key()
262 struct buffer_head *nbh = ctxt->newbh; in nilfs_btnode_abort_change_key() local
268 if (nbh == NULL) { /* blocksize == pagesize */ in nilfs_btnode_abort_change_key()
272 brelse(nbh); in nilfs_btnode_abort_change_key()