| /linux/arch/xtensa/mm/ |
| H A D | kasan_init.c | 25 set_pte(kasan_early_shadow_pte + i, in kasan_early_init() 58 set_pte(pte + j, pfn_pte(PHYS_PFN(phys), PAGE_KERNEL)); in populate() 88 set_pte(kasan_early_shadow_pte + i, in kasan_init()
|
| /linux/arch/parisc/include/asm/ |
| H A D | kfence.h | 35 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kfence_protect_page() 37 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kfence_protect_page()
|
| /linux/arch/riscv/include/asm/ |
| H A D | kfence.h | 21 set_pte(pte, __pte(pte_val(ptep_get(pte)) & ~_PAGE_PRESENT)); in kfence_protect_page() 23 set_pte(pte, __pte(pte_val(ptep_get(pte)) | _PAGE_PRESENT)); in kfence_protect_page()
|
| /linux/arch/x86/include/asm/ |
| H A 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()
|
| /linux/arch/sparc/include/asm/ |
| H A D | pgtable_32.h | 99 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() function 160 set_pte(ptep, __pte(0)); in __pte_clear() 185 set_pte((pte_t *)&pmd_val(*pmdp), __pte(0)); in pmd_clear() 205 set_pte((pte_t *)pudp, __pte(0)); in pud_clear() 416 set_pte(__ptep, __entry); \
|
| H A D | pgalloc_32.h | 33 set_pte((pte_t *)pudp, __pte((SRMMU_ET_PTD | (pa >> 4)))); in pud_set()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | kfence.h | 60 set_pte(pte, __pte(pte_val(ptep_get(pte)) & ~(_PAGE_VALID | _PAGE_PRESENT))); in kfence_protect_page() 62 set_pte(pte, __pte(pte_val(ptep_get(pte)) | (_PAGE_VALID | _PAGE_PRESENT))); in kfence_protect_page()
|
| /linux/arch/mips/include/asm/ |
| H A D | pgtable.h | 119 static inline void set_pte(pte_t *ptep, pte_t pte) function 157 set_pte(ptep, null); 171 static inline void set_pte(pte_t *ptep, pte_t pteval) function 196 set_pte(ptep, __pte(_PAGE_GLOBAL)); 199 set_pte(ptep, __pte(0)); 223 set_pte(ptep, pte); 499 set_pte(ptep, entry);
|
| H A D | highmem.h | 54 #define arch_kmap_local_set_pte(mm, vaddr, ptep, ptev) set_pte(ptep, ptev)
|
| /linux/arch/s390/include/asm/ |
| H A D | hugetlb.h | 51 set_pte(ptep, __pte(_REGION3_ENTRY_EMPTY)); in huge_pte_clear() 53 set_pte(ptep, __pte(_SEGMENT_ENTRY_EMPTY)); in huge_pte_clear()
|
| /linux/arch/nios2/include/asm/ |
| H A D | pgtable.h | 179 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() function 193 set_pte(ptep, pte); in set_ptes() 217 set_pte(ptep, null); in pte_clear()
|
| /linux/arch/x86/power/ |
| H A 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()
|
| /linux/arch/csky/mm/ |
| H A 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));
|
| /linux/arch/s390/mm/ |
| H A D | pgtable.c | 111 set_pte(ptep, set_pte_bit(*ptep, __pgprot(_PAGE_INVALID))); in ptep_flush_lazy() 197 set_pte(ptep, entry); in pgste_set_pte() 245 set_pte(ptep, new); in ptep_xchg_commit() 286 set_pte(ptep, new); in ptep_reset_dat_prot() 339 set_pte(ptep, pte); in ptep_modify_prot_commit() 555 set_pte(ptep, __pte(_PAGE_INVALID)); in pgtable_trans_huge_withdraw() 557 set_pte(ptep, __pte(_PAGE_INVALID)); in pgtable_trans_huge_withdraw() 752 set_pte(ptep, pte); in ptep_test_and_clear_uc()
|
| /linux/arch/sh/include/asm/ |
| H A 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 325 #define pte_clear(mm, addr, ptep) set_pte(ptep, __pte(0))
|
| /linux/arch/x86/xen/ |
| H A D | p2m.c | 340 set_pte(p2m_missing_pte + i, in xen_rebuild_p2m_list() 342 set_pte(p2m_identity_pte + i, in xen_rebuild_p2m_list() 375 set_pte(ptep, in xen_rebuild_p2m_list() 385 set_pte(ptep, in xen_rebuild_p2m_list() 594 set_pte(ptep, in xen_alloc_p2m_entry()
|
| /linux/arch/m68k/include/asm/ |
| H A 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()
|
| /linux/arch/sh/mm/ |
| H A D | kmap.c | 46 set_pte(kmap_coherent_pte - idx, mk_pte(page, PAGE_KERNEL)); in kmap_coherent()
|
| H A D | tlbex_32.c | 67 set_pte(pte, entry); in handle_tlbmiss()
|
| /linux/arch/x86/boot/compressed/ |
| H A D | ident_map_64.c | 211 set_pte(&pte[i], __pte(address | page_flags)); in split_large_pmd() 314 set_pte(ptep, pte); in set_clr_page_flags()
|
| /linux/arch/csky/include/asm/ |
| H A D | pgtable.h | 34 #define pte_clear(mm, addr, ptep) set_pte((ptep), \ 85 static inline void set_pte(pte_t *p, pte_t pte) in set_pte() function
|
| /linux/arch/um/include/asm/ |
| H A D | pgtable.h | 214 static inline void set_pte(pte_t *pteptr, pte_t pteval) in set_pte() function 251 set_pte(ptep, pte); in set_ptes()
|
| /linux/arch/x86/mm/ |
| H A D | init_32.c | 178 set_pte(newpte + i, pte[i]); in page_table_kmap_check() 358 set_pte(pte, pfn_pte(pfn, init_prot)); in kernel_physical_mapping_init() 361 set_pte(pte, pfn_pte(pfn, prot)); in kernel_physical_mapping_init()
|
| /linux/arch/riscv/kernel/ |
| H A D | efi.c | 75 set_pte(ptep, pte); in set_permissions()
|
| /linux/arch/riscv/mm/ |
| H A D | kasan_init.c | 44 set_pte(ptep, pfn_pte(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pte() 330 set_pte(kasan_early_shadow_pte + i, in kasan_early_init() 526 set_pte(&kasan_early_shadow_pte[i], in kasan_init()
|