Lines Matching refs:hgt
292 unsigned int hgt; in clone_metapath() local
295 for (hgt = 0; hgt < mp->mp_aheight; hgt++) in clone_metapath()
296 get_bh(clone->mp_bh[hgt]); in clone_metapath()
396 int hgt; in metapath_to_block() local
398 for (hgt = mp->mp_fheight - 1; hgt >= 0; hgt--) { in metapath_to_block()
399 if (hgt < mp->mp_aheight) in metapath_to_block()
400 block += mp->mp_list[hgt] * factor; in metapath_to_block()
476 unsigned int hgt;
484 for (hgt = mp->mp_fheight - 1; hgt >= mp->mp_aheight; hgt--) {
485 max_len += mp->mp_list[hgt] * factor;
486 mp->mp_list[hgt] = 0;
491 u16 start = mp->mp_list[hgt];
497 ptrs = (hgt >= 1 ? sdp->sd_inptrs : sdp->sd_diptrs) - start;
507 ptrs = mp->mp_list[hgt] - start;
521 brelse(mp->mp_bh[hgt]);
522 mp->mp_bh[hgt] = NULL;
523 mp->mp_list[hgt] = 0;
524 if (!hgt)
526 hgt--;
530 (mp->mp_list[hgt])++;
531 if (mp->mp_list[hgt] >= sdp->sd_inptrs) {
532 if (!hgt)
542 hgt += ret;
545 mp->mp_aheight = hgt + 1;
554 unsigned int hgt; in gfs2_hole_walker() local
556 hgt = mp->mp_aheight - 1; in gfs2_hole_walker()
557 start = metapointer(hgt, mp); in gfs2_hole_walker()
562 mp->mp_list[hgt] += ptr - start; in gfs2_hole_walker()