Lines Matching refs:mp_bh

37 	struct buffer_head *mp_bh[GFS2_MAX_META_HEIGHT];  member
257 struct buffer_head *bh = mp->mp_bh[height]; in metaptr1()
281 const struct buffer_head *bh = mp->mp_bh[height]; in metaend()
291 get_bh(clone->mp_bh[hgt]); in clone_metapath()
321 return mp->mp_bh[0]; in metapath_dibh()
334 ret = gfs2_meta_buffer(ip, GFS2_METATYPE_IN, dblock, &mp->mp_bh[x + 1]); in __fillup_metapath()
383 if (mp->mp_bh[x]) in fillup_metapath()
411 if (mp->mp_bh[i] == NULL) in release_metapath()
413 brelse(mp->mp_bh[i]); in release_metapath()
414 mp->mp_bh[i] = NULL; in release_metapath()
520 brelse(mp->mp_bh[hgt]); in gfs2_walk_metadata()
521 mp->mp_bh[hgt] = NULL; in gfs2_walk_metadata()
612 __be64 *ptr = (__be64 *)(mp->mp_bh[i - 1]->b_data + in gfs2_indirect_init()
616 BUG_ON(mp->mp_bh[i] != NULL); in gfs2_indirect_init()
617 mp->mp_bh[i] = gfs2_meta_new(gl, bn); in gfs2_indirect_init()
618 gfs2_trans_add_meta(gl, mp->mp_bh[i]); in gfs2_indirect_init()
619 gfs2_metatype_set(mp->mp_bh[i], GFS2_METATYPE_IN, GFS2_FORMAT_IN); in gfs2_indirect_init()
620 gfs2_buffer_clear_tail(mp->mp_bh[i], sizeof(struct gfs2_meta_header)); in gfs2_indirect_init()
727 gfs2_buffer_copy_tail(mp->mp_bh[i], in __gfs2_iomap_alloc()
733 ptr = (__be64 *)(mp->mp_bh[i]->b_data + in __gfs2_iomap_alloc()
738 if (mp->mp_bh[i] == NULL) in __gfs2_iomap_alloc()
740 brelse(mp->mp_bh[i]); in __gfs2_iomap_alloc()
741 mp->mp_bh[i] = NULL; in __gfs2_iomap_alloc()
750 gfs2_trans_add_meta(ip->i_gl, mp->mp_bh[i-1]); in __gfs2_iomap_alloc()
761 BUG_ON(mp->mp_bh[end_of_metadata] == NULL); in __gfs2_iomap_alloc()
762 gfs2_trans_add_meta(ip->i_gl, mp->mp_bh[end_of_metadata]); in __gfs2_iomap_alloc()
864 mp->mp_bh[0] = dibh; in __gfs2_iomap_get()
918 bh = mp->mp_bh[ip->i_height - 1]; in __gfs2_iomap_get()
1628 struct buffer_head *bh = mp->mp_bh[h]; in find_nonnull_ptr()
1665 struct buffer_head *bh = mp->mp_bh[height]; in metapointer_range()
1793 mp.mp_bh[0] = dibh; in punch_hole()
1826 bh = mp.mp_bh[mp_h]; in punch_hole()
1853 ret = sweep_bh_for_rgrps(ip, &rd_gh, mp.mp_bh[mp_h], in punch_hole()
1873 brelse(mp.mp_bh[mp_h]); in punch_hole()
1874 mp.mp_bh[mp_h] = NULL; in punch_hole()