• Home
  • Raw
  • Download

Lines Matching refs:PAGE_SHIFT

76 		paravirt_alloc_pmd(&init_mm, __pa(pmd_table) >> PAGE_SHIFT);  in one_md_table_init()
101 paravirt_alloc_pte(&init_mm, __pa(page_table) >> PAGE_SHIFT); in one_page_table_init()
183 paravirt_alloc_pte(&init_mm, __pa(newpte) >> PAGE_SHIFT); in page_table_kmap_check()
188 paravirt_release_pte(__pa(pte) >> PAGE_SHIFT); in page_table_kmap_check()
269 start_pfn = start >> PAGE_SHIFT; in kernel_physical_mapping_init()
270 end_pfn = end >> PAGE_SHIFT; in kernel_physical_mapping_init()
294 pgd_idx = pgd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
302 pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
326 pfn &= PMD_MASK >> PAGE_SHIFT; in kernel_physical_mapping_init()
345 pte_ofs = pte_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
362 last_map_addr = (pfn << PAGE_SHIFT) + PAGE_SIZE; in kernel_physical_mapping_init()
489 for (pfn = max_low_pfn; pfn < 1<<(32-PAGE_SHIFT); pfn++) { in native_pagetable_init()
490 va = PAGE_OFFSET + (pfn<<PAGE_SHIFT); in native_pagetable_init()
516 paravirt_alloc_pmd(&init_mm, __pa(base) >> PAGE_SHIFT); in native_pagetable_init()
583 highmem_pages = memparse(arg, &arg) >> PAGE_SHIFT; in parse_highmem()
713 max_pfn_mapped<<PAGE_SHIFT); in setup_bootmem_allocator()
714 printk(KERN_INFO " low ram: 0 - %08lx\n", max_low_pfn<<PAGE_SHIFT); in setup_bootmem_allocator()
857 unsigned long start_pfn = start >> PAGE_SHIFT; in arch_add_memory()
858 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory()
866 unsigned long start_pfn = start >> PAGE_SHIFT; in arch_remove_memory()
867 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory()
886 set_pages_rw(virt_to_page(start), size >> PAGE_SHIFT); in set_kernel_text_rw()
900 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in set_kernel_text_ro()
917 set_memory_nx(start, size >> PAGE_SHIFT); in mark_nxdata_nx()
925 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro()
933 set_pages_rw(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro()
936 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); in mark_rodata_ro()