Searched refs:nbh (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/fs/nilfs2/
H A Dbtnode.c173 struct buffer_head *obh, *nbh; nilfs_btnode_prepare_change_key() local
223 nbh = nilfs_btnode_create_block(btnc, newkey); nilfs_btnode_prepare_change_key()
224 if (!nbh) nilfs_btnode_prepare_change_key()
227 BUG_ON(nbh == obh); nilfs_btnode_prepare_change_key()
228 ctxt->newbh = nbh; nilfs_btnode_prepare_change_key()
243 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; nilfs_btnode_commit_change_key() local
250 if (nbh == NULL) { /* blocksize == pagesize */ nilfs_btnode_commit_change_key()
268 nilfs_copy_buffer(nbh, obh); nilfs_btnode_commit_change_key()
269 mark_buffer_dirty(nbh); nilfs_btnode_commit_change_key()
271 nbh->b_blocknr = newkey; nilfs_btnode_commit_change_key()
272 ctxt->bh = nbh; nilfs_btnode_commit_change_key()
284 struct buffer_head *nbh = ctxt->newbh; nilfs_btnode_abort_change_key() local
290 if (nbh == NULL) { /* blocksize == pagesize */ nilfs_btnode_abort_change_key()
296 brelse(nbh); nilfs_btnode_abort_change_key()
/linux-4.4.14/fs/jbd2/
H A Drecovery.c464 struct buffer_head * nbh; do_one_pass() local
615 nbh = __getblk(journal->j_fs_dev, do_one_pass()
618 if (nbh == NULL) { do_one_pass()
628 lock_buffer(nbh); do_one_pass()
629 memcpy(nbh->b_data, obh->b_data, do_one_pass()
632 *((__be32 *)nbh->b_data) = do_one_pass()
636 BUFFER_TRACE(nbh, "marking dirty"); do_one_pass()
637 set_buffer_uptodate(nbh); do_one_pass()
638 mark_buffer_dirty(nbh); do_one_pass()
639 BUFFER_TRACE(nbh, "marking uptodate"); do_one_pass()
641 /* ll_rw_block(WRITE, 1, &nbh); */ do_one_pass()
642 unlock_buffer(nbh); do_one_pass()
644 brelse(nbh); do_one_pass()
/linux-4.4.14/fs/udf/
H A Dinode.c1895 struct buffer_head *nbh; udf_add_aext() local
1904 nbh = udf_tgetblk(inode->i_sb, udf_get_lb_pblock(inode->i_sb, udf_add_aext()
1907 if (!nbh) udf_add_aext()
1909 lock_buffer(nbh); udf_add_aext()
1910 memset(nbh->b_data, 0x00, inode->i_sb->s_blocksize); udf_add_aext()
1911 set_buffer_uptodate(nbh); udf_add_aext()
1912 unlock_buffer(nbh); udf_add_aext()
1913 mark_buffer_dirty_inode(nbh, inode); udf_add_aext()
1915 aed = (struct allocExtDesc *)(nbh->b_data); udf_add_aext()
1923 dptr = nbh->b_data + sizeof(struct allocExtDesc); udf_add_aext()
1941 udf_new_tag(nbh->b_data, TAG_IDENT_AED, 3, 1, udf_add_aext()
1944 udf_new_tag(nbh->b_data, TAG_IDENT_AED, 2, 1, udf_add_aext()
1974 epos->bh = nbh; udf_add_aext()
/linux-4.4.14/fs/gfs2/
H A Ddir.c967 struct buffer_head *nbh, *obh, *dibh; dir_split_leaf() local
995 nleaf = new_leaf(inode, &nbh, be16_to_cpu(oleaf->lf_depth) + 1); dir_split_leaf()
1000 bn = nbh->b_blocknr; dir_split_leaf()
1057 new = gfs2_dirent_alloc(inode, nbh, &str); dir_split_leaf()
1094 brelse(nbh); dir_split_leaf()
1103 brelse(nbh); dir_split_leaf()

Completed in 114 milliseconds