Lines Matching refs:mp_aheight
40 int mp_aheight; /* actual height (lookup height) */ member
292 for (hgt = 0; hgt < mp->mp_aheight; hgt++) in clone_metapath()
334 mp->mp_aheight = x + 1; in __fillup_metapath()
386 return mp->mp_aheight - x - 1; in fillup_metapath()
395 if (hgt < mp->mp_aheight) in metapath_to_block()
480 for (hgt = mp->mp_fheight - 1; hgt >= mp->mp_aheight; hgt--) { in gfs2_walk_metadata()
502 BUG_ON(mp->mp_aheight == mp->mp_fheight); in gfs2_walk_metadata()
543 mp->mp_aheight = hgt + 1; in gfs2_walk_metadata()
554 hgt = mp->mp_aheight - 1; in gfs2_hole_walker()
561 if (mp->mp_aheight == mp->mp_fheight) in gfs2_hole_walker()
673 BUG_ON(mp->mp_aheight < 1); in __gfs2_iomap_alloc()
681 if (mp->mp_fheight == mp->mp_aheight) { in __gfs2_iomap_alloc()
688 iblks = mp->mp_fheight - mp->mp_aheight; in __gfs2_iomap_alloc()
702 i = mp->mp_aheight; in __gfs2_iomap_alloc()
806 if (gfs2_is_stuffed(ip) || mp->mp_fheight != mp->mp_aheight) { in gfs2_alloc_size()
908 if (mp->mp_aheight != ip->i_height) in __gfs2_iomap_get()
1095 struct metapath mp = { .mp_aheight = 1, }; in gfs2_iomap_begin()
1407 struct metapath mp = { .mp_aheight = 1, }; in gfs2_iomap_get()
1418 struct metapath mp = { .mp_aheight = 1, }; in gfs2_iomap_alloc()
1795 for (mp_h = 0; mp_h < mp.mp_aheight - 1; mp_h++) { in punch_hole()
1801 if (mp.mp_aheight == ip->i_height) in punch_hole()
1906 if (mp.mp_aheight > 1 && strip_h == ip->i_height - 1) { in punch_hole()
1907 unsigned int height = mp.mp_aheight - 1; in punch_hole()
1910 if (mp.mp_aheight - 1 == strip_h) in punch_hole()
1913 for (; height >= mp.mp_aheight - ret; height--) { in punch_hole()
1923 if (mp.mp_aheight - 1 == strip_h) { in punch_hole()
1927 if (mp.mp_aheight < ip->i_height) /* We have a partial height */ in punch_hole()
1928 mp_h = mp.mp_aheight - 1; in punch_hole()