Lines Matching refs:nbh
173 struct buffer_head *obh, *nbh; in nilfs_btnode_prepare_change_key() local
223 nbh = nilfs_btnode_create_block(btnc, newkey); in nilfs_btnode_prepare_change_key()
224 if (!nbh) in nilfs_btnode_prepare_change_key()
227 BUG_ON(nbh == obh); in nilfs_btnode_prepare_change_key()
228 ctxt->newbh = nbh; in nilfs_btnode_prepare_change_key()
243 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; in nilfs_btnode_commit_change_key() local
250 if (nbh == NULL) { /* blocksize == pagesize */ in nilfs_btnode_commit_change_key()
268 nilfs_copy_buffer(nbh, obh); in nilfs_btnode_commit_change_key()
269 mark_buffer_dirty(nbh); in nilfs_btnode_commit_change_key()
271 nbh->b_blocknr = newkey; in nilfs_btnode_commit_change_key()
272 ctxt->bh = nbh; in nilfs_btnode_commit_change_key()
284 struct buffer_head *nbh = ctxt->newbh; in nilfs_btnode_abort_change_key() local
290 if (nbh == NULL) { /* blocksize == pagesize */ in nilfs_btnode_abort_change_key()
296 brelse(nbh); in nilfs_btnode_abort_change_key()