Home
last modified time | relevance | path

Searched refs:obh (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/fs/nilfs2/
Dbtnode.c173 struct buffer_head *obh, *nbh; in nilfs_btnode_prepare_change_key() local
181 obh = ctxt->bh; in nilfs_btnode_prepare_change_key()
185 lock_page(obh->b_page); in nilfs_btnode_prepare_change_key()
195 if (unlikely(oldkey != obh->b_page->index)) in nilfs_btnode_prepare_change_key()
196 NILFS_PAGE_BUG(obh->b_page, in nilfs_btnode_prepare_change_key()
202 err = radix_tree_insert(&btnc->page_tree, newkey, obh->b_page); in nilfs_btnode_prepare_change_key()
220 unlock_page(obh->b_page); in nilfs_btnode_prepare_change_key()
227 BUG_ON(nbh == obh); in nilfs_btnode_prepare_change_key()
232 unlock_page(obh->b_page); in nilfs_btnode_prepare_change_key()
243 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; in nilfs_btnode_commit_change_key() local
[all …]
/linux-4.1.27/fs/jbd2/
Drecovery.c359 struct buffer_head *obh; in calc_chksums() local
368 err = jread(&obh, journal, io_block); in calc_chksums()
374 *crc32_sum = crc32_be(*crc32_sum, (void *)obh->b_data, in calc_chksums()
375 obh->b_size); in calc_chksums()
377 put_bh(obh); in calc_chksums()
463 struct buffer_head * obh; in do_one_pass() local
573 err = jread(&obh, journal, io_block); in do_one_pass()
585 J_ASSERT(obh != NULL); in do_one_pass()
595 brelse(obh); in do_one_pass()
602 journal, tag, obh->b_data, in do_one_pass()
[all …]
/linux-4.1.27/fs/jbd/
Drecovery.c356 struct buffer_head * obh; in do_one_pass() local
438 err = jread(&obh, journal, io_block); in do_one_pass()
450 J_ASSERT(obh != NULL); in do_one_pass()
459 brelse(obh); in do_one_pass()
475 brelse(obh); in do_one_pass()
480 memcpy(nbh->b_data, obh->b_data, in do_one_pass()
494 brelse(obh); in do_one_pass()
/linux-4.1.27/fs/gfs2/
Ddir.c962 struct buffer_head *nbh, *obh, *dibh; in dir_split_leaf() local
978 error = get_leaf(dip, leaf_no, &obh); in dir_split_leaf()
982 oleaf = (struct gfs2_leaf *)obh->b_data; in dir_split_leaf()
984 brelse(obh); in dir_split_leaf()
988 gfs2_trans_add_meta(dip->i_gl, obh); in dir_split_leaf()
992 brelse(obh); in dir_split_leaf()
1039 dent = (struct gfs2_dirent *)(obh->b_data + sizeof(struct gfs2_leaf)); in dir_split_leaf()
1043 if (dirent_next(dip, obh, &next)) in dir_split_leaf()
1062 dirent_del(dip, obh, prev, dent); in dir_split_leaf()
1088 brelse(obh); in dir_split_leaf()
[all …]