Home
last modified time | relevance | path

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

1234

/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/arch/loongarch/include/asm/
Dpgalloc.h18 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
23 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
/Linux-v6.6/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-v6.6/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-v6.6/arch/riscv/include/asm/
Dpgalloc.h23 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate_kernel()
31 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate()
/Linux-v6.6/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()
544 set_pmd(pmdp, native_make_pmd(0)); in pmd_clear()
/Linux-v6.6/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()
/Linux-v6.6/include/asm-generic/
Dpgtable-nopmd.h44 #define set_pud(pudptr, pudval) set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval })
/Linux-v6.6/arch/parisc/include/asm/
Dpgalloc.h66 set_pmd(pmd, __pmd((PxD_FLAG_PRESENT | PxD_FLAG_VALID) in pmd_populate_kernel()
/Linux-v6.6/arch/riscv/mm/
Dpgtable.c60 set_pmd(pmd, new_pmd); in pmd_set_huge()
Dkasan_init.c36 set_pmd(pmd, pfn_pmd(PFN_DOWN(__pa(p)), PAGE_TABLE)); in kasan_populate_pte()
69 set_pmd(pmdp, pfn_pmd(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pmd()
331 set_pmd(kasan_early_shadow_pmd + i, in kasan_early_init()
/Linux-v6.6/arch/arm64/include/asm/
Dpgalloc.h69 set_pmd(pmdp, __pmd(__phys_to_pmd_val(ptep) | prot)); in __pmd_populate()
/Linux-v6.6/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