Lines Matching refs:newstart
623 u_long newstart, newend, exend, beststart, bestovh, ovh; in extent_alloc_subregion1() local
722 newstart = EXTENT_ALIGN(substart, alignment, skew); in extent_alloc_subregion1()
723 if (newstart < ex->ex_start) { in extent_alloc_subregion1()
743 if (rp->er_start >= newstart) in extent_alloc_subregion1()
753 if (last != NULL && last->er_end >= newstart) in extent_alloc_subregion1()
754 newstart = EXTENT_ALIGN((last->er_end + 1), alignment, skew); in extent_alloc_subregion1()
770 if (LE_OV(newstart, size, rp->er_start)) { in extent_alloc_subregion1()
777 newend = newstart + (size - 1); in extent_alloc_subregion1()
783 dontcross = EXTENT_ALIGN(newstart+1, boundary, in extent_alloc_subregion1()
789 newstart, newend, ex->ex_start, ex->ex_end, in extent_alloc_subregion1()
802 newstart = dontcross + 1; in extent_alloc_subregion1()
803 newend = newstart + (size - 1); in extent_alloc_subregion1()
805 if (!LE_OV(newstart, size, rp->er_start)) in extent_alloc_subregion1()
815 if (newstart + size - 1 > ex->ex_end || in extent_alloc_subregion1()
816 dontcross < newstart) in extent_alloc_subregion1()
826 ovh = rp->er_start - newstart - size; in extent_alloc_subregion1()
836 beststart = newstart; in extent_alloc_subregion1()
845 newstart = EXTENT_ALIGN((rp->er_end + 1), alignment, skew); in extent_alloc_subregion1()
846 if (newstart < rp->er_end) { in extent_alloc_subregion1()
865 if (LE_OV(newstart, (size - 1), subend)) { in extent_alloc_subregion1()
872 newend = newstart + (size - 1); in extent_alloc_subregion1()
878 dontcross = EXTENT_ALIGN(newstart+1, boundary, in extent_alloc_subregion1()
884 newstart, newend, ex->ex_start, ex->ex_end, in extent_alloc_subregion1()
897 newstart = dontcross + 1; in extent_alloc_subregion1()
898 newend = newstart + (size - 1); in extent_alloc_subregion1()
900 if (!LE_OV(newstart, (size - 1), subend)) in extent_alloc_subregion1()
910 if (newstart + size - 1 > ex->ex_end || in extent_alloc_subregion1()
911 dontcross < newstart) in extent_alloc_subregion1()
921 ovh = exend - newstart - (size - 1); in extent_alloc_subregion1()
931 beststart = newstart; in extent_alloc_subregion1()
954 newstart = beststart; in extent_alloc_subregion1()
985 extent_insert_and_optimize(ex, newstart, size, flags, last, myrp); in extent_alloc_subregion1()
987 *result = newstart; in extent_alloc_subregion1()