Lines Matching refs:length
2009 unsigned long length, low_limit, high_limit, gap_start, gap_end; in unmapped_area() local
2012 length = info->length + info->align_mask; in unmapped_area()
2013 if (length < info->length) in unmapped_area()
2017 if (info->high_limit < length) in unmapped_area()
2019 high_limit = info->high_limit - length; in unmapped_area()
2023 low_limit = info->low_limit + length; in unmapped_area()
2029 if (vma->rb_subtree_gap < length) in unmapped_area()
2039 if (left->rb_subtree_gap >= length) { in unmapped_area()
2051 gap_end > gap_start && gap_end - gap_start >= length) in unmapped_area()
2059 if (right->rb_subtree_gap >= length) { in unmapped_area()
2095 VM_BUG_ON(gap_start + info->length > info->high_limit); in unmapped_area()
2096 VM_BUG_ON(gap_start + info->length > gap_end); in unmapped_area()
2104 unsigned long length, low_limit, high_limit, gap_start, gap_end; in unmapped_area_topdown() local
2108 length = info->length + info->align_mask; in unmapped_area_topdown()
2109 if (length < info->length) in unmapped_area_topdown()
2121 if (gap_end < length) in unmapped_area_topdown()
2123 high_limit = gap_end - length; in unmapped_area_topdown()
2127 low_limit = info->low_limit + length; in unmapped_area_topdown()
2138 if (vma->rb_subtree_gap < length) in unmapped_area_topdown()
2148 if (right->rb_subtree_gap >= length) { in unmapped_area_topdown()
2160 gap_end > gap_start && gap_end - gap_start >= length) in unmapped_area_topdown()
2168 if (left->rb_subtree_gap >= length) { in unmapped_area_topdown()
2196 gap_end -= info->length; in unmapped_area_topdown()
2264 info.length = len; in arch_get_unmapped_area()
2306 info.length = len; in arch_get_unmapped_area_topdown()