Home
last modified time | relevance | path

Searched defs:ptep (Results 1 – 25 of 99) sorted by relevance

1234

/linux/arch/arm64/mm/
H A Dcontpte.c24 static inline pte_t *contpte_align_down(pte_t *ptep) in contpte_align_down()
30 unsigned long *end, pte_t *ptep, in contpte_align_addr_ptep()
50 pte_t *ptep, unsigned int nr) in contpte_try_unfold_partial()
70 pte_t *ptep, pte_t pte) in contpte_convert()
235 pte_t *ptep, pte_t pte) in __contpte_try_fold()
299 pte_t *ptep, pte_t pte) in __contpte_try_unfold()
313 pte_t contpte_ptep_get(pte_t *ptep, pte_t orig_pte) in contpte_ptep_get()
392 pte_t *ptep; in contpte_ptep_get_lockless() local
453 pte_t *ptep, pte_t pte, unsigned int nr) in contpte_set_ptes()
496 pte_t *ptep, unsigned int nr, int full) in contpte_clear_full_ptes()
[all …]
/linux/include/asm-generic/
H A Dhugetlb.h63 pte_t *ptep, unsigned long sz) in huge_pte_clear()
71 pte_t *ptep, pte_t pte, unsigned long sz) in set_huge_pte_at()
79 unsigned long addr, pte_t *ptep, unsigned long sz) in huge_ptep_get_and_clear()
87 unsigned long addr, pte_t *ptep) in huge_ptep_clear_flush()
102 unsigned long addr, pte_t *ptep) in huge_ptep_set_wrprotect()
110 unsigned long addr, pte_t *ptep, in huge_ptep_set_access_flags()
118 static inline pte_t huge_ptep_get(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in huge_ptep_get()
/linux/arch/parisc/mm/
H A Dhugetlbpage.c102 pte_t *ptep, pte_t entry) in __set_huge_pte_at()
122 pte_t *ptep, pte_t entry, unsigned long sz) in set_huge_pte_at()
129 pte_t *ptep, unsigned long sz) in huge_ptep_get_and_clear()
141 unsigned long addr, pte_t *ptep) in huge_ptep_set_wrprotect()
150 unsigned long addr, pte_t *ptep, in huge_ptep_set_access_flags()
/linux/arch/powerpc/include/asm/nohash/32/
H A Dhugetlb-8xx.h23 static inline pte_t huge_ptep_get(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in huge_ptep_get()
32 pte_t *ptep, unsigned long sz) in huge_pte_clear()
39 unsigned long addr, pte_t *ptep) in huge_ptep_set_wrprotect()
H A Dpte-8xx.h125 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in ptep_set_wrprotect()
131 static inline void __ptep_set_access_flags(struct vm_area_struct *vma, pte_t *ptep, in __ptep_set_access_flags()
170 static inline bool ptep_is_8m_pmdp(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in ptep_is_8m_pmdp()
210 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *ptep, in pte_update()
229 static inline pte_t ptep_get(pte_t *ptep) in ptep_get()
/linux/drivers/iommu/
H A Dio-pgtable-dart.c115 dart_iopte *ptep) in dart_init_pte()
141 dart_iopte *ptep, in dart_install_table()
176 dart_iopte pte, *ptep; in dart_get_last() local
234 dart_iopte pte, *cptep, *ptep; in dart_map_pages() local
300 dart_iopte pte, *ptep; in dart_unmap_pages() local
340 dart_iopte pte, *ptep; in dart_iova_to_phys() local
451 static void apple_dart_free_pgtables(struct dart_io_pgtable *data, dart_iopte *ptep, int level) in apple_dart_free_pgtables()
H A Dio-pgtable-arm-v7s.c314 static void __arm_v7s_pte_sync(arm_v7s_iopte *ptep, int num_entries, in __arm_v7s_pte_sync()
323 static void __arm_v7s_set_pte(arm_v7s_iopte *ptep, arm_v7s_iopte pte, in __arm_v7s_set_pte()
396 int lvl, int num_entries, arm_v7s_iopte *ptep) in arm_v7s_init_pte()
432 arm_v7s_iopte *ptep, in arm_v7s_install_table()
462 int lvl, arm_v7s_iopte *ptep, gfp_t gfp) in __arm_v7s_map()
560 arm_v7s_iopte *ptep) in __arm_v7s_unmap()
648 arm_v7s_iopte *ptep = data->pgd, pte; in arm_v7s_iova_to_phys() local
/linux/tools/testing/selftests/kvm/lib/loongarch/
H A Dprocessor.c40 u64 *ptep; in virt_set_pgtable() local
70 static int virt_pte_none(u64 *ptep, int level) in virt_pte_none()
78 u64 *ptep; in virt_populate_pte() local
111 u64 *ptep; in addr_arch_gva2gpa() local
122 u64 *ptep; in virt_arch_pg_map() local
144 u64 pte, *ptep; in pte_dump() local
/linux/arch/powerpc/include/asm/nohash/
H A Dpgtable.h105 unsigned long addr, pte_t *ptep) in ptep_test_and_clear_young()
117 pte_t *ptep) in ptep_set_wrprotect()
125 pte_t *ptep) in ptep_get_and_clear()
135 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in pte_clear()
143 pte_t *ptep, pte_t entry, in __ptep_set_access_flags()
321 pte_t *ptep, pte_t pte, int percpu) in __set_pte_at()
/linux/arch/x86/include/asm/
H A Dpgtable-3level.h36 static inline void native_set_pte(pte_t *ptep, pte_t pte) in native_set_pte()
43 static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte) in native_set_pte_atomic()
67 pte_t *ptep) in native_pte_clear()
103 static inline pte_t native_ptep_get_and_clear(pte_t *ptep) in native_ptep_get_and_clear()
H A Dpgtable_64.h61 static inline void native_set_pte(pte_t *ptep, pte_t pte) in native_set_pte()
67 pte_t *ptep) in native_pte_clear()
72 static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte) in native_set_pte_atomic()
/linux/arch/powerpc/kvm/
H A Dbook3s_64_mmu_radix.c374 static unsigned long kvmppc_radix_update_pte(struct kvm *kvm, pte_t *ptep, in kvmppc_radix_update_pte()
382 pte_t *ptep, pte_t pte) in kvmppc_radix_set_pte_at()
401 static void kvmppc_pte_free(pte_t *ptep) in kvmppc_pte_free()
624 pte_t *ptep, *new_ptep = NULL; in kvmppc_create_pte() local
798 pte_t *ptep; in kvmppc_hv_handle_set_rc() local
832 pte_t pte, *ptep; in kvmppc_book3s_instantiate_page() local
1014 pte_t *ptep; in kvm_unmap_radix() local
1033 pte_t *ptep; in kvm_age_radix() local
1062 pte_t *ptep; in kvm_test_age_radix() local
1082 pte_t *ptep, pte; in kvm_radix_test_clear_dirty() local
[all …]
/linux/arch/powerpc/include/asm/book3s/64/
H A Dhash.h165 static inline unsigned long hash__pte_update_one(pte_t *ptep, unsigned long clr, in hash__pte_update_one()
188 pte_t *ptep, unsigned long clr, in hash__pte_update()
225 static inline void hash__ptep_set_access_flags(pte_t *ptep, pte_t entry) in hash__ptep_set_access_flags()
265 pte_t *ptep, pte_t pte, int percpu) in hash__set_pte_at()
H A Dradix.h154 static inline unsigned long __radix_pte_update(pte_t *ptep, unsigned long clr, in __radix_pte_update()
174 pte_t *ptep, unsigned long clr, in radix__pte_update()
189 pte_t *ptep, int full) in radix__ptep_get_and_clear_full()
213 pte_t *ptep, pte_t pte, int percpu) in radix__set_pte_at()
/linux/arch/arm/mm/
H A Dfault-armv.c37 unsigned long pfn, pte_t *ptep) in do_adjust_pte()
125 unsigned long addr, pte_t *ptep, unsigned long pfn) in make_coherent()
188 unsigned long addr, pte_t *ptep, unsigned int nr) in update_mmu_cache_range()
H A Dmm.h27 pte_t *ptep = pte_offset_kernel(top_pmd, va); in set_top_pte() local
34 pte_t *ptep = pte_offset_kernel(top_pmd, va); in get_top_pte() local
/linux/arch/powerpc/mm/
H A Dpageattr.c19 static pte_basic_t pte_update_delta(pte_t *ptep, unsigned long addr, in pte_update_delta()
31 static int change_page_attr(pte_t *ptep, unsigned long addr, void *data) in change_page_attr()
H A Dpgtable_32.c41 pte_t *ptep = (pte_t *)early_fixmap_pagetable; in early_ioremap_init() local
60 pte_t *ptep = early_alloc_pgtable(PTE_FRAG_SIZE); in early_pte_alloc_kernel() local
/linux/arch/hexagon/include/asm/
H A Dcacheflush.h63 pte_t *ptep, unsigned int nr) in update_mmu_cache_range()
68 #define update_mmu_cache(vma, addr, ptep) \ argument
/linux/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h213 #define pte_clear(mm, addr, ptep) \ argument
237 static inline void flush_hash_entry(struct mm_struct *mm, pte_t *ptep, unsigned long addr) in flush_hash_entry()
299 unsigned long addr, pte_t *ptep) in __ptep_test_and_clear_young()
313 pte_t *ptep) in ptep_get_and_clear()
324 pte_t *ptep) in ptep_set_wrprotect()
330 pte_t *ptep, pte_t entry, in __ptep_set_access_flags()
547 pte_t *ptep, pte_t pte, int percpu) in __set_pte_at()
/linux/arch/x86/kernel/
H A Dhead32.c105 static __init __no_stack_protector pte_t init_map(pte_t pte, pte_t **ptep, pl2_t **pl2p, in init_map()
132 pte_t pte, *ptep = (pte_t *)__pa_nodebug(__brk_base); in mk_early_pgtbl_32() local
/linux/arch/parisc/include/asm/
H A Dpgtable.h369 pte_t *ptep, pte_t pte, unsigned int nr) in set_ptes()
384 #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) argument
390 #define update_mmu_cache_range(vmf, vma, addr, ptep, nr) __update_cache(*ptep) argument
391 #define update_mmu_cache(vma, addr, ptep) __update_cache(*ptep) argument
435 static inline pte_t ptep_get(pte_t *ptep) in ptep_get()
442 unsigned long addr, pte_t *ptep) in ptep_test_and_clear_young()
458 static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in ptep_set_wrprotect()
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c80 u64 *ptep, next_ppn; in virt_arch_pg_map() local
123 u64 *ptep; in addr_arch_gva2gpa() local
155 u64 pte, *ptep; in pte_dump() local
176 u64 pgd, *ptep; in virt_arch_dump() local
/linux/arch/powerpc/mm/book3s64/
H A Dhash_64k.c39 pte_t *ptep, unsigned long trap, unsigned long flags, in __hash_page_4K()
229 unsigned long vsid, pte_t *ptep, unsigned long trap, in __hash_page_64K()
/linux/arch/arm/include/asm/
H A Dpgalloc.h125 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmdp, pte_t *ptep) in pmd_populate_kernel()
134 pmd_populate(struct mm_struct *mm, pmd_t *pmdp, pgtable_t ptep) in pmd_populate()

1234