/arch/riscv/include/asm/ |
D | kfence.h | 22 set_pte(pte + i, pfn_pte(pfn + i, PAGE_KERNEL)); in split_pmd_page() 54 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kfence_protect_page() 56 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kfence_protect_page()
|
/arch/x86/include/asm/ |
D | kfence.h | 57 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kfence_protect_page() 59 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kfence_protect_page()
|
/arch/xtensa/mm/ |
D | kasan_init.c | 26 set_pte(kasan_early_shadow_pte + i, in kasan_early_init() 64 set_pte(pte + j, pfn_pte(PHYS_PFN(phys), PAGE_KERNEL)); in populate() 94 set_pte(kasan_early_shadow_pte + i, in kasan_init()
|
/arch/m68k/mm/ |
D | mcfmmu.c | 76 set_pte(pg_table, pte); in paging_init() 144 set_pte(pte, pte_mkdirty(*pte)); in cf_tlb_miss() 147 set_pte(pte, pte_mkyoung(*pte)); in cf_tlb_miss() 150 set_pte(pte, pte_wrprotect(*pte)); in cf_tlb_miss()
|
D | sun3mmu.c | 81 set_pte (pg_table, pte); in paging_init()
|
/arch/m68k/include/asm/ |
D | pgtable_mm.h | 30 #define set_pte(pteptr, pteval) \ macro 34 #define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval)
|
D | mmu_context.h | 145 set_pte(pte, pte_mkyoung(*pte)); in load_ksp_mmu() 148 set_pte(pte, pte_wrprotect(*pte)); in load_ksp_mmu()
|
/arch/sparc/include/asm/ |
D | pgtable_32.h | 118 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() function 123 #define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval) 176 set_pte(ptep, __pte(0)); in __pte_clear() 201 set_pte((pte_t *)&pmd_val(*pmdp), __pte(0)); in pmd_clear() 221 set_pte((pte_t *)pudp, __pte(0)); in pud_clear()
|
D | pgalloc_32.h | 33 set_pte((pte_t *)pudp, __pte((SRMMU_ET_PTD | (pa >> 4)))); in pud_set()
|
/arch/riscv/mm/ |
D | kasan_init.c | 24 set_pte(kasan_early_shadow_pte + i, in kasan_early_init() 68 set_pte(ptep, pfn_pte(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pte() 198 set_pte(&kasan_early_shadow_pte[i], in kasan_init()
|
/arch/csky/mm/ |
D | tcm.c | 47 set_pte(tcm_pte, pfn_pte(__phys_to_pfn(paddr), PAGE_KERNEL)); 66 set_pte(tcm_pte, pfn_pte(__phys_to_pfn(paddr), PAGE_KERNEL));
|
D | init.c | 140 set_pte(&kernel_pte_tables[i], __pte(_PAGE_GLOBAL)); in mmu_init() 143 set_pte(&kernel_pte_tables[i - PFN_DOWN(va_pa_offset)], pfn_pte(i, PAGE_KERNEL)); in mmu_init()
|
/arch/x86/power/ |
D | hibernate_32.c | 124 set_pte(pte, pfn_pte(pfn, PAGE_KERNEL_EXEC)); in resume_physical_mapping_init() 164 set_pte(pte + pte_index(restore_jump_address), in set_up_temporary_text_mapping()
|
/arch/mips/include/asm/ |
D | highmem.h | 54 #define arch_kmap_local_set_pte(mm, vaddr, ptep, ptev) set_pte(ptep, ptev)
|
/arch/mips/kvm/ |
D | mmu.c | 167 set_pte(pte + i, __pte(0)); in kvm_mips_flush_gpa_pte() 296 set_pte(pte + i, new); \ 465 set_pte(gpa_pte, hva_pte); in kvm_set_spte_gfn() 533 set_pte(ptep, pte_mkyoung(*ptep)); in _kvm_mips_map_page_fast() 545 set_pte(ptep, pte_mkdirty(*ptep)); in _kvm_mips_map_page_fast() 668 set_pte(ptep, entry); in kvm_mips_map_page()
|
/arch/csky/include/asm/ |
D | pgtable.h | 34 #define pte_clear(mm, addr, ptep) set_pte((ptep), \ 103 static inline void set_pte(pte_t *p, pte_t pte) in set_pte() function 112 #define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval)
|
/arch/sh/mm/ |
D | kmap.c | 45 set_pte(kmap_coherent_pte - idx, mk_pte(page, PAGE_KERNEL)); in kmap_coherent()
|
D | tlbex_32.c | 66 set_pte(pte, entry); in handle_tlbmiss()
|
/arch/arm64/mm/ |
D | trans_pgd.c | 43 set_pte(dst_ptep, pte_mkwrite(pte)); in _copy_pte() 56 set_pte(dst_ptep, pte_mkpresent(pte_mkwrite(pte))); in _copy_pte() 272 set_pte(ptep, pfn_pte(virt_to_pfn(page), pgprot)); in trans_pgd_map_page()
|
/arch/x86/xen/ |
D | p2m.c | 350 set_pte(p2m_missing_pte + i, in xen_rebuild_p2m_list() 352 set_pte(p2m_identity_pte + i, in xen_rebuild_p2m_list() 385 set_pte(ptep, in xen_rebuild_p2m_list() 395 set_pte(ptep, in xen_rebuild_p2m_list() 605 set_pte(ptep, in xen_alloc_p2m_entry()
|
/arch/nds32/mm/ |
D | init.c | 91 set_pte(pte, __pte(p + pgprot_val(PAGE_KERNEL))); in map_ram() 258 set_pte(pte, pfn_pte(phys >> PAGE_SHIFT, flags)); in __set_fixmap()
|
/arch/sh/include/asm/ |
D | pgtable_32.h | 300 static inline void set_pte(pte_t *ptep, pte_t pte) in set_pte() function 307 #define set_pte(pteptr, pteval) (*(pteptr) = pteval) macro 310 #define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval)
|
/arch/riscv/kernel/ |
D | efi.c | 75 set_pte(ptep, pte); in set_permissions()
|
/arch/x86/boot/compressed/ |
D | ident_map_64.c | 198 set_pte(&pte[i], __pte(address | page_flags)); in split_large_pmd() 293 set_pte(ptep, pte); in set_clr_page_flags()
|
/arch/nios2/include/asm/ |
D | pgtable.h | 195 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() function 206 set_pte(ptep, pteval); in set_pte_at()
|