Home
last modified time | relevance | path

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

/linux-4.19.296/fs/nilfs2/
Dbtnode.c176 struct buffer_head *obh, *nbh; in nilfs_btnode_prepare_change_key() local
226 nbh = nilfs_btnode_create_block(btnc, newkey); in nilfs_btnode_prepare_change_key()
227 if (!nbh) in nilfs_btnode_prepare_change_key()
230 BUG_ON(nbh == obh); in nilfs_btnode_prepare_change_key()
231 ctxt->newbh = nbh; in nilfs_btnode_prepare_change_key()
246 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; in nilfs_btnode_commit_change_key() local
253 if (nbh == NULL) { /* blocksize == pagesize */ in nilfs_btnode_commit_change_key()
271 nilfs_copy_buffer(nbh, obh); in nilfs_btnode_commit_change_key()
272 mark_buffer_dirty(nbh); in nilfs_btnode_commit_change_key()
274 nbh->b_blocknr = newkey; in nilfs_btnode_commit_change_key()
[all …]
/linux-4.19.296/fs/jbd2/
Drecovery.c460 struct buffer_head * nbh; in do_one_pass() local
611 nbh = __getblk(journal->j_fs_dev, in do_one_pass()
614 if (nbh == NULL) { in do_one_pass()
624 lock_buffer(nbh); in do_one_pass()
625 memcpy(nbh->b_data, obh->b_data, in do_one_pass()
628 *((__be32 *)nbh->b_data) = in do_one_pass()
632 BUFFER_TRACE(nbh, "marking dirty"); in do_one_pass()
633 set_buffer_uptodate(nbh); in do_one_pass()
634 mark_buffer_dirty(nbh); in do_one_pass()
635 BUFFER_TRACE(nbh, "marking uptodate"); in do_one_pass()
[all …]
/linux-4.19.296/fs/gfs2/
Ddir.c1007 struct buffer_head *nbh, *obh, *dibh; in dir_split_leaf() local
1035 nleaf = new_leaf(inode, &nbh, be16_to_cpu(oleaf->lf_depth) + 1); in dir_split_leaf()
1040 bn = nbh->b_blocknr; in dir_split_leaf()
1094 void *ptr = ((char *)dent - obh->b_data) + nbh->b_data; in dir_split_leaf()
1098 new = gfs2_dirent_split_alloc(inode, nbh, &str, ptr); in dir_split_leaf()
1133 brelse(nbh); in dir_split_leaf()
1142 brelse(nbh); in dir_split_leaf()