Lines Matching refs:end_address
355 unsigned long end_address, hole_next_pfn; in vmemmap_find_next_valid_pfn() local
359 end_address = (unsigned long) &vmem_map[pgdat->node_start_pfn + i]; in vmemmap_find_next_valid_pfn()
360 end_address = PAGE_ALIGN(end_address); in vmemmap_find_next_valid_pfn()
371 pgd = pgd_offset_k(end_address); in vmemmap_find_next_valid_pfn()
373 end_address += PGDIR_SIZE; in vmemmap_find_next_valid_pfn()
377 pud = pud_offset(pgd, end_address); in vmemmap_find_next_valid_pfn()
379 end_address += PUD_SIZE; in vmemmap_find_next_valid_pfn()
383 pmd = pmd_offset(pud, end_address); in vmemmap_find_next_valid_pfn()
385 end_address += PMD_SIZE; in vmemmap_find_next_valid_pfn()
389 pte = pte_offset_kernel(pmd, end_address); in vmemmap_find_next_valid_pfn()
392 end_address += PAGE_SIZE; in vmemmap_find_next_valid_pfn()
394 if ((end_address < stop_address) && in vmemmap_find_next_valid_pfn()
395 (end_address != ALIGN(end_address, 1UL << PMD_SHIFT))) in vmemmap_find_next_valid_pfn()
401 } while (end_address < stop_address); in vmemmap_find_next_valid_pfn()
403 end_address = min(end_address, stop_address); in vmemmap_find_next_valid_pfn()
404 end_address = end_address - (unsigned long) vmem_map + sizeof(struct page) - 1; in vmemmap_find_next_valid_pfn()
405 hole_next_pfn = end_address / sizeof(struct page); in vmemmap_find_next_valid_pfn()