Home
last modified time | relevance | path

Searched refs:nbh (Results 1 – 3 of 3) sorted by relevance

/fs/nilfs2/
Dbtnode.c176 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()
[all …]
/fs/jbd2/
Drecovery.c510 struct buffer_head * nbh; in do_one_pass() local
673 nbh = __getblk(journal->j_fs_dev, in do_one_pass()
676 if (nbh == NULL) { in do_one_pass()
686 lock_buffer(nbh); in do_one_pass()
687 memcpy(nbh->b_data, obh->b_data, in do_one_pass()
690 *((__be32 *)nbh->b_data) = in do_one_pass()
694 BUFFER_TRACE(nbh, "marking dirty"); in do_one_pass()
695 set_buffer_uptodate(nbh); in do_one_pass()
696 mark_buffer_dirty(nbh); in do_one_pass()
697 BUFFER_TRACE(nbh, "marking uptodate"); in do_one_pass()
[all …]
/fs/gfs2/
Ddir.c1004 struct buffer_head *nbh, *obh, *dibh; in dir_split_leaf() local
1032 nleaf = new_leaf(inode, &nbh, be16_to_cpu(oleaf->lf_depth) + 1); in dir_split_leaf()
1037 bn = nbh->b_blocknr; in dir_split_leaf()
1091 void *ptr = ((char *)dent - obh->b_data) + nbh->b_data; in dir_split_leaf()
1095 new = gfs2_dirent_split_alloc(inode, nbh, &str, ptr); in dir_split_leaf()
1130 brelse(nbh); in dir_split_leaf()
1139 brelse(nbh); in dir_split_leaf()