Home
last modified time | relevance | path

Searched refs:set_pte_at (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.6.21/arch/x86/xen/
Dgrant-table.c45 set_pte_at(&init_mm, addr, gnttab_shared_vm_area.ptes[i], in arch_gnttab_map_shared()
67 set_pte_at(&init_mm, addr, gnttab_status_vm_area.ptes[i], in arch_gnttab_map_status()
89 set_pte_at(&init_mm, addr, ptes[i], __pte(0)); in arch_gnttab_unmap()
/linux-6.6.21/arch/mips/include/asm/
Dhugetlb.h41 set_pte_at(mm, addr, ptep, clear); in huge_ptep_get_and_clear()
77 set_pte_at(vma->vm_mm, addr, ptep, pte); in huge_ptep_set_access_flags()
/linux-6.6.21/arch/loongarch/include/asm/
Dhugetlb.h40 set_pte_at(mm, addr, ptep, clear); in huge_ptep_get_and_clear()
71 set_pte_at(vma->vm_mm, addr, ptep, pte); in huge_ptep_set_access_flags()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_mm.c59 set_pte_at(r->mm, addr, pte, in remap_sg()
78 set_pte_at(r->mm, addr, pte, pte_mkspecial(pfn_pte(r->pfn, r->prot))); in remap_pfn()
/linux-6.6.21/arch/arm64/mm/
Dhugetlbpage.c257 set_pte_at(mm, addr, ptep, pte); in set_huge_pte_at()
262 set_pte_at(mm, addr, ptep, pte); in set_huge_pte_at()
273 set_pte_at(mm, addr, ptep, pfn_pte(pfn, hugeprot)); in set_huge_pte_at()
481 set_pte_at(mm, addr, ptep, pfn_pte(pfn, hugeprot)); in huge_ptep_set_access_flags()
510 set_pte_at(mm, addr, ptep, pfn_pte(pfn, hugeprot)); in huge_ptep_set_wrprotect()
/linux-6.6.21/mm/
Drmap.c965 set_pte_at(vma->vm_mm, address, pte, entry); in page_vma_mkclean_one()
1639 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_unmap_one()
1703 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_unmap_one()
1711 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_unmap_one()
1718 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_unmap_one()
1728 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_unmap_one()
1748 set_pte_at(mm, address, pvmw.pte, swp_pte); in try_to_unmap_one()
2021 set_pte_at(mm, pvmw.address, pvmw.pte, swp_pte); in try_to_migrate_one()
2036 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_migrate_one()
2060 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_migrate_one()
[all …]
Dhugetlb_vmemmap.c66 set_pte_at(&init_mm, addr, pte, entry); in split_vmemmap_huge_pmd()
254 set_pte_at(&init_mm, addr, pte, entry); in vmemmap_remap_pte()
296 set_pte_at(&init_mm, addr, pte, mk_pte(page, pgprot)); in vmemmap_restore_pte()
Dhighmem.c279 set_pte_at(&init_mm, vaddr, in map_new_virtual()
508 set_pte_at(mm, vaddr, ptep, ptev)
695 set_pte_at(&init_mm, addr, kmap_pte, pteval); in __kmap_local_sched_in()
Duserfaultfd.c129 set_pte_at(dst_mm, dst_addr, dst_pte, _dst_pte); in mfill_atomic_install_pte()
237 set_pte_at(dst_vma->vm_mm, dst_addr, dst_pte, _dst_pte); in mfill_atomic_pte_zeropage()
318 set_pte_at(dst_mm, dst_addr, dst_pte, _dst_pte); in mfill_atomic_pte_poison()
Dmigrate_device.c203 set_pte_at(mm, addr, ptep, pte); in migrate_vma_collect_pmd()
247 set_pte_at(mm, addr, ptep, swp_pte); in migrate_vma_collect_pmd()
667 set_pte_at(mm, addr, ptep, entry); in migrate_vma_insert_page()
/linux-6.6.21/arch/arm/mm/
Dkasan_init.c80 set_pte_at(&init_mm, addr, ptep, entry); in kasan_pte_populate()
287 set_pte_at(&init_mm, KASAN_SHADOW_START + i*PAGE_SIZE, in kasan_init()
Dfault-armv.c57 set_pte_at(vma->vm_mm, address, ptep, entry); in do_adjust_pte()
/linux-6.6.21/arch/parisc/mm/
Dfixmap.c23 set_pte_at(&init_mm, vaddr, pte, __mk_pte(phys, PAGE_KERNEL_RWX)); in set_fixmap()
/linux-6.6.21/arch/riscv/mm/
Dhugetlbpage.c260 set_pte_at(mm, addr, ptep, pte); in set_huge_pte_at()
289 set_pte_at(mm, addr, ptep, pte); in huge_ptep_set_access_flags()
331 set_pte_at(mm, addr, ptep, orig_pte); in huge_ptep_set_wrprotect()
/linux-6.6.21/arch/x86/mm/
Dpgtable_32.c57 set_pte_at(&init_mm, vaddr, pte, pteval); in set_pte_vaddr()
/linux-6.6.21/arch/ia64/include/asm/
Dpgtable.h359 set_pte_at(vma->vm_mm, addr, ptep, pte_mkold(pte)); in ptep_test_and_clear_young()
388 set_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in ptep_set_wrprotect()
500 set_pte_at((__vma)->vm_mm, (__addr), __ptep, __entry); \
/linux-6.6.21/drivers/xen/
Dxlate_mmu.c138 set_pte_at(info->vma->vm_mm, addr, ptep, pte); in remap_pte_fn()
278 set_pte_at(r->mm, addr, ptep, pte); in remap_pfn_fn()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dpgtable.c119 return set_pte_at(mm, addr, pmdp_ptep(pmdp), pmd_pte(pmd)); in set_pmd_at()
136 return set_pte_at(mm, addr, pudp_ptep(pudp), pud_pte(pud)); in set_pud_at()
542 set_pte_at(vma->vm_mm, addr, ptep, pte); in ptep_modify_prot_commit()
Dradix_pgtable.c112 set_pte_at(&init_mm, ea, ptep, pfn_pte(pfn, flags)); in early_map_kernel_page()
172 set_pte_at(&init_mm, ea, ptep, pfn_pte(pfn, flags)); in __map_kernel_page()
943 set_pte_at(&init_mm, addr, ptep, entry); in vmemmap_set_pmd()
991 set_pte_at(&init_mm, addr, pte, entry); in radix__vmemmap_pte_populate()
1539 set_pte_at(mm, addr, ptep, pte); in radix__ptep_modify_prot_commit()
1550 set_pte_at(&init_mm, 0 /* radix unused */, ptep, new_pud); in pud_set_huge()
1597 set_pte_at(&init_mm, 0 /* radix unused */, ptep, new_pmd); in pmd_set_huge()
/linux-6.6.21/arch/powerpc/mm/nohash/
Dbook3e_pgtable.c114 set_pte_at(&init_mm, ea, ptep, pfn_pte(pa >> PAGE_SHIFT, prot)); in map_kernel_page()
/linux-6.6.21/include/linux/
Dmmu_notifier.h594 set_pte_at(___mm, ___address, __ptep, ___pte); \
689 #define set_pte_at_notify set_pte_at
Dpgtable.h247 #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) macro
305 set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); in ptep_test_and_clear_young()
621 set_pte_at(mm, address, ptep, pte_wrprotect(old_pte)); in ptep_set_wrprotect()
1055 set_pte_at(vma->vm_mm, addr, ptep, pte); in __ptep_modify_prot_commit()
/linux-6.6.21/include/asm-generic/
Dhugetlb.h81 set_pte_at(mm, addr, ptep, pte); in set_huge_pte_at()
/linux-6.6.21/arch/powerpc/mm/
Dpgtable_32.c92 set_pte_at(&init_mm, va, pg, pfn_pte(pa >> PAGE_SHIFT, prot)); in map_kernel_page()
/linux-6.6.21/arch/arc/include/asm/
Dpgtable-levels.h175 #define pte_clear(mm,addr,ptep) set_pte_at(mm, addr, ptep, __pte(0))

123