Home
last modified time | relevance | path

Searched refs:set_pte (Results 1 – 25 of 37) sorted by relevance

12

/linux/arch/xtensa/mm/
H A Dkasan_init.c25 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 Dkfence.h35 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/loongarch/include/asm/
H A Dkfence.h60 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/x86/power/
H A Dhibernate_32.c124 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()
H A Dhibernate.c187 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_NX)); in relocate_restore_code()
/linux/arch/csky/mm/
H A Dtcm.c47 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/drivers/gpu/drm/xe/
H A Dxe_ggtt_types.h19 xe_ggtt_set_pte_fn set_pte, void *arg);
/linux/arch/mips/include/asm/
H A Dhighmem.h54 #define arch_kmap_local_set_pte(mm, vaddr, ptep, ptev) set_pte(ptep, ptev)
/linux/arch/sh/include/asm/
H A Dpgtable_32.h300 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/include/asm/
H A Dkfence.h65 set_pte(pte, __pte(flip_protnone_guard(val, new, PTE_PFN_MASK))); in kfence_protect_page()
/linux/arch/sh/mm/
H A Dkmap.c46 set_pte(kmap_coherent_pte - idx, mk_pte(page, PAGE_KERNEL)); in kmap_coherent()
H A Dtlbex_32.c67 set_pte(pte, entry); in handle_tlbmiss()
/linux/arch/m68k/include/asm/
H A Dmmu_context.h145 set_pte(pte, pte_mkyoung(*pte)); in load_ksp_mmu()
148 set_pte(pte, pte_wrprotect(*pte)); in load_ksp_mmu()
/linux/arch/x86/boot/compressed/
H A Dident_map_64.c211 set_pte(&pte[i], __pte(address | page_flags)); in split_large_pmd()
314 set_pte(ptep, pte); in set_clr_page_flags()
/linux/arch/sparc/include/asm/
H A Dpgalloc_32.h33 set_pte((pte_t *)pudp, __pte((SRMMU_ET_PTD | (pa >> 4)))); in pud_set()
/linux/arch/riscv/kernel/
H A Defi.c75 set_pte(ptep, pte); in set_permissions()
/linux/arch/m68k/sun3x/
H A Ddvma.c128 set_pte(pte, pfn_pte(virt_to_pfn((void *)kaddr), in dvma_map_cpu()
/linux/arch/parisc/mm/
H A Dhugetlbpage.c111 set_pte(ptep, entry); in __set_huge_pte_at()
/linux/arch/nios2/mm/
H A Dioremap.c43 set_pte(pte, pfn_pte(pfn, pgprot)); in remap_area_pte()
/linux/arch/arc/include/asm/
H A Dpgtable-levels.h176 #define set_pte(ptep, pte) ((*(ptep)) = (pte)) macro
/linux/arch/x86/kernel/
H A Despfix_64.c194 set_pte(&pte_p[n*PTE_STRIDE], pte); in init_espfix_ap()
H A Dmachine_kexec_32.c97 set_pte(pte, pfn_pte(paddr >> PAGE_SHIFT, PAGE_KERNEL_EXEC)); in machine_kexec_page_table_set_one()
/linux/arch/loongarch/mm/
H A Dpageattr.c86 set_pte(pte, val); in pageattr_pte_entry()
H A Dinit.c211 set_pte(ptep, pfn_pte(phys >> PAGE_SHIFT, flags)); in __set_fixmap()
/linux/arch/sparc/mm/
H A Dsrmmu.c115 set_pte((pte_t *)ctxp, pte); in srmmu_ctxd_set()
140 set_pte((pte_t *)&pmd_val(*pmdp), __pte(SRMMU_ET_PTD | ptp)); in pmd_set()
310 set_pte(__nocache_fix(pte), __pte(pteval)); in srmmu_nocache_init()
511 set_pte(ptep, __pte(tmp)); in srmmu_mapioaddr()

12