Lines Matching refs:gap_end
1751 unsigned long length, low_limit, high_limit, gap_start, gap_end; in unmapped_area() local
1776 gap_end = vm_start_gap(vma); in unmapped_area()
1777 if (gap_end >= low_limit && vma->vm_rb.rb_left) { in unmapped_area()
1792 if (gap_end >= low_limit && in unmapped_area()
1793 gap_end > gap_start && gap_end - gap_start >= length) in unmapped_area()
1816 gap_end = vm_start_gap(vma); in unmapped_area()
1825 gap_end = ULONG_MAX; /* Only for VM_BUG_ON below */ in unmapped_area()
1838 VM_BUG_ON(gap_start + info->length > gap_end); in unmapped_area()
1846 unsigned long length, low_limit, high_limit, gap_start, gap_end; in unmapped_area_topdown() local
1857 gap_end = info->high_limit; in unmapped_area_topdown()
1858 if (gap_end < length) in unmapped_area_topdown()
1860 high_limit = gap_end - length; in unmapped_area_topdown()
1893 gap_end = vm_start_gap(vma); in unmapped_area_topdown()
1894 if (gap_end < low_limit) in unmapped_area_topdown()
1897 gap_end > gap_start && gap_end - gap_start >= length) in unmapped_area_topdown()
1928 if (gap_end > info->high_limit) in unmapped_area_topdown()
1929 gap_end = info->high_limit; in unmapped_area_topdown()
1933 gap_end -= info->length; in unmapped_area_topdown()
1934 gap_end -= (gap_end - info->align_offset) & info->align_mask; in unmapped_area_topdown()
1936 VM_BUG_ON(gap_end < info->low_limit); in unmapped_area_topdown()
1937 VM_BUG_ON(gap_end < gap_start); in unmapped_area_topdown()
1938 return gap_end; in unmapped_area_topdown()