Lines Matching refs:nbh
212 struct buffer_head *obh, *nbh; in nilfs_btnode_prepare_change_key() local
255 nbh = nilfs_btnode_create_block(btnc, newkey); in nilfs_btnode_prepare_change_key()
256 if (IS_ERR(nbh)) in nilfs_btnode_prepare_change_key()
257 return PTR_ERR(nbh); in nilfs_btnode_prepare_change_key()
259 BUG_ON(nbh == obh); in nilfs_btnode_prepare_change_key()
260 ctxt->newbh = nbh; in nilfs_btnode_prepare_change_key()
288 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; in nilfs_btnode_commit_change_key() local
295 if (nbh == NULL) { /* blocksize == pagesize */ in nilfs_btnode_commit_change_key()
312 nilfs_copy_buffer(nbh, obh); in nilfs_btnode_commit_change_key()
313 mark_buffer_dirty(nbh); in nilfs_btnode_commit_change_key()
315 nbh->b_blocknr = newkey; in nilfs_btnode_commit_change_key()
316 ctxt->bh = nbh; in nilfs_btnode_commit_change_key()
339 struct buffer_head *nbh = ctxt->newbh; in nilfs_btnode_abort_change_key() local
345 if (nbh == NULL) { /* blocksize == pagesize */ in nilfs_btnode_abort_change_key()
356 nilfs_btnode_delete(nbh); in nilfs_btnode_abort_change_key()