Lines Matching refs:nbh
176 struct buffer_head *obh, *nbh; in nilfs_btnode_prepare_change_key() local
219 nbh = nilfs_btnode_create_block(btnc, newkey); in nilfs_btnode_prepare_change_key()
220 if (!nbh) in nilfs_btnode_prepare_change_key()
223 BUG_ON(nbh == obh); in nilfs_btnode_prepare_change_key()
224 ctxt->newbh = nbh; in nilfs_btnode_prepare_change_key()
239 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; in nilfs_btnode_commit_change_key() local
246 if (nbh == NULL) { /* blocksize == pagesize */ in nilfs_btnode_commit_change_key()
263 nilfs_copy_buffer(nbh, obh); in nilfs_btnode_commit_change_key()
264 mark_buffer_dirty(nbh); in nilfs_btnode_commit_change_key()
266 nbh->b_blocknr = newkey; in nilfs_btnode_commit_change_key()
267 ctxt->bh = nbh; in nilfs_btnode_commit_change_key()
279 struct buffer_head *nbh = ctxt->newbh; in nilfs_btnode_abort_change_key() local
285 if (nbh == NULL) { /* blocksize == pagesize */ in nilfs_btnode_abort_change_key()
296 nilfs_btnode_delete(nbh); in nilfs_btnode_abort_change_key()