Searched refs:pmd_index (Results 1 – 19 of 19) sorted by relevance
261 for (i = 0; i < pmd_index((unsigned long)_text); i++) in __startup_64()265 for (; i <= pmd_index((unsigned long)_end); i++) in __startup_64()292 i = pmd_index(vaddr); in __startup_64()387 pmd_p[pmd_index(address)] = pmd; in __early_make_pgtable()
79 (pmd_index(MODULES_VADDR) - pmd_index(TASK_SIZE)) in pgd_alloc()
44 pmd += pmd_index(addr); in idmap_add_pmd()
113 int pmd_idx = pmd_index(vaddr); in populate_extra_pmd()142 pmd_idx = pmd_index(vaddr); in page_table_range_init_count()224 pmd_idx = pmd_index(vaddr); in page_table_range_init()229 pmd = pmd + pmd_index(vaddr); in page_table_range_init()308 pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
12 pmd_t *pmd = pmd_page + pmd_index(addr); in ident_pmd_init()
509 int i = pmd_index(paddr); in phys_pmd_init()512 pmd_t *pmd = pmd_page + pmd_index(paddr); in phys_pmd_init()1110 pmd = pmd_start + pmd_index(addr); in remove_pmd_table()
177 int i_min = pmd_index(start_gpa); in kvm_mips_flush_gpa_pmd()178 int i_max = pmd_index(end_gpa); in kvm_mips_flush_gpa_pmd()309 int i_min = pmd_index(start); \310 int i_max = pmd_index(end); \
68 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
158 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
167 k = pmd_index(vaddr); in fixrange_init()
105 j = pmd_index(vaddr); in fixrange_init()
389 uintptr_t pmd_idx = pmd_index(va); in create_pmd_mapping()695 fix_bmap_spmd = fixmap_pmd[pmd_index(__fix_to_virt(FIX_BTMAP_BEGIN))]; in setup_vm()696 fix_bmap_epmd = fixmap_pmd[pmd_index(__fix_to_virt(FIX_BTMAP_END))]; in setup_vm()
85 pmdp = base_pmd + pmd_index(vaddr); in kasan_populate_pmd()
186 k = pmd_index(vaddr); in page_table_range_init()
1232 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro1322 return (pmd_t *) pud_deref(pud) + pmd_index(address); in pmd_offset_lockless()1487 sto = (unsigned long) pmdp - pmd_index(addr) * sizeof(pmd_t); in __pmdp_idte()
242 k = pmd_index(vaddr); in fixrange_init()
540 nr = last ? pmd_index(limit) + 1 : PTRS_PER_PMD; in xen_pmd_walk()1001 pmd_t *pmd = level2_kernel_pgt + pmd_index(vaddr); in xen_cleanhighmap()1837 pmd = native_make_pmd(xen_read_phys_ulong(pa + pmd_index(vaddr) * in xen_early_virt_to_phys()
804 pmd = pmd_start + pmd_index(addr); in remove_pmd_table()
673 #define pmd_offset_phys(dir, addr) (pud_page_paddr(READ_ONCE(*(dir))) + pmd_index(addr) * sizeof(pm…