Lines Matching refs:hseg
430 struct seg *hseg = NULL; in as_addseg() local
434 hseg = as->a_lastgaphl; in as_addseg()
435 lseg = AVL_PREV(&as->a_segtree, hseg); in as_addseg()
438 hseg = AVL_NEXT(&as->a_segtree, lseg); in as_addseg()
441 if (hseg && lseg && lseg->s_base < newseg->s_base && in as_addseg()
442 hseg->s_base > newseg->s_base) { in as_addseg()
1857 struct seg *lseg, *hseg; in as_gap_aligned() local
1909 hseg = as_findseg(as, lobound, 1); in as_gap_aligned()
1910 lseg = AS_SEGPREV(as, hseg); in as_gap_aligned()
1922 hseg = as_findseg(as, hibound, 1); in as_gap_aligned()
1923 if (hseg->s_base + hseg->s_size < hibound) { in as_gap_aligned()
1924 lseg = hseg; in as_gap_aligned()
1925 hseg = NULL; in as_gap_aligned()
1927 lseg = AS_SEGPREV(as, hseg); in as_gap_aligned()
1939 hi = (hseg == NULL) ? hibound : hseg->s_base; in as_gap_aligned()
1969 as->a_lastgap = hseg; in as_gap_aligned()
1970 if (hseg != NULL) in as_gap_aligned()
1971 as->a_lastgaphl = hseg; in as_gap_aligned()
1982 lseg = hseg; in as_gap_aligned()
1985 hseg = AS_SEGNEXT(as, hseg); in as_gap_aligned()
1987 hseg = lseg; in as_gap_aligned()
1988 if (hseg == NULL) in as_gap_aligned()