Lines Matching refs:newaddr
437 unsigned long newaddr; in slice_get_unmapped_area() local
535 newaddr = addr; in slice_get_unmapped_area()
542 newaddr = slice_find_area(mm, len, &good_mask, in slice_get_unmapped_area()
544 if (newaddr != -ENOMEM) { in slice_get_unmapped_area()
548 slice_dbg(" found area at 0x%lx\n", newaddr); in slice_get_unmapped_area()
563 newaddr = addr; in slice_get_unmapped_area()
578 newaddr = slice_find_area(mm, len, &good_mask, in slice_get_unmapped_area()
580 if (newaddr != -ENOMEM) { in slice_get_unmapped_area()
581 slice_dbg(" found area at 0x%lx\n", newaddr); in slice_get_unmapped_area()
589 newaddr = slice_find_area(mm, len, &potential_mask, in slice_get_unmapped_area()
592 if (IS_ENABLED(CONFIG_PPC_64K_PAGES) && newaddr == -ENOMEM && in slice_get_unmapped_area()
596 newaddr = slice_find_area(mm, len, &potential_mask, in slice_get_unmapped_area()
600 if (newaddr == -ENOMEM) in slice_get_unmapped_area()
603 slice_range_to_mask(newaddr, len, &potential_mask); in slice_get_unmapped_area()
604 slice_dbg(" found potential area at 0x%lx\n", newaddr); in slice_get_unmapped_area()
612 if (need_extra_context(mm, newaddr)) { in slice_get_unmapped_area()
613 if (alloc_extended_context(mm, newaddr) < 0) in slice_get_unmapped_area()
627 return newaddr; in slice_get_unmapped_area()
630 if (need_extra_context(mm, newaddr)) { in slice_get_unmapped_area()
631 if (alloc_extended_context(mm, newaddr) < 0) in slice_get_unmapped_area()
634 return newaddr; in slice_get_unmapped_area()