Lines Matching refs:task_size
94 unsigned long task_size = TASK_SIZE; in arch_get_unmapped_area() local
109 task_size = STACK_TOP32; in arch_get_unmapped_area()
110 if (unlikely(len > task_size || len >= VA_EXCLUDE_START)) in arch_get_unmapped_area()
124 if (task_size - len >= addr && in arch_get_unmapped_area()
131 info.high_limit = min(task_size, VA_EXCLUDE_START); in arch_get_unmapped_area()
136 if ((addr & ~PAGE_MASK) && task_size > VA_EXCLUDE_END) { in arch_get_unmapped_area()
139 info.high_limit = task_size; in arch_get_unmapped_area()
153 unsigned long task_size = STACK_TOP32; in arch_get_unmapped_area_topdown() local
171 if (unlikely(len > task_size)) in arch_get_unmapped_area_topdown()
186 if (task_size - len >= addr && in arch_get_unmapped_area_topdown()
294 unsigned long task_size = STACK_TOP32; in arch_pick_mmap_layout() local
298 if (gap > (task_size / 6 * 5)) in arch_pick_mmap_layout()
299 gap = (task_size / 6 * 5); in arch_pick_mmap_layout()
301 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()