Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/um/include/asm/
Dpgalloc.h16 set_pmd(pmd, __pmd(_PAGE_TABLE + (unsigned long) __pa(pte)))
19 set_pmd(pmd, __pmd(_PAGE_TABLE + \
Dpgtable-3level.h76 #define set_pmd(pmdptr, pmdval) set_64bit((u64 *) (pmdptr), pmd_val(pmdval)) macro
78 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) macro
Dpgtable-2level.h38 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) macro
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
Dpgalloc.h29 set_pmd(pmd, __pmd(_KERNPG_TABLE + __pa(pte)))
34 set_pmd(pmd, __pmd(_KERNPG_TABLE + in pmd_populate()
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dpgalloc.h53 set_pmd(pmdp, __pmd(pmdval)); in pmd_populate_kernel()
64 set_pmd(pmdp, __pmd(pmdval)); in pmd_populate()
Dpgtable.h199 static inline void set_pmd(pmd_t * pmdp, pmd_t pmd) in set_pmd() function
294 #define copy_pmd(pmdpd,pmdps) set_pmd((pmdpd), *(pmdps))
295 #define pmd_clear(pmdp) set_pmd((pmdp), __pmd(1))
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dpgalloc.h25 set_pmd(pmd, __pmd((unsigned long)pte)); in pmd_populate_kernel()
31 set_pmd(pmd, __pmd((unsigned long)page_address(pte))); in pmd_populate()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dpgalloc.h21 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate_kernel()
29 set_pmd(pmd, __pmd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pmd_populate()
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dpgalloc.h17 set_pmd(pmd, __pmd(__pa(pte))); in pmd_populate_kernel()
23 set_pmd(pmd, __pmd(__pa(page_address(pte)))); in pmd_populate()
/kernel/linux/linux-5.10/arch/xtensa/mm/
Dkasan_init.c32 set_pmd(pmd, __pmd((unsigned long)kasan_early_shadow_pte)); in kasan_early_init()
69 set_pmd(pmd + i, __pmd((unsigned long)pte)); in populate()
Dmmu.c45 set_pmd(pmd, __pmd(((unsigned long)cur_pte) & PAGE_MASK)); in init_pmd()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/nds32/mm/
Dinit.c84 set_pmd(pme, __pmd(__pa(pte) + _PAGE_KERNEL_TABLE)); in map_ram()
115 set_pmd(pmd, __pmd(__pa(fixmap_pmd_p) + _PAGE_KERNEL_TABLE)); in fixedrange_init()
128 set_pmd(pmd, __pmd(__pa(pte) + _PAGE_KERNEL_TABLE)); in fixedrange_init()
Dmm-nds32.c94 set_pmd(pmd, __pmd(pmdval)); in setup_mm_for_reboot()
/kernel/linux/linux-5.10/arch/riscv/mm/
Dkasan_init.c27 set_pmd(kasan_early_shadow_pmd + i, in kasan_early_init()
75 set_pmd(&pmd[i], in populate()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/x86/mm/
Dinit_32.c103 set_pmd(pmd, __pmd(__pa(page_table) | _PAGE_TABLE)); in one_page_table_init()
185 set_pmd(pmd, __pmd(__pa(newpte)|_PAGE_TABLE)); in page_table_kmap_check()
342 set_pmd(pmd, pfn_pmd(pfn, init_prot)); in kernel_physical_mapping_init()
344 set_pmd(pmd, pfn_pmd(pfn, prot)); in kernel_physical_mapping_init()
/kernel/linux/linux-5.10/arch/c6x/include/asm/
Dpgtable.h31 #define pmd_clear(xp) do { set_pmd(xp, __pmd(0)); } while (0)
/kernel/linux/linux-5.10/include/asm-generic/
Dpgtable-nopmd.h42 #define set_pud(pudptr, pudval) set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval })
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dpgalloc.h66 set_pmd(pmd, __pmd((PxD_FLAG_PRESENT | PxD_FLAG_VALID) in pmd_populate_kernel()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dpgalloc.h63 set_pmd(pmdp, __pmd(__phys_to_pmd_val(ptep) | prot)); in __pmd_populate()

123