Lines Matching refs:tmp
2845 struct vm_area_struct *tmp; in unmapped_area() local
2869 tmp = vma_next(&vmi); in unmapped_area()
2870 if (tmp && (tmp->vm_flags & VM_STARTGAP_FLAGS)) { /* Avoid prev check if possible */ in unmapped_area()
2871 if (vm_start_gap(tmp) < gap + length - 1) { in unmapped_area()
2872 low_limit = tmp->vm_end; in unmapped_area()
2877 tmp = vma_prev(&vmi); in unmapped_area()
2878 if (tmp && vm_end_gap(tmp) > gap) { in unmapped_area()
2879 low_limit = vm_end_gap(tmp); in unmapped_area()
2902 struct vm_area_struct *tmp; in unmapped_area_topdown() local
2921 tmp = vma_next(&vmi); in unmapped_area_topdown()
2922 if (tmp && (tmp->vm_flags & VM_STARTGAP_FLAGS)) { /* Avoid prev check if possible */ in unmapped_area_topdown()
2923 if (vm_start_gap(tmp) < gap_end) { in unmapped_area_topdown()
2924 high_limit = vm_start_gap(tmp); in unmapped_area_topdown()
2929 tmp = vma_prev(&vmi); in unmapped_area_topdown()
2930 if (tmp && vm_end_gap(tmp) > gap) { in unmapped_area_topdown()
2931 high_limit = tmp->vm_start; in unmapped_area_topdown()