Home
last modified time | relevance | path

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

/Linux-v4.19/fs/nilfs2/
Dbtnode.c159 struct buffer_head *obh, *nbh; in nilfs_btnode_prepare_change_key() local
167 obh = ctxt->bh; in nilfs_btnode_prepare_change_key()
171 lock_page(obh->b_page); in nilfs_btnode_prepare_change_key()
181 if (unlikely(oldkey != obh->b_page->index)) in nilfs_btnode_prepare_change_key()
182 NILFS_PAGE_BUG(obh->b_page, in nilfs_btnode_prepare_change_key()
188 err = radix_tree_insert(&btnc->i_pages, newkey, obh->b_page); in nilfs_btnode_prepare_change_key()
206 unlock_page(obh->b_page); in nilfs_btnode_prepare_change_key()
213 BUG_ON(nbh == obh); in nilfs_btnode_prepare_change_key()
218 unlock_page(obh->b_page); in nilfs_btnode_prepare_change_key()
229 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; in nilfs_btnode_commit_change_key() local
[all …]
/Linux-v4.19/fs/jbd2/
Drecovery.c355 struct buffer_head *obh; in calc_chksums() local
364 err = jread(&obh, journal, io_block); in calc_chksums()
370 *crc32_sum = crc32_be(*crc32_sum, (void *)obh->b_data, in calc_chksums()
371 obh->b_size); in calc_chksums()
373 put_bh(obh); in calc_chksums()
459 struct buffer_head * obh; in do_one_pass() local
568 err = jread(&obh, journal, io_block); in do_one_pass()
580 J_ASSERT(obh != NULL); in do_one_pass()
590 brelse(obh); in do_one_pass()
597 journal, tag, obh->b_data, in do_one_pass()
[all …]
/Linux-v4.19/fs/gfs2/
Ddir.c1007 struct buffer_head *nbh, *obh, *dibh; in dir_split_leaf() local
1023 error = get_leaf(dip, leaf_no, &obh); in dir_split_leaf()
1027 oleaf = (struct gfs2_leaf *)obh->b_data; in dir_split_leaf()
1029 brelse(obh); in dir_split_leaf()
1033 gfs2_trans_add_meta(dip->i_gl, obh); in dir_split_leaf()
1037 brelse(obh); in dir_split_leaf()
1084 dent = (struct gfs2_dirent *)(obh->b_data + sizeof(struct gfs2_leaf)); in dir_split_leaf()
1088 if (dirent_next(dip, obh, &next)) in dir_split_leaf()
1094 void *ptr = ((char *)dent - obh->b_data) + nbh->b_data; in dir_split_leaf()
1108 dirent_del(dip, obh, prev, dent); in dir_split_leaf()
[all …]