Lines Matching refs:PAGE_SHIFT

77 		paravirt_alloc_pmd(&init_mm, __pa(pmd_table) >> PAGE_SHIFT);  in one_md_table_init()
102 paravirt_alloc_pte(&init_mm, __pa(page_table) >> PAGE_SHIFT); in one_page_table_init()
184 paravirt_alloc_pte(&init_mm, __pa(newpte) >> PAGE_SHIFT); in page_table_kmap_check()
189 paravirt_release_pte(__pa(pte) >> PAGE_SHIFT); in page_table_kmap_check()
271 start_pfn = start >> PAGE_SHIFT; in kernel_physical_mapping_init()
272 end_pfn = end >> PAGE_SHIFT; in kernel_physical_mapping_init()
296 pgd_idx = pgd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
304 pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
328 pfn &= PMD_MASK >> PAGE_SHIFT; in kernel_physical_mapping_init()
347 pte_ofs = pte_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
364 last_map_addr = (pfn << PAGE_SHIFT) + PAGE_SIZE; in kernel_physical_mapping_init()
458 for (pfn = max_low_pfn; pfn < 1<<(32-PAGE_SHIFT); pfn++) { in native_pagetable_init()
459 va = PAGE_OFFSET + (pfn<<PAGE_SHIFT); in native_pagetable_init()
485 paravirt_alloc_pmd(&init_mm, __pa(base) >> PAGE_SHIFT); in native_pagetable_init()
552 highmem_pages = memparse(arg, &arg) >> PAGE_SHIFT; in parse_highmem()
681 max_pfn_mapped<<PAGE_SHIFT); in setup_bootmem_allocator()
682 printk(KERN_INFO " low ram: 0 - %08lx\n", max_low_pfn<<PAGE_SHIFT); in setup_bootmem_allocator()
794 set_memory_nx(start, size >> PAGE_SHIFT); in mark_nxdata_nx()
802 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro()
810 set_pages_rw(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro()
813 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro()