Lines Matching refs:newaddr
441 unsigned long newaddr; in slice_get_unmapped_area() local
539 newaddr = addr; in slice_get_unmapped_area()
546 newaddr = slice_find_area(mm, len, &good_mask, in slice_get_unmapped_area()
548 if (newaddr != -ENOMEM) { in slice_get_unmapped_area()
552 slice_dbg(" found area at 0x%lx\n", newaddr); in slice_get_unmapped_area()
567 newaddr = addr; in slice_get_unmapped_area()
582 newaddr = slice_find_area(mm, len, &good_mask, in slice_get_unmapped_area()
584 if (newaddr != -ENOMEM) { in slice_get_unmapped_area()
585 slice_dbg(" found area at 0x%lx\n", newaddr); in slice_get_unmapped_area()
593 newaddr = slice_find_area(mm, len, &potential_mask, in slice_get_unmapped_area()
596 if (IS_ENABLED(CONFIG_PPC_64K_PAGES) && newaddr == -ENOMEM && in slice_get_unmapped_area()
600 newaddr = slice_find_area(mm, len, &potential_mask, in slice_get_unmapped_area()
604 if (newaddr == -ENOMEM) in slice_get_unmapped_area()
607 slice_range_to_mask(newaddr, len, &potential_mask); in slice_get_unmapped_area()
608 slice_dbg(" found potential area at 0x%lx\n", newaddr); in slice_get_unmapped_area()
616 if (need_extra_context(mm, newaddr)) { in slice_get_unmapped_area()
617 if (alloc_extended_context(mm, newaddr) < 0) in slice_get_unmapped_area()
631 return newaddr; in slice_get_unmapped_area()
634 if (need_extra_context(mm, newaddr)) { in slice_get_unmapped_area()
635 if (alloc_extended_context(mm, newaddr) < 0) in slice_get_unmapped_area()
638 return newaddr; in slice_get_unmapped_area()