Home
last modified time | relevance | path

Searched refs:page_table_lock (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/arch/x86/mm/
Dinit_64.c149 pgt_lock = &pgd_page_get_mm(page)->page_table_lock; in sync_global_pgds_l5()
192 pgt_lock = &pgd_page_get_mm(page)->page_table_lock; in sync_global_pgds_l4()
528 spin_lock(&init_mm.page_table_lock); in phys_pmd_init()
533 spin_unlock(&init_mm.page_table_lock); in phys_pmd_init()
559 spin_lock(&init_mm.page_table_lock); in phys_pmd_init()
564 spin_unlock(&init_mm.page_table_lock); in phys_pmd_init()
572 spin_lock(&init_mm.page_table_lock); in phys_pmd_init()
574 spin_unlock(&init_mm.page_table_lock); in phys_pmd_init()
646 spin_lock(&init_mm.page_table_lock); in phys_pud_init()
654 spin_unlock(&init_mm.page_table_lock); in phys_pud_init()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dpgtable-frag.c40 spin_lock(&mm->page_table_lock); in get_pte_from_cache()
51 spin_unlock(&mm->page_table_lock); in get_pte_from_cache()
83 spin_lock(&mm->page_table_lock); in __alloc_for_ptecache()
93 spin_unlock(&mm->page_table_lock); in __alloc_for_ptecache()
Dhugetlbpage.c132 ptl = &mm->page_table_lock; in huge_pte_alloc()
160 ptl = &mm->page_table_lock; in huge_pte_alloc()
536 ptl = &mm->page_table_lock; in follow_huge_pd()
/kernel/linux/linux-5.10/mm/
Dinit-mm.c36 .page_table_lock = __SPIN_LOCK_UNLOCKED(init_mm.page_table_lock),
Dmmap.c358 spin_lock(&mm->page_table_lock); in browse_rb()
365 spin_unlock(&mm->page_table_lock); in browse_rb()
2492 spin_lock(&mm->page_table_lock); in expand_upwards()
2503 spin_unlock(&mm->page_table_lock); in expand_upwards()
2572 spin_lock(&mm->page_table_lock); in expand_downwards()
2581 spin_unlock(&mm->page_table_lock); in expand_downwards()
Ddebug_vm_pgtable.c1126 spin_lock(&mm->page_table_lock); in debug_vm_pgtable()
1131 spin_unlock(&mm->page_table_lock); in debug_vm_pgtable()
Drmap.c208 spin_lock(&mm->page_table_lock); in __anon_vma_prepare()
216 spin_unlock(&mm->page_table_lock); in __anon_vma_prepare()
Dmemory.c468 spin_lock(&init_mm.page_table_lock); in __pte_alloc_kernel()
473 spin_unlock(&init_mm.page_table_lock); in __pte_alloc_kernel()
4739 spin_lock(&mm->page_table_lock); in __p4d_alloc()
4744 spin_unlock(&mm->page_table_lock); in __p4d_alloc()
4762 spin_lock(&mm->page_table_lock); in __pud_alloc()
4768 spin_unlock(&mm->page_table_lock); in __pud_alloc()
/kernel/linux/linux-5.10/Documentation/vm/
Dsplit_page_table_lock.rst7 Originally, mm->page_table_lock spinlock protected all page tables of the
14 tables. Access to higher level tables protected by mm->page_table_lock.
35 If split lock is disabled, all tables guaded by mm->page_table_lock.
49 takes pmd split lock for PMD_SIZE page, mm->page_table_lock
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dpgtable.c274 spin_lock(&mm->page_table_lock); in get_pmd_from_cache()
285 spin_unlock(&mm->page_table_lock); in get_pmd_from_cache()
315 spin_lock(&mm->page_table_lock); in __alloc_for_pmdcache()
325 spin_unlock(&mm->page_table_lock); in __alloc_for_pmdcache()
Dradix_pgtable.c880 spin_lock(&init_mm.page_table_lock); in remove_pagetable()
906 spin_unlock(&init_mm.page_table_lock); in remove_pagetable()
/kernel/linux/linux-5.10/drivers/iommu/
Domap-iommu-debug.c187 spin_lock(&obj->page_table_lock); in dump_ioptable()
210 spin_unlock(&obj->page_table_lock); in dump_ioptable()
Domap-iommu.c498 spin_unlock(&obj->page_table_lock); in iopte_alloc()
500 spin_lock(&obj->page_table_lock); in iopte_alloc()
654 spin_lock(&obj->page_table_lock); in iopgtable_store_entry_core()
656 spin_unlock(&obj->page_table_lock); in iopgtable_store_entry_core()
762 spin_lock(&obj->page_table_lock); in iopgtable_clear_entry()
767 spin_unlock(&obj->page_table_lock); in iopgtable_clear_entry()
777 spin_lock(&obj->page_table_lock); in iopgtable_clear_entry_all()
799 spin_unlock(&obj->page_table_lock); in iopgtable_clear_entry_all()
1207 spin_lock_init(&obj->page_table_lock); in omap_iommu_probe()
Domap-iommu.h69 spinlock_t page_table_lock; /* protect iopgd */ member
/kernel/linux/linux-5.10/arch/sparc/mm/
Dtlb.c268 assert_spin_locked(&mm->page_table_lock); in pgtable_trans_huge_deposit()
283 assert_spin_locked(&mm->page_table_lock); in pgtable_trans_huge_withdraw()
Dsrmmu.c357 spin_lock(&mm->page_table_lock); in pte_alloc_one()
362 spin_unlock(&mm->page_table_lock); in pte_alloc_one()
372 spin_lock(&mm->page_table_lock); in pte_free()
375 spin_unlock(&mm->page_table_lock); in pte_free()
/kernel/linux/linux-5.10/mm/kasan/
Dcommon.c709 spin_lock(&init_mm.page_table_lock); in kasan_populate_vmalloc_pte()
714 spin_unlock(&init_mm.page_table_lock); in kasan_populate_vmalloc_pte()
807 spin_lock(&init_mm.page_table_lock); in kasan_depopulate_vmalloc_pte()
813 spin_unlock(&init_mm.page_table_lock); in kasan_depopulate_vmalloc_pte()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtboot.c98 .page_table_lock = __SPIN_LOCK_UNLOCKED(init_mm.page_table_lock),
/kernel/linux/linux-5.10/arch/x86/xen/
Dmmu_pv.c651 spin_lock_nest_lock(ptl, &mm->page_table_lock); in xen_pte_lock()
884 spin_lock(&next->page_table_lock); in xen_activate_mm()
886 spin_unlock(&next->page_table_lock); in xen_activate_mm()
891 spin_lock(&mm->page_table_lock); in xen_dup_mmap()
893 spin_unlock(&mm->page_table_lock); in xen_dup_mmap()
976 spin_lock(&mm->page_table_lock); in xen_exit_mmap()
982 spin_unlock(&mm->page_table_lock); in xen_exit_mmap()
/kernel/linux/linux-5.10/arch/s390/mm/
Dpgalloc.c114 spin_lock_bh(&mm->page_table_lock); in crst_table_upgrade()
141 spin_unlock_bh(&mm->page_table_lock); in crst_table_upgrade()
/kernel/linux/linux-5.10/arch/arm/lib/
Duaccess_with_memcpy.c60 ptl = &current->mm->page_table_lock; in pin_page_for_write()
/kernel/linux/linux-5.10/arch/arc/mm/
Dtlb.c647 assert_spin_locked(&mm->page_table_lock); in pgtable_trans_huge_deposit()
662 assert_spin_locked(&mm->page_table_lock); in pgtable_trans_huge_withdraw()
/kernel/linux/linux-5.10/include/linux/
Dhugetlb.h711 return &mm->page_table_lock; in huge_pte_lockptr()
902 return &mm->page_table_lock; in huge_pte_lockptr()
Dmm_types.h478 spinlock_t page_table_lock; /* Protects page tables and some member
/kernel/linux/linux-5.10/drivers/firmware/efi/
Defi.c62 .page_table_lock = __SPIN_LOCK_UNLOCKED(efi_mm.page_table_lock),

12