Home
last modified time | relevance | path

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

/linux-3.4.99/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-3.4.99/fs/jbd2/
Drecovery.c333 struct buffer_head *obh; in calc_chksums() local
342 err = jread(&obh, journal, io_block); in calc_chksums()
348 *crc32_sum = crc32_be(*crc32_sum, (void *)obh->b_data, in calc_chksums()
349 obh->b_size); in calc_chksums()
351 put_bh(obh); in calc_chksums()
397 struct buffer_head * obh; in do_one_pass() local
492 err = jread(&obh, journal, io_block); in do_one_pass()
504 J_ASSERT(obh != NULL); in do_one_pass()
514 brelse(obh); in do_one_pass()
530 brelse(obh); in do_one_pass()
[all …]
/linux-3.4.99/fs/jbd/
Drecovery.c353 struct buffer_head * obh; in do_one_pass() local
435 err = jread(&obh, journal, io_block); in do_one_pass()
447 J_ASSERT(obh != NULL); in do_one_pass()
456 brelse(obh); in do_one_pass()
472 brelse(obh); in do_one_pass()
477 memcpy(nbh->b_data, obh->b_data, in do_one_pass()
491 brelse(obh); in do_one_pass()
/linux-3.4.99/fs/gfs2/
Ddir.c953 struct buffer_head *nbh, *obh, *dibh; in dir_split_leaf() local
969 error = get_leaf(dip, leaf_no, &obh); in dir_split_leaf()
973 oleaf = (struct gfs2_leaf *)obh->b_data; in dir_split_leaf()
975 brelse(obh); in dir_split_leaf()
979 gfs2_trans_add_bh(dip->i_gl, obh, 1); in dir_split_leaf()
983 brelse(obh); in dir_split_leaf()
1029 dent = (struct gfs2_dirent *)(obh->b_data + sizeof(struct gfs2_leaf)); in dir_split_leaf()
1033 if (dirent_next(dip, obh, &next)) in dir_split_leaf()
1052 dirent_del(dip, obh, prev, dent); in dir_split_leaf()
1078 brelse(obh); in dir_split_leaf()
[all …]