Lines Matching refs:mp_aheight

40 	int mp_aheight; /* actual height (lookup height) */  member
290 for (hgt = 0; hgt < mp->mp_aheight; hgt++) in clone_metapath()
338 mp->mp_aheight = x + 1; in __fillup_metapath()
390 return mp->mp_aheight - x - 1; in fillup_metapath()
399 if (hgt < mp->mp_aheight) in metapath_to_block()
483 for (hgt = mp->mp_fheight - 1; hgt >= mp->mp_aheight; hgt--) { in gfs2_walk_metadata()
505 BUG_ON(mp->mp_aheight == mp->mp_fheight); in gfs2_walk_metadata()
546 mp->mp_aheight = hgt + 1; in gfs2_walk_metadata()
557 hgt = mp->mp_aheight - 1; in gfs2_hole_walker()
564 if (mp->mp_aheight == mp->mp_fheight) in gfs2_hole_walker()
676 BUG_ON(mp->mp_aheight < 1); in __gfs2_iomap_alloc()
684 if (mp->mp_fheight == mp->mp_aheight) { in __gfs2_iomap_alloc()
691 iblks = mp->mp_fheight - mp->mp_aheight; in __gfs2_iomap_alloc()
705 i = mp->mp_aheight; in __gfs2_iomap_alloc()
809 if (gfs2_is_stuffed(ip) || mp->mp_fheight != mp->mp_aheight) { in gfs2_alloc_size()
911 if (mp->mp_aheight != ip->i_height) in __gfs2_iomap_get()
1098 struct metapath mp = { .mp_aheight = 1, }; in gfs2_iomap_begin()
1410 struct metapath mp = { .mp_aheight = 1, }; in gfs2_iomap_get()
1421 struct metapath mp = { .mp_aheight = 1, }; in gfs2_iomap_alloc()
1799 for (mp_h = 0; mp_h < mp.mp_aheight - 1; mp_h++) { in punch_hole()
1805 if (mp.mp_aheight == ip->i_height) in punch_hole()
1910 if (mp.mp_aheight > 1 && strip_h == ip->i_height - 1) { in punch_hole()
1911 unsigned int height = mp.mp_aheight - 1; in punch_hole()
1914 if (mp.mp_aheight - 1 == strip_h) in punch_hole()
1917 for (; height >= mp.mp_aheight - ret; height--) { in punch_hole()
1927 if (mp.mp_aheight - 1 == strip_h) { in punch_hole()
1931 if (mp.mp_aheight < ip->i_height) /* We have a partial height */ in punch_hole()
1932 mp_h = mp.mp_aheight - 1; in punch_hole()