Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/nilfs2/
H A 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 in nilfs_btnode_commit_change_key()
279 struct buffer_head *nbh = ctxt->newbh; nilfs_btnode_abort_change_key() local
[all...]
/kernel/linux/linux-6.6/fs/nilfs2/
H A 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 in nilfs_btnode_commit_change_key()
279 struct buffer_head *nbh = ctxt->newbh; nilfs_btnode_abort_change_key() local
[all...]
/kernel/linux/linux-5.10/fs/jbd2/
H A 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, "markin in do_one_pass()
[all...]
/kernel/linux/linux-6.6/fs/jbd2/
H A Drecovery.c518 struct buffer_head * nbh; in do_one_pass() local
679 nbh = __getblk(journal->j_fs_dev, in do_one_pass()
682 if (nbh == NULL) { in do_one_pass()
692 lock_buffer(nbh); in do_one_pass()
693 memcpy(nbh->b_data, obh->b_data, in do_one_pass()
696 *((__be32 *)nbh->b_data) = in do_one_pass()
700 BUFFER_TRACE(nbh, "marking dirty"); in do_one_pass()
701 set_buffer_uptodate(nbh); in do_one_pass()
702 mark_buffer_dirty(nbh); in do_one_pass()
703 BUFFER_TRACE(nbh, "markin in do_one_pass()
[all...]
/kernel/linux/linux-6.6/fs/ntfs3/
H A Dfsntfs.c1199 u32 nbh = 0; in ntfs_read_run_nb() local
1258 } else if (nbh >= ARRAY_SIZE(nb->bh)) { in ntfs_read_run_nb()
1262 nb->bh[nbh++] = bh; in ntfs_read_run_nb()
1263 nb->nbufs = nbh; in ntfs_read_run_nb()
1292 if (!nbh) in ntfs_read_run_nb()
1295 while (nbh) { in ntfs_read_run_nb()
1296 put_bh(nb->bh[--nbh]); in ntfs_read_run_nb()
1297 nb->bh[nbh] = NULL; in ntfs_read_run_nb()
1329 u32 nbh = 0; in ntfs_get_bh() local
1355 if (nbh > in ntfs_get_bh()
[all...]
/kernel/linux/linux-5.10/fs/gfs2/
H A 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()
/kernel/linux/linux-6.6/fs/gfs2/
H A Ddir.c1001 struct buffer_head *nbh, *obh, *dibh; in dir_split_leaf() local
1029 nleaf = new_leaf(inode, &nbh, be16_to_cpu(oleaf->lf_depth) + 1); in dir_split_leaf()
1034 bn = nbh->b_blocknr; in dir_split_leaf()
1088 void *ptr = ((char *)dent - obh->b_data) + nbh->b_data; in dir_split_leaf()
1092 new = gfs2_dirent_split_alloc(inode, nbh, &str, ptr); in dir_split_leaf()
1127 brelse(nbh); in dir_split_leaf()
1136 brelse(nbh); in dir_split_leaf()

Completed in 10 milliseconds