Home
last modified time | relevance | path

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

123456789

/linux-6.12.1/arch/arm64/mm/
Dcontpte.c24 static inline pte_t *contpte_align_down(pte_t *ptep) in contpte_align_down()
30 pte_t *ptep, unsigned int nr) in contpte_try_unfold_partial()
50 pte_t *ptep, pte_t pte) in contpte_convert()
77 pte_t *ptep, pte_t pte) in __contpte_try_fold()
141 pte_t *ptep, pte_t pte) in __contpte_try_unfold()
155 pte_t contpte_ptep_get(pte_t *ptep, pte_t orig_pte) in contpte_ptep_get()
206 pte_t *ptep; in contpte_ptep_get_lockless() local
241 pte_t *ptep, pte_t pte, unsigned int nr) in contpte_set_ptes()
284 pte_t *ptep, unsigned int nr, int full) in contpte_clear_full_ptes()
292 unsigned long addr, pte_t *ptep, in contpte_get_and_clear_full_ptes()
[all …]
Dhugetlbpage.c83 pte_t *ptep, size_t *pgsize) in find_num_contig()
130 pte_t huge_ptep_get(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in huge_ptep_get()
162 pte_t *ptep, in get_clear_contig()
188 pte_t *ptep, in get_clear_contig_flush()
210 pte_t *ptep, in clear_flush()
224 pte_t *ptep, pte_t pte, unsigned long sz) in set_huge_pte_at()
262 pte_t *ptep = NULL; in huge_pte_alloc() local
377 pte_t *ptep, unsigned long sz) in huge_pte_clear()
389 unsigned long addr, pte_t *ptep) in huge_ptep_get_and_clear()
412 static int __cont_access_flags_changed(pte_t *ptep, pte_t pte, int ncontig) in __cont_access_flags_changed()
[all …]
/linux-6.12.1/arch/s390/mm/
Dpgtable.c48 pte_t *ptep, int nodat) in ptep_ipte_local()
68 pte_t *ptep, int nodat) in ptep_ipte_global()
88 unsigned long addr, pte_t *ptep, in ptep_flush_direct()
107 unsigned long addr, pte_t *ptep, in ptep_flush_lazy()
126 static inline pgste_t pgste_get_lock(pte_t *ptep) in pgste_get_lock()
140 static inline void pgste_set_unlock(pte_t *ptep, pgste_t pgste) in pgste_set_unlock()
148 static inline pgste_t pgste_get(pte_t *ptep) in pgste_get()
157 static inline void pgste_set(pte_t *ptep, pgste_t pgste) in pgste_set()
185 static inline void pgste_set_key(pte_t *ptep, pgste_t pgste, pte_t entry, in pgste_set_key()
207 static inline pgste_t pgste_set_pte(pte_t *ptep, pgste_t pgste, pte_t entry) in pgste_set_pte()
[all …]
/linux-6.12.1/include/asm-generic/
Dhugetlb.h62 pte_t *ptep, unsigned long sz) in huge_pte_clear()
79 pte_t *ptep, pte_t pte, unsigned long sz) in set_huge_pte_at()
87 unsigned long addr, pte_t *ptep) in huge_ptep_get_and_clear()
95 unsigned long addr, pte_t *ptep) in huge_ptep_clear_flush()
131 unsigned long addr, pte_t *ptep) in huge_ptep_set_wrprotect()
139 unsigned long addr, pte_t *ptep, in huge_ptep_set_access_flags()
147 static inline pte_t huge_ptep_get(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in huge_ptep_get()
/linux-6.12.1/arch/riscv/mm/
Dhugetlbpage.c6 pte_t huge_ptep_get(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in huge_ptep_get()
150 pte_t *ptep, in get_clear_contig()
171 pte_t *ptep, in get_clear_contig_flush()
202 pte_t *ptep, in clear_flush()
225 pte_t *ptep, in set_huge_pte_at()
265 pte_t *ptep, in huge_ptep_set_access_flags()
296 pte_t *ptep) in huge_ptep_get_and_clear()
311 pte_t *ptep) in huge_ptep_set_wrprotect()
336 pte_t *ptep) in huge_ptep_clear_flush()
351 pte_t *ptep, in huge_pte_clear()
/linux-6.12.1/arch/powerpc/mm/
Dpgtable.c192 void set_ptes(struct mm_struct *mm, unsigned long addr, pte_t *ptep, in set_ptes()
230 pte_t *ptep = pte_offset_kernel(pmdp, va); in unmap_kernel_page() local
244 pte_t *ptep, pte_t entry, int dirty) in ptep_set_access_flags()
259 unsigned long addr, pte_t *ptep, in huge_ptep_set_access_flags()
306 static void __set_huge_pte_at(pmd_t *pmd, pte_t *ptep, pte_basic_t val) in __set_huge_pte_at()
323 void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, in set_huge_pte_at()
341 void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, in set_huge_pte_at()
/linux-6.12.1/arch/parisc/mm/
Dhugetlbpage.c123 pte_t *ptep, pte_t entry) in __set_huge_pte_at()
143 pte_t *ptep, pte_t entry, unsigned long sz) in set_huge_pte_at()
150 pte_t *ptep) in huge_ptep_get_and_clear()
162 unsigned long addr, pte_t *ptep) in huge_ptep_set_wrprotect()
171 unsigned long addr, pte_t *ptep, in huge_ptep_set_access_flags()
/linux-6.12.1/arch/arm64/include/asm/
Dpgtable.h59 #define flush_tlb_fix_spurious_fault(vma, address, ptep) do { } while (0) argument
96 #define __pte_clear(mm, addr, ptep) \ argument
316 static inline void __set_pte_nosync(pte_t *ptep, pte_t pte) in __set_pte_nosync()
321 static inline void __set_pte(pte_t *ptep, pte_t pte) in __set_pte()
335 static inline pte_t __ptep_get(pte_t *ptep) in __ptep_get()
359 static inline void __check_safe_pte_update(struct mm_struct *mm, pte_t *ptep, in __check_safe_pte_update()
426 pte_t *ptep, pte_t pte, unsigned int nr) in __set_ptes()
652 pte_t *ptep, pte_t pte, unsigned int nr) in __set_pte_at()
1227 pte_t *ptep) in __ptep_test_and_clear_young()
1243 unsigned long address, pte_t *ptep) in __ptep_clear_flush_young()
[all …]
/linux-6.12.1/include/linux/
Dpgtable.h230 static inline unsigned int pte_batch_hint(pte_t *ptep, pte_t pte) in pte_batch_hint()
265 pte_t *ptep, pte_t pte, unsigned int nr) in set_ptes()
280 #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) argument
315 static inline pte_t ptep_get(pte_t *ptep) in ptep_get()
352 pte_t *ptep) in ptep_test_and_clear_young()
459 pte_t *ptep) in ptep_get_and_clear()
488 unsigned long addr, pte_t *ptep, in clear_young_dirty_ptes()
513 pte_t *ptep) in ptep_clear()
547 static inline pte_t ptep_get_lockless(pte_t *ptep) in ptep_get_lockless()
585 static inline pte_t ptep_get_lockless(pte_t *ptep) in ptep_get_lockless()
[all …]
/linux-6.12.1/arch/xtensa/include/asm/
Dpgalloc.h24 #define pmd_populate_kernel(mm, pmdp, ptep) \ argument
35 static inline void ptes_clear(pte_t *ptep) in ptes_clear()
45 pte_t *ptep; in pte_alloc_one_kernel() local
Dpgtable.h243 #define pte_clear(mm,addr,ptep) \ argument
294 static inline void update_pte(pte_t *ptep, pte_t pteval) in update_pte()
305 static inline void set_pte(pte_t *ptep, pte_t pte) in set_pte()
320 pte_t *ptep) in ptep_test_and_clear_young()
330 ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in ptep_get_and_clear()
338 ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in ptep_set_wrprotect()
408 #define update_mmu_cache(vma, address, ptep) \ argument
/linux-6.12.1/drivers/iommu/
Dio-pgtable-arm.c150 #define iopte_set_writeable_clean(ptep) \ argument
270 static void __arm_lpae_sync_pte(arm_lpae_iopte *ptep, int num_entries, in __arm_lpae_sync_pte()
277 static void __arm_lpae_clear_pte(arm_lpae_iopte *ptep, struct io_pgtable_cfg *cfg, int num_entries) in __arm_lpae_clear_pte()
293 int lvl, int num_entries, arm_lpae_iopte *ptep) in __arm_lpae_init_pte()
315 arm_lpae_iopte *ptep) in arm_lpae_init_pte()
345 arm_lpae_iopte *ptep, in arm_lpae_install_table()
378 arm_lpae_iopte prot, int lvl, arm_lpae_iopte *ptep, in __arm_lpae_map()
505 arm_lpae_iopte *ptep = data->pgd; in arm_lpae_map_pages() local
534 arm_lpae_iopte *ptep) in __arm_lpae_free_pgtable()
576 arm_lpae_iopte *ptep, size_t pgcount) in arm_lpae_split_blk_unmap()
[all …]
Dio-pgtable-dart.c121 dart_iopte *ptep) in dart_init_pte()
148 dart_iopte *ptep, in dart_install_table()
190 dart_iopte pte, *ptep; in dart_get_l2() local
239 dart_iopte pte, *cptep, *ptep; in dart_map_pages() local
299 dart_iopte pte, *ptep; in dart_unmap_pages() local
339 dart_iopte pte, *ptep; in dart_iova_to_phys() local
437 dart_iopte *ptep, *end; in apple_dart_free_pgtable() local
/linux-6.12.1/arch/sparc/include/asm/
Dhugetlb.h27 unsigned long addr, pte_t *ptep) in huge_ptep_clear_flush()
34 unsigned long addr, pte_t *ptep) in huge_ptep_set_wrprotect()
42 unsigned long addr, pte_t *ptep, in huge_ptep_set_access_flags()
/linux-6.12.1/arch/s390/include/asm/
Dhugetlb.h49 pte_t *ptep, unsigned long sz) in huge_pte_clear()
58 unsigned long address, pte_t *ptep) in huge_ptep_clear_flush()
64 unsigned long addr, pte_t *ptep, in huge_ptep_set_access_flags()
76 unsigned long addr, pte_t *ptep) in huge_ptep_set_wrprotect()
/linux-6.12.1/arch/powerpc/include/asm/nohash/32/
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()
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-6.12.1/arch/mips/include/asm/
Dhugetlb.h35 unsigned long addr, pte_t *ptep) in huge_ptep_get_and_clear()
47 unsigned long addr, pte_t *ptep) in huge_ptep_clear_flush()
71 pte_t *ptep, pte_t pte, in huge_ptep_set_access_flags()
Dpgtable.h119 static inline void set_pte(pte_t *ptep, pte_t pte)
143 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
171 static inline void set_pte(pte_t *ptep, pte_t pteval)
190 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
205 pte_t *ptep, pte_t pte, unsigned int nr)
483 pte_t *ptep)
495 unsigned long address, pte_t *ptep,
583 pte_t *ptep, unsigned int nr)
594 #define update_mmu_cache(vma, address, ptep) \ argument
597 #define update_mmu_tlb_range(vma, address, ptep, nr) \ argument
/linux-6.12.1/arch/loongarch/include/asm/
Dhugetlb.h34 unsigned long addr, pte_t *ptep) in huge_ptep_get_and_clear()
46 unsigned long addr, pte_t *ptep) in huge_ptep_clear_flush()
65 pte_t *ptep, pte_t pte, in huge_ptep_set_access_flags()
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dhugetlbpage.c21 pte_t *ptep, unsigned long trap, unsigned long flags, in __hash_page_huge()
139 unsigned long addr, pte_t *ptep) in huge_ptep_modify_prot_start()
154 pte_t *ptep, pte_t old_pte, pte_t pte) in huge_ptep_modify_prot_commit()
/linux-6.12.1/arch/powerpc/include/asm/nohash/
Dpgtable.h103 unsigned long addr, pte_t *ptep) in ptep_test_and_clear_young()
115 pte_t *ptep) in ptep_set_wrprotect()
123 pte_t *ptep) in ptep_get_and_clear()
129 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) in pte_clear()
137 pte_t *ptep, pte_t entry, in __ptep_set_access_flags()
310 pte_t *ptep, pte_t pte, int percpu) in __set_pte_at()
/linux-6.12.1/arch/x86/include/asm/
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()
/linux-6.12.1/arch/powerpc/kvm/
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
833 pte_t pte, *ptep; in kvmppc_book3s_instantiate_page() local
1035 pte_t *ptep; in kvm_unmap_radix() local
1054 pte_t *ptep; in kvm_age_radix() local
1083 pte_t *ptep; in kvm_test_age_radix() local
1103 pte_t *ptep, pte; in kvm_radix_test_clear_dirty() local
[all …]
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/
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()

123456789