Home
last modified time | relevance | path

Searched refs:set_pmd (Results 1 – 25 of 82) sorted by relevance

1234

/linux-6.12.1/arch/hexagon/include/asm/
Dpgalloc.h51 set_pmd(pmd, __pmd(((unsigned long)page_to_pfn(pte) << PAGE_SHIFT) | in pmd_populate()
77 set_pmd(pmd, __pmd(((unsigned long)__pa(pte)) | HEXAGON_L1_PTE_SIZE)); in pmd_populate_kernel()
85 set_pmd(ppmd, __pmd(((unsigned long)__pa(pte)) | HEXAGON_L1_PTE_SIZE)); in pmd_populate_kernel()
/linux-6.12.1/arch/nios2/include/asm/
Dpgalloc.h20 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
26 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
/linux-6.12.1/arch/um/include/asm/
Dpgalloc.h16 set_pmd(pmd, __pmd(_PAGE_TABLE + (unsigned long) __pa(pte)))
19 set_pmd(pmd, __pmd(_PAGE_TABLE + \
Dpgtable-2level.h37 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) macro
Dpgtable-3level.h70 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) macro
/linux-6.12.1/arch/x86/power/
Dhibernate_32.c66 set_pmd(pmd, __pmd(__pa(page_table) | _PAGE_TABLE)); in resume_one_page_table_init()
110 set_pmd(pmd, pfn_pmd(pfn, PAGE_KERNEL_LARGE_EXEC)); in resume_physical_mapping_init()
158 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
Dhibernate_64.c68 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
/linux-6.12.1/arch/openrisc/include/asm/
Dpgalloc.h29 set_pmd(pmd, __pmd(_KERNPG_TABLE + __pa(pte)))
34 set_pmd(pmd, __pmd(_KERNPG_TABLE + in pmd_populate()
/linux-6.12.1/arch/sh/include/asm/
Dpgalloc.h26 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
32 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
/linux-6.12.1/arch/csky/include/asm/
Dpgalloc.h16 set_pmd(pmd, __pmd(__pa(pte))); in pmd_populate_kernel()
22 set_pmd(pmd, __pmd(__pa(page_address(pte)))); in pmd_populate()
/linux-6.12.1/arch/arc/include/asm/
Dpgalloc.h46 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
51 set_pmd(pmd, __pmd((unsigned long)page_address(pte_page))); in pmd_populate()
/linux-6.12.1/arch/loongarch/include/asm/
Dpgalloc.h19 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
24 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
/linux-6.12.1/arch/mips/include/asm/
Dpgalloc.h24 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
30 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
/linux-6.12.1/arch/xtensa/mm/
Dkasan_init.c31 set_pmd(pmd, __pmd((unsigned long)kasan_early_shadow_pte)); in kasan_early_init()
67 set_pmd(pmd + i, __pmd((unsigned long)pte)); in populate()
Dmmu.c47 set_pmd(pmd, __pmd(((unsigned long)cur_pte) & PAGE_MASK)); in init_pmd()
/linux-6.12.1/arch/riscv/include/asm/
Dpgalloc.h32 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate_kernel()
40 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate()
/linux-6.12.1/arch/x86/include/asm/
Dpgalloc.h68 set_pmd(pmd, __pmd(__pa(pte) | _PAGE_TABLE)); in pmd_populate_kernel()
84 set_pmd(pmd, __pmd(((pteval_t)pfn << PAGE_SHIFT) | _PAGE_TABLE)); in pmd_populate()
Dparavirt.h439 static inline void set_pmd(pmd_t *pmdp, pmd_t pmd) in set_pmd() function
441 PVOP_VCALL2(mmu.set_pmd, pmdp, native_pmd_val(pmd)); in set_pmd()
542 set_pmd(pmdp, native_make_pmd(0)); in pmd_clear()
/linux-6.12.1/arch/x86/mm/
Dinit_32.c100 set_pmd(pmd, __pmd(__pa(page_table) | _PAGE_TABLE)); in one_page_table_init()
181 set_pmd(pmd, __pmd(__pa(newpte)|_PAGE_TABLE)); in page_table_kmap_check()
333 set_pmd(pmd, pfn_pmd(pfn, init_prot)); in kernel_physical_mapping_init()
335 set_pmd(pmd, pfn_pmd(pfn, prot)); in kernel_physical_mapping_init()
Dpti.c258 set_pmd(pmd, __pmd(0)); in pti_user_pagetable_walk_pte()
270 set_pmd(pmd, __pmd(_KERNPG_TABLE | __pa(new_pte_page))); in pti_user_pagetable_walk_pte()
/linux-6.12.1/arch/riscv/mm/
Dpageattr.c62 set_pmd(pmd, val); in pageattr_pmd_entry()
128 set_pmd(pmdp, pfn_pmd(page_to_pfn(pte_page), PAGE_TABLE)); in __split_linear_mapping_pmd()
164 set_pmd(pmdp_new, in __split_linear_mapping_pud()
Dkasan_init.c36 set_pmd(pmd, pfn_pmd(PFN_DOWN(__pa(p)), PAGE_TABLE)); in kasan_populate_pte()
70 set_pmd(pmdp, pfn_pmd(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pmd()
334 set_pmd(kasan_early_shadow_pmd + i, in kasan_early_init()
/linux-6.12.1/arch/parisc/include/asm/
Dpgalloc.h66 set_pmd(pmd, __pmd((PxD_FLAG_PRESENT | PxD_FLAG_VALID) in pmd_populate_kernel()
/linux-6.12.1/include/asm-generic/
Dpgtable-nopmd.h44 #define set_pud(pudptr, pudval) set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval })
/linux-6.12.1/arch/xtensa/include/asm/
Dpgtable.h249 #define pmd_clear(pmdp) do { set_pmd(pmdp, __pmd(0)); } while (0)
311 set_pmd(pmd_t *pmdp, pmd_t pmdval) in set_pmd() function

1234