Lines Matching refs:hgt
289 unsigned int hgt; in clone_metapath() local
292 for (hgt = 0; hgt < mp->mp_aheight; hgt++) in clone_metapath()
293 get_bh(clone->mp_bh[hgt]); in clone_metapath()
392 int hgt; in metapath_to_block() local
394 for (hgt = mp->mp_fheight - 1; hgt >= 0; hgt--) { in metapath_to_block()
395 if (hgt < mp->mp_aheight) in metapath_to_block()
396 block += mp->mp_list[hgt] * factor; in metapath_to_block()
472 unsigned int hgt;
480 for (hgt = mp->mp_fheight - 1; hgt >= mp->mp_aheight; hgt--) {
481 max_len += mp->mp_list[hgt] * factor;
482 mp->mp_list[hgt] = 0;
487 u16 start = mp->mp_list[hgt];
493 ptrs = (hgt >= 1 ? sdp->sd_inptrs : sdp->sd_diptrs) - start;
503 ptrs = mp->mp_list[hgt] - start;
517 brelse(mp->mp_bh[hgt]);
518 mp->mp_bh[hgt] = NULL;
519 mp->mp_list[hgt] = 0;
520 if (!hgt)
522 hgt--;
526 (mp->mp_list[hgt])++;
527 if (hgt) {
528 if (mp->mp_list[hgt] >= sdp->sd_inptrs)
531 if (mp->mp_list[hgt] >= sdp->sd_diptrs)
540 hgt += ret;
543 mp->mp_aheight = hgt + 1;
552 unsigned int hgt; in gfs2_hole_walker() local
554 hgt = mp->mp_aheight - 1; in gfs2_hole_walker()
555 start = metapointer(hgt, mp); in gfs2_hole_walker()
560 mp->mp_list[hgt] += ptr - start; in gfs2_hole_walker()