Searched refs:pte_ofs (Results 1 – 2 of 2) sorted by relevance
/arch/tile/mm/ |
D | init.c | 410 int pte_ofs; in kernel_physical_mapping_init() local 468 for (pte_ofs = 0; pte_ofs < PTRS_PER_PTE; in kernel_physical_mapping_init() 469 pfn++, pte_ofs++, address += PAGE_SIZE) in kernel_physical_mapping_init() 470 pte[pte_ofs] = pfn_pte(pfn, prot); in kernel_physical_mapping_init() 475 for (pte_ofs = 0; pte_ofs < PTRS_PER_PTE; in kernel_physical_mapping_init() 476 pfn++, pte_ofs++, address += PAGE_SIZE) { in kernel_physical_mapping_init() 478 pte[pte_ofs] = pfn_pte(pfn, prot); in kernel_physical_mapping_init() 539 pte_ofs = pte_index(address); in kernel_physical_mapping_init() 540 if (pte_ofs == 0) { in kernel_physical_mapping_init() 551 pte[pte_ofs] = pfn_pte(pfn, prot); in kernel_physical_mapping_init()
|
/arch/x86/mm/ |
D | init_32.c | 260 int pgd_idx, pmd_idx, pte_ofs; in kernel_physical_mapping_init() local 344 pte_ofs = pte_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init() 345 pte += pte_ofs; in kernel_physical_mapping_init() 346 for (; pte_ofs < PTRS_PER_PTE && pfn < end_pfn; in kernel_physical_mapping_init() 347 pte++, pfn++, pte_ofs++, addr += PAGE_SIZE) { in kernel_physical_mapping_init()
|