Lines Matching refs:to
245 long to; member
271 if (f <= rg->to) in region_add()
289 nrg->to = t; in region_add()
311 if (rg->to > t) in region_add()
312 t = rg->to; in region_add()
318 add -= (rg->to - rg->from); in region_add()
326 add += t - nrg->to; /* Added to end of region */ in region_add()
327 nrg->to = t; in region_add()
395 if (f <= rg->to) in region_chg()
410 nrg->to = f; in region_chg()
435 if (rg->to > t) { in region_chg()
436 chg += rg->to - t; in region_chg()
437 t = rg->to; in region_chg()
439 chg -= rg->to - rg->from; in region_chg()
502 if (rg->to <= f && (rg->to != rg->from || rg->to != f)) in region_del()
508 if (f > rg->from && t < rg->to) { /* Must split region */ in region_del()
534 nrg->to = rg->to; in region_del()
538 rg->to = f; in region_del()
545 if (f <= rg->from && t >= rg->to) { /* Remove entire region */ in region_del()
546 del += rg->to - rg->from; in region_del()
556 del += rg->to - f; in region_del()
557 rg->to = f; in region_del()
604 if (rg->to <= f) in region_count()
610 seg_to = min(rg->to, t); in region_count()
4646 long from, long to, in hugetlb_reserve_pages() argument
4657 if (from > to) { in hugetlb_reserve_pages()
4684 chg = region_chg(resv_map, from, to); in hugetlb_reserve_pages()
4691 chg = to - from; in hugetlb_reserve_pages()
4736 long add = region_add(resv_map, from, to); in hugetlb_reserve_pages()
4758 region_abort(resv_map, from, to); in hugetlb_reserve_pages()