ptl 30 arch/arm/lib/uaccess_with_memcpy.c spinlock_t *ptl; ptl 55 arch/arm/lib/uaccess_with_memcpy.c ptl = ¤t->mm->page_table_lock; ptl 56 arch/arm/lib/uaccess_with_memcpy.c spin_lock(ptl); ptl 59 arch/arm/lib/uaccess_with_memcpy.c spin_unlock(ptl); ptl 64 arch/arm/lib/uaccess_with_memcpy.c *ptlp = ptl; ptl 71 arch/arm/lib/uaccess_with_memcpy.c pte = pte_offset_map_lock(current->mm, pmd, addr, &ptl); ptl 74 arch/arm/lib/uaccess_with_memcpy.c pte_unmap_unlock(pte, ptl); ptl 79 arch/arm/lib/uaccess_with_memcpy.c *ptlp = ptl; ptl 102 arch/arm/lib/uaccess_with_memcpy.c spinlock_t *ptl; ptl 105 arch/arm/lib/uaccess_with_memcpy.c while (!pin_page_for_write(to, &pte, &ptl)) { ptl 126 arch/arm/lib/uaccess_with_memcpy.c pte_unmap_unlock(pte, ptl); ptl 128 arch/arm/lib/uaccess_with_memcpy.c spin_unlock(ptl); ptl 171 arch/arm/lib/uaccess_with_memcpy.c spinlock_t *ptl; ptl 174 arch/arm/lib/uaccess_with_memcpy.c while (!pin_page_for_write(addr, &pte, &ptl)) { ptl 192 arch/arm/lib/uaccess_with_memcpy.c pte_unmap_unlock(pte, ptl); ptl 194 arch/arm/lib/uaccess_with_memcpy.c spin_unlock(ptl); ptl 71 arch/arm/mm/fault-armv.c static inline void do_pte_lock(spinlock_t *ptl) ptl 77 arch/arm/mm/fault-armv.c spin_lock_nested(ptl, SINGLE_DEPTH_NESTING); ptl 80 arch/arm/mm/fault-armv.c static inline void do_pte_unlock(spinlock_t *ptl) ptl 82 arch/arm/mm/fault-armv.c spin_unlock(ptl); ptl 85 arch/arm/mm/fault-armv.c static inline void do_pte_lock(spinlock_t *ptl) {} ptl 86 arch/arm/mm/fault-armv.c static inline void do_pte_unlock(spinlock_t *ptl) {} ptl 92 arch/arm/mm/fault-armv.c spinlock_t *ptl; ptl 116 arch/arm/mm/fault-armv.c ptl = pte_lockptr(vma->vm_mm, pmd); ptl 118 arch/arm/mm/fault-armv.c do_pte_lock(ptl); ptl 122 arch/arm/mm/fault-armv.c do_pte_unlock(ptl); ptl 470 arch/m68k/kernel/sys_m68k.c spinlock_t *ptl; ptl 480 arch/m68k/kernel/sys_m68k.c pte = pte_offset_map_lock(mm, pmd, (unsigned long)mem, &ptl); ptl 483 arch/m68k/kernel/sys_m68k.c pte_unmap_unlock(pte, ptl); ptl 495 arch/m68k/kernel/sys_m68k.c pte_unmap_unlock(pte, ptl); ptl 60 arch/powerpc/mm/book3s64/subpage_prot.c spinlock_t *ptl; ptl 71 arch/powerpc/mm/book3s64/subpage_prot.c pte = pte_offset_map_lock(mm, pmd, addr, &ptl); ptl 79 arch/powerpc/mm/book3s64/subpage_prot.c pte_unmap_unlock(pte - 1, ptl); ptl 46 arch/powerpc/mm/hugetlbpage.c unsigned int pshift, spinlock_t *ptl) ptl 88 arch/powerpc/mm/hugetlbpage.c spin_lock(ptl); ptl 111 arch/powerpc/mm/hugetlbpage.c spin_unlock(ptl); ptl 127 arch/powerpc/mm/hugetlbpage.c spinlock_t *ptl; ptl 140 arch/powerpc/mm/hugetlbpage.c ptl = &mm->page_table_lock; ptl 150 arch/powerpc/mm/hugetlbpage.c ptl = pud_lockptr(mm, pu); ptl 161 arch/powerpc/mm/hugetlbpage.c ptl = pmd_lockptr(mm, pm); ptl 168 arch/powerpc/mm/hugetlbpage.c ptl = &mm->page_table_lock; ptl 176 arch/powerpc/mm/hugetlbpage.c ptl = pud_lockptr(mm, pu); ptl 183 arch/powerpc/mm/hugetlbpage.c ptl = pmd_lockptr(mm, pm); ptl 194 arch/powerpc/mm/hugetlbpage.c pdshift, pshift, ptl)) ptl 501 arch/powerpc/mm/hugetlbpage.c spinlock_t *ptl; ptl 512 arch/powerpc/mm/hugetlbpage.c ptl = &mm->page_table_lock; ptl 513 arch/powerpc/mm/hugetlbpage.c spin_lock(ptl); ptl 524 arch/powerpc/mm/hugetlbpage.c spin_unlock(ptl); ptl 525 arch/powerpc/mm/hugetlbpage.c __migration_entry_wait(mm, ptep, ptl); ptl 529 arch/powerpc/mm/hugetlbpage.c spin_unlock(ptl); ptl 544 arch/s390/mm/gmap.c spinlock_t *ptl; ptl 600 arch/s390/mm/gmap.c ptl = pmd_lock(mm, pmd); ptl 622 arch/s390/mm/gmap.c spin_unlock(ptl); ptl 677 arch/s390/mm/gmap.c spinlock_t *ptl; ptl 686 arch/s390/mm/gmap.c ptep = get_locked_pte(gmap->mm, vmaddr, &ptl); ptl 689 arch/s390/mm/gmap.c pte_unmap_unlock(ptep, ptl); ptl 850 arch/s390/mm/gmap.c spinlock_t **ptl) ptl 859 arch/s390/mm/gmap.c return pte_alloc_map_lock(gmap->mm, (pmd_t *) table, gaddr, ptl); ptl 895 arch/s390/mm/gmap.c static void gmap_pte_op_end(spinlock_t *ptl) ptl 897 arch/s390/mm/gmap.c if (ptl) ptl 898 arch/s390/mm/gmap.c spin_unlock(ptl); ptl 1009 arch/s390/mm/gmap.c spinlock_t *ptl = NULL; ptl 1015 arch/s390/mm/gmap.c ptep = pte_alloc_map_lock(gmap->mm, pmdp, gaddr, &ptl); ptl 1023 arch/s390/mm/gmap.c gmap_pte_op_end(ptl); ptl 1132 arch/s390/mm/gmap.c spinlock_t *ptl; ptl 1141 arch/s390/mm/gmap.c ptep = gmap_pte_op_walk(gmap, gaddr, &ptl); ptl 1152 arch/s390/mm/gmap.c gmap_pte_op_end(ptl); ptl 1211 arch/s390/mm/gmap.c spinlock_t *ptl; ptl 1231 arch/s390/mm/gmap.c ptep = gmap_pte_op_walk(parent, paddr, &ptl); ptl 1239 arch/s390/mm/gmap.c gmap_pte_op_end(ptl); ptl 2110 arch/s390/mm/gmap.c spinlock_t *ptl; ptl 2135 arch/s390/mm/gmap.c sptep = gmap_pte_op_walk(parent, paddr, &ptl); ptl 2142 arch/s390/mm/gmap.c gmap_pte_op_end(ptl); ptl 2153 arch/s390/mm/gmap.c gmap_pte_op_end(ptl); ptl 2465 arch/s390/mm/gmap.c spinlock_t *ptl; ptl 2476 arch/s390/mm/gmap.c ptep = pte_alloc_map_lock(gmap->mm, pmdp, vmaddr, &ptl); ptl 2481 arch/s390/mm/gmap.c spin_unlock(ptl); ptl 2519 arch/s390/mm/gmap.c spinlock_t *ptl; ptl 2521 arch/s390/mm/gmap.c ptep = pte_offset_map_lock(walk->mm, pmd, addr, &ptl); ptl 2524 arch/s390/mm/gmap.c pte_unmap_unlock(ptep, ptl); ptl 758 arch/s390/mm/pgtable.c spinlock_t *ptl; ptl 767 arch/s390/mm/pgtable.c ptl = pmd_lock(mm, pmdp); ptl 769 arch/s390/mm/pgtable.c spin_unlock(ptl); ptl 781 arch/s390/mm/pgtable.c spin_unlock(ptl); ptl 784 arch/s390/mm/pgtable.c spin_unlock(ptl); ptl 786 arch/s390/mm/pgtable.c ptep = pte_alloc_map_lock(mm, pmdp, addr, &ptl); ptl 814 arch/s390/mm/pgtable.c pte_unmap_unlock(ptep, ptl); ptl 859 arch/s390/mm/pgtable.c spinlock_t *ptl; ptl 870 arch/s390/mm/pgtable.c ptl = pmd_lock(mm, pmdp); ptl 872 arch/s390/mm/pgtable.c spin_unlock(ptl); ptl 880 arch/s390/mm/pgtable.c spin_unlock(ptl); ptl 883 arch/s390/mm/pgtable.c spin_unlock(ptl); ptl 885 arch/s390/mm/pgtable.c ptep = pte_alloc_map_lock(mm, pmdp, addr, &ptl); ptl 906 arch/s390/mm/pgtable.c pte_unmap_unlock(ptep, ptl); ptl 915 arch/s390/mm/pgtable.c spinlock_t *ptl; ptl 924 arch/s390/mm/pgtable.c ptl = pmd_lock(mm, pmdp); ptl 927 arch/s390/mm/pgtable.c spin_unlock(ptl); ptl 936 arch/s390/mm/pgtable.c spin_unlock(ptl); ptl 939 arch/s390/mm/pgtable.c spin_unlock(ptl); ptl 941 arch/s390/mm/pgtable.c ptep = pte_alloc_map_lock(mm, pmdp, addr, &ptl); ptl 953 arch/s390/mm/pgtable.c pte_unmap_unlock(ptep, ptl); ptl 974 arch/s390/mm/pgtable.c spinlock_t *ptl; ptl 982 arch/s390/mm/pgtable.c ptep = get_locked_pte(mm, hva, &ptl); ptl 1056 arch/s390/mm/pgtable.c pte_unmap_unlock(ptep, ptl); ptl 1074 arch/s390/mm/pgtable.c spinlock_t *ptl; ptl 1078 arch/s390/mm/pgtable.c ptep = get_locked_pte(mm, hva, &ptl); ptl 1087 arch/s390/mm/pgtable.c pte_unmap_unlock(ptep, ptl); ptl 1102 arch/s390/mm/pgtable.c spinlock_t *ptl; ptl 1105 arch/s390/mm/pgtable.c ptep = get_locked_pte(mm, hva, &ptl); ptl 1109 arch/s390/mm/pgtable.c pte_unmap_unlock(ptep, ptl); ptl 390 arch/sh/mm/cache-sh5.c spinlock_t *ptl; ptl 408 arch/sh/mm/cache-sh5.c pte = pte_offset_map_lock(mm, pmd, addr, &ptl); ptl 416 arch/sh/mm/cache-sh5.c pte_unmap_unlock(pte - 1, ptl); ptl 795 arch/x86/kernel/alternative.c spinlock_t *ptl; ptl 831 arch/x86/kernel/alternative.c ptep = get_locked_pte(poking_mm, poking_addr, &ptl); ptl 887 arch/x86/kernel/alternative.c pte_unmap_unlock(ptep, ptl); ptl 208 arch/x86/kernel/ldt.c spinlock_t *ptl; ptl 242 arch/x86/kernel/ldt.c ptep = get_locked_pte(mm, va, &ptl); ptl 255 arch/x86/kernel/ldt.c pte_unmap_unlock(ptep, ptl); ptl 281 arch/x86/kernel/ldt.c spinlock_t *ptl; ptl 285 arch/x86/kernel/ldt.c ptep = get_locked_pte(mm, va, &ptl); ptl 287 arch/x86/kernel/ldt.c pte_unmap_unlock(ptep, ptl); ptl 167 arch/x86/kernel/vm86_32.c spinlock_t *ptl; ptl 193 arch/x86/kernel/vm86_32.c pte = pte_offset_map_lock(mm, pmd, 0xA0000, &ptl); ptl 199 arch/x86/kernel/vm86_32.c pte_unmap_unlock(pte, ptl); ptl 712 arch/x86/mm/init.c spinlock_t *ptl; ptl 736 arch/x86/mm/init.c ptep = get_locked_pte(poking_mm, poking_addr, &ptl); ptl 738 arch/x86/mm/init.c pte_unmap_unlock(ptep, ptl); ptl 699 arch/x86/xen/mmu_pv.c spinlock_t *ptl = NULL; ptl 702 arch/x86/xen/mmu_pv.c ptl = ptlock_ptr(page); ptl 703 arch/x86/xen/mmu_pv.c spin_lock_nest_lock(ptl, &mm->page_table_lock); ptl 706 arch/x86/xen/mmu_pv.c return ptl; ptl 711 arch/x86/xen/mmu_pv.c spinlock_t *ptl = v; ptl 712 arch/x86/xen/mmu_pv.c spin_unlock(ptl); ptl 741 arch/x86/xen/mmu_pv.c spinlock_t *ptl; ptl 765 arch/x86/xen/mmu_pv.c ptl = NULL; ptl 767 arch/x86/xen/mmu_pv.c ptl = xen_pte_lock(page, mm); ptl 773 arch/x86/xen/mmu_pv.c if (ptl) { ptl 778 arch/x86/xen/mmu_pv.c xen_mc_callback(xen_pte_unlock, ptl); ptl 887 arch/x86/xen/mmu_pv.c spinlock_t *ptl = NULL; ptl 898 arch/x86/xen/mmu_pv.c ptl = xen_pte_lock(page, mm); ptl 900 arch/x86/xen/mmu_pv.c if (ptl) ptl 910 arch/x86/xen/mmu_pv.c if (ptl) { ptl 912 arch/x86/xen/mmu_pv.c xen_mc_callback(xen_pte_unlock, ptl); ptl 441 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(pa-cp-ptl-req, 0x06), ptl 453 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(pa-ptl-wr-req, 0x16), ptl 454 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(pa-ptl-rd-req, 0x17), ptl 1127 drivers/platform/x86/intel_ips.c u16 ptl; ptl 1129 drivers/platform/x86/intel_ips.c ptl = thm_readw(THM_PTL); ptl 1130 drivers/platform/x86/intel_ips.c dev_dbg(ips->dev, "Processor temp limit: %d\n", ptl); ptl 782 fs/dax.c spinlock_t *ptl; ptl 802 fs/dax.c &ptep, &pmdp, &ptl)) ptl 828 fs/dax.c spin_unlock(ptl); ptl 841 fs/dax.c pte_unmap_unlock(ptep, ptl); ptl 1423 fs/dax.c spinlock_t *ptl; ptl 1442 fs/dax.c ptl = pmd_lock(vmf->vma->vm_mm, vmf->pmd); ptl 1444 fs/dax.c spin_unlock(ptl); ptl 1455 fs/dax.c spin_unlock(ptl); ptl 607 fs/proc/task_mmu.c spinlock_t *ptl; ptl 609 fs/proc/task_mmu.c ptl = pmd_trans_huge_lock(pmd, vma); ptl 610 fs/proc/task_mmu.c if (ptl) { ptl 613 fs/proc/task_mmu.c spin_unlock(ptl); ptl 624 fs/proc/task_mmu.c pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); ptl 627 fs/proc/task_mmu.c pte_unmap_unlock(pte - 1, ptl); ptl 1054 fs/proc/task_mmu.c spinlock_t *ptl; ptl 1057 fs/proc/task_mmu.c ptl = pmd_trans_huge_lock(pmd, vma); ptl 1058 fs/proc/task_mmu.c if (ptl) { ptl 1074 fs/proc/task_mmu.c spin_unlock(ptl); ptl 1081 fs/proc/task_mmu.c pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); ptl 1102 fs/proc/task_mmu.c pte_unmap_unlock(pte - 1, ptl); ptl 1368 fs/proc/task_mmu.c spinlock_t *ptl; ptl 1373 fs/proc/task_mmu.c ptl = pmd_trans_huge_lock(pmdp, vma); ptl 1374 fs/proc/task_mmu.c if (ptl) { ptl 1427 fs/proc/task_mmu.c spin_unlock(ptl); ptl 1439 fs/proc/task_mmu.c orig_pte = pte = pte_offset_map_lock(walk->mm, pmdp, addr, &ptl); ptl 1448 fs/proc/task_mmu.c pte_unmap_unlock(orig_pte, ptl); ptl 1748 fs/proc/task_mmu.c spinlock_t *ptl; ptl 1753 fs/proc/task_mmu.c ptl = pmd_trans_huge_lock(pmd, vma); ptl 1754 fs/proc/task_mmu.c if (ptl) { ptl 1761 fs/proc/task_mmu.c spin_unlock(ptl); ptl 1768 fs/proc/task_mmu.c orig_pte = pte = pte_offset_map_lock(walk->mm, pmd, addr, &ptl); ptl 1776 fs/proc/task_mmu.c pte_unmap_unlock(orig_pte, ptl); ptl 745 include/linux/hugetlb.h spinlock_t *ptl; ptl 747 include/linux/hugetlb.h ptl = huge_pte_lockptr(h, mm, pte); ptl 748 include/linux/hugetlb.h spin_lock(ptl); ptl 749 include/linux/hugetlb.h return ptl; ptl 442 include/linux/mm.h spinlock_t *ptl; /* Page table lock. ptl 1751 include/linux/mm.h spinlock_t **ptl); ptl 1753 include/linux/mm.h spinlock_t **ptl) ptl 1756 include/linux/mm.h __cond_lock(*ptl, ptep = __get_locked_pte(mm, addr, ptl)); ptl 1897 include/linux/mm.h return page->ptl; ptl 1915 include/linux/mm.h return &page->ptl; ptl 1933 include/linux/mm.h VM_BUG_ON_PAGE(*(unsigned long *)&page->ptl, page); ptl 1984 include/linux/mm.h #define pte_unmap_unlock(pte, ptl) do { \ ptl 1985 include/linux/mm.h spin_unlock(ptl); \ ptl 2049 include/linux/mm.h spinlock_t *ptl = pmd_lockptr(mm, pmd); ptl 2050 include/linux/mm.h spin_lock(ptl); ptl 2051 include/linux/mm.h return ptl; ptl 2067 include/linux/mm.h spinlock_t *ptl = pud_lockptr(mm, pud); ptl 2069 include/linux/mm.h spin_lock(ptl); ptl 2070 include/linux/mm.h return ptl; ptl 153 include/linux/mm_types.h spinlock_t *ptl; ptl 155 include/linux/mm_types.h spinlock_t ptl; ptl 211 include/linux/rmap.h spinlock_t *ptl; ptl 219 include/linux/rmap.h if (pvmw->ptl) ptl 220 include/linux/rmap.h spin_unlock(pvmw->ptl); ptl 205 include/linux/swapops.h spinlock_t *ptl); ptl 230 include/linux/swapops.h spinlock_t *ptl) { } ptl 188 mm/gup.c spinlock_t *ptl; ptl 195 mm/gup.c ptep = pte_offset_map_lock(mm, pmd, address, &ptl); ptl 211 mm/gup.c pte_unmap_unlock(ptep, ptl); ptl 218 mm/gup.c pte_unmap_unlock(ptep, ptl); ptl 254 mm/gup.c pte_unmap_unlock(ptep, ptl); ptl 308 mm/gup.c pte_unmap_unlock(ptep, ptl); ptl 311 mm/gup.c pte_unmap_unlock(ptep, ptl); ptl 323 mm/gup.c spinlock_t *ptl; ptl 367 mm/gup.c ptl = pmd_lock(mm, pmd); ptl 369 mm/gup.c spin_unlock(ptl); ptl 380 mm/gup.c ptl = pmd_lock(mm, pmd); ptl 382 mm/gup.c spin_unlock(ptl); ptl 386 mm/gup.c spin_unlock(ptl); ptl 393 mm/gup.c spin_unlock(ptl); ptl 400 mm/gup.c spin_unlock(ptl); ptl 407 mm/gup.c spin_unlock(ptl); ptl 410 mm/gup.c spin_unlock(ptl); ptl 418 mm/gup.c spin_unlock(ptl); ptl 427 mm/gup.c spin_unlock(ptl); ptl 438 mm/gup.c spinlock_t *ptl; ptl 460 mm/gup.c ptl = pud_lock(mm, pud); ptl 462 mm/gup.c spin_unlock(ptl); ptl 736 mm/hmm.c spinlock_t *ptl; ptl 740 mm/hmm.c ptl = huge_pte_lock(hstate_vma(vma), walk->mm, pte); ptl 762 mm/hmm.c spin_unlock(ptl); ptl 606 mm/huge_memory.c vmf->ptl = pmd_lock(vma->vm_mm, vmf->pmd); ptl 620 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 638 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 645 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 736 mm/huge_memory.c vmf->ptl = pmd_lock(vma->vm_mm, vmf->pmd); ptl 742 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 744 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 750 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 754 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 775 mm/huge_memory.c spinlock_t *ptl; ptl 777 mm/huge_memory.c ptl = pmd_lock(mm, pmd); ptl 811 mm/huge_memory.c spin_unlock(ptl); ptl 863 mm/huge_memory.c spinlock_t *ptl; ptl 865 mm/huge_memory.c ptl = pud_lock(mm, pud); ptl 891 mm/huge_memory.c spin_unlock(ptl); ptl 1161 mm/huge_memory.c vmf->ptl = pud_lock(vmf->vma->vm_mm, vmf->pud); ptl 1173 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1183 mm/huge_memory.c vmf->ptl = pmd_lock(vmf->vma->vm_mm, vmf->pmd); ptl 1195 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1251 mm/huge_memory.c vmf->ptl = pmd_lock(vma->vm_mm, vmf->pmd); ptl 1288 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1303 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1325 mm/huge_memory.c vmf->ptl = pmd_lockptr(vma->vm_mm, vmf->pmd); ptl 1329 mm/huge_memory.c spin_lock(vmf->ptl); ptl 1341 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1343 mm/huge_memory.c spin_lock(vmf->ptl); ptl 1363 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1415 mm/huge_memory.c spin_lock(vmf->ptl); ptl 1419 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1442 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1452 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1547 mm/huge_memory.c vmf->ptl = pmd_lock(vma->vm_mm, vmf->pmd); ptl 1560 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1596 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1606 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1610 mm/huge_memory.c spin_lock(vmf->ptl); ptl 1655 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1677 mm/huge_memory.c spin_unlock(vmf->ptl); ptl 1697 mm/huge_memory.c spinlock_t *ptl; ptl 1705 mm/huge_memory.c ptl = pmd_trans_huge_lock(pmd, vma); ptl 1706 mm/huge_memory.c if (!ptl) ptl 1736 mm/huge_memory.c spin_unlock(ptl); ptl 1759 mm/huge_memory.c spin_unlock(ptl); ptl 1777 mm/huge_memory.c spinlock_t *ptl; ptl 1781 mm/huge_memory.c ptl = __pmd_trans_huge_lock(pmd, vma); ptl 1782 mm/huge_memory.c if (!ptl) ptl 1796 mm/huge_memory.c spin_unlock(ptl); ptl 1801 mm/huge_memory.c spin_unlock(ptl); ptl 1831 mm/huge_memory.c spin_unlock(ptl); ptl 1928 mm/huge_memory.c spinlock_t *ptl; ptl 1933 mm/huge_memory.c ptl = __pmd_trans_huge_lock(pmd, vma); ptl 1934 mm/huge_memory.c if (!ptl) ptl 2002 mm/huge_memory.c spin_unlock(ptl); ptl 2014 mm/huge_memory.c spinlock_t *ptl; ptl 2015 mm/huge_memory.c ptl = pmd_lock(vma->vm_mm, pmd); ptl 2018 mm/huge_memory.c return ptl; ptl 2019 mm/huge_memory.c spin_unlock(ptl); ptl 2031 mm/huge_memory.c spinlock_t *ptl; ptl 2033 mm/huge_memory.c ptl = pud_lock(vma->vm_mm, pud); ptl 2035 mm/huge_memory.c return ptl; ptl 2036 mm/huge_memory.c spin_unlock(ptl); ptl 2044 mm/huge_memory.c spinlock_t *ptl; ptl 2046 mm/huge_memory.c ptl = __pud_trans_huge_lock(pud, vma); ptl 2047 mm/huge_memory.c if (!ptl) ptl 2058 mm/huge_memory.c spin_unlock(ptl); ptl 2083 mm/huge_memory.c spinlock_t *ptl; ptl 2090 mm/huge_memory.c ptl = pud_lock(vma->vm_mm, pud); ptl 2096 mm/huge_memory.c spin_unlock(ptl); ptl 2302 mm/huge_memory.c spinlock_t *ptl; ptl 2309 mm/huge_memory.c ptl = pmd_lock(vma->vm_mm, pmd); ptl 2327 mm/huge_memory.c spin_unlock(ptl); ptl 3527 mm/hugetlb.c spinlock_t *ptl; ptl 3557 mm/hugetlb.c ptl = huge_pte_lock(h, mm, ptep); ptl 3559 mm/hugetlb.c spin_unlock(ptl); ptl 3569 mm/hugetlb.c spin_unlock(ptl); ptl 3579 mm/hugetlb.c spin_unlock(ptl); ptl 3591 mm/hugetlb.c spin_unlock(ptl); ptl 3610 mm/hugetlb.c spin_unlock(ptl); ptl 3729 mm/hugetlb.c struct page *pagecache_page, spinlock_t *ptl) ptl 3770 mm/hugetlb.c spin_unlock(ptl); ptl 3786 mm/hugetlb.c spin_lock(ptl); ptl 3823 mm/hugetlb.c spin_lock(ptl); ptl 3839 mm/hugetlb.c spin_unlock(ptl); ptl 3847 mm/hugetlb.c spin_lock(ptl); /* Caller expects lock to be held */ ptl 3918 mm/hugetlb.c spinlock_t *ptl; ptl 3988 mm/hugetlb.c ptl = huge_pte_lock(h, mm, ptep); ptl 3991 mm/hugetlb.c spin_unlock(ptl); ptl 3994 mm/hugetlb.c spin_unlock(ptl); ptl 4046 mm/hugetlb.c ptl = huge_pte_lock(h, mm, ptep); ptl 4067 mm/hugetlb.c ret = hugetlb_cow(mm, vma, address, ptep, page, ptl); ptl 4070 mm/hugetlb.c spin_unlock(ptl); ptl 4085 mm/hugetlb.c spin_unlock(ptl); ptl 4123 mm/hugetlb.c spinlock_t *ptl; ptl 4199 mm/hugetlb.c ptl = huge_pte_lock(h, mm, ptep); ptl 4222 mm/hugetlb.c pagecache_page, ptl); ptl 4236 mm/hugetlb.c spin_unlock(ptl); ptl 4273 mm/hugetlb.c spinlock_t *ptl; ptl 4329 mm/hugetlb.c ptl = huge_pte_lockptr(h, dst_mm, dst_pte); ptl 4330 mm/hugetlb.c spin_lock(ptl); ptl 4371 mm/hugetlb.c spin_unlock(ptl); ptl 4379 mm/hugetlb.c spin_unlock(ptl); ptl 4400 mm/hugetlb.c spinlock_t *ptl = NULL; ptl 4423 mm/hugetlb.c ptl = huge_pte_lock(h, mm, pte); ptl 4436 mm/hugetlb.c spin_unlock(ptl); ptl 4458 mm/hugetlb.c spin_unlock(ptl); ptl 4505 mm/hugetlb.c spin_unlock(ptl); ptl 4532 mm/hugetlb.c spin_unlock(ptl); ptl 4580 mm/hugetlb.c spinlock_t *ptl; ptl 4584 mm/hugetlb.c ptl = huge_pte_lock(h, mm, ptep); ptl 4587 mm/hugetlb.c spin_unlock(ptl); ptl 4593 mm/hugetlb.c spin_unlock(ptl); ptl 4608 mm/hugetlb.c spin_unlock(ptl); ptl 4620 mm/hugetlb.c spin_unlock(ptl); ptl 4889 mm/hugetlb.c spinlock_t *ptl; ptl 4913 mm/hugetlb.c ptl = huge_pte_lock(hstate_vma(vma), mm, spte); ptl 4921 mm/hugetlb.c spin_unlock(ptl); ptl 5074 mm/hugetlb.c spinlock_t *ptl; ptl 5077 mm/hugetlb.c ptl = pmd_lockptr(mm, pmd); ptl 5078 mm/hugetlb.c spin_lock(ptl); ptl 5092 mm/hugetlb.c spin_unlock(ptl); ptl 5093 mm/hugetlb.c __migration_entry_wait(mm, (pte_t *)pmd, ptl); ptl 5102 mm/hugetlb.c spin_unlock(ptl); ptl 649 mm/khugepaged.c spinlock_t *ptl) ptl 664 mm/khugepaged.c spin_lock(ptl); ptl 670 mm/khugepaged.c spin_unlock(ptl); ptl 682 mm/khugepaged.c spin_lock(ptl); ptl 689 mm/khugepaged.c spin_unlock(ptl); ptl 1125 mm/khugepaged.c spinlock_t *ptl; ptl 1138 mm/khugepaged.c pte = pte_offset_map_lock(mm, pmd, address, &ptl); ptl 1228 mm/khugepaged.c pte_unmap_unlock(pte, ptl); ptl 1297 mm/khugepaged.c spinlock_t *ptl; ptl 1318 mm/khugepaged.c start_pte = pte_offset_map_lock(mm, pmd, haddr, &ptl); ptl 1374 mm/khugepaged.c pte_unmap_unlock(start_pte, ptl); ptl 1383 mm/khugepaged.c ptl = pmd_lock(vma->vm_mm, pmd); ptl 1385 mm/khugepaged.c spin_unlock(ptl); ptl 1391 mm/khugepaged.c pte_unmap_unlock(start_pte, ptl); ptl 1459 mm/khugepaged.c spinlock_t *ptl = pmd_lock(vma->vm_mm, pmd); ptl 1462 mm/khugepaged.c spin_unlock(ptl); ptl 1126 mm/ksm.c spinlock_t *ptl; ptl 1143 mm/ksm.c ptep = pte_offset_map_lock(mm, pmd, addr, &ptl); ptl 1145 mm/ksm.c pte_unmap_unlock(ptep, ptl); ptl 1184 mm/ksm.c pte_unmap_unlock(ptep, ptl); ptl 197 mm/madvise.c spinlock_t *ptl; ptl 199 mm/madvise.c orig_pte = pte_offset_map_lock(vma->vm_mm, pmd, start, &ptl); ptl 201 mm/madvise.c pte_unmap_unlock(orig_pte, ptl); ptl 310 mm/madvise.c spinlock_t *ptl; ptl 323 mm/madvise.c ptl = pmd_trans_huge_lock(pmd, vma); ptl 324 mm/madvise.c if (!ptl) ptl 347 mm/madvise.c spin_unlock(ptl); ptl 377 mm/madvise.c spin_unlock(ptl); ptl 388 mm/madvise.c orig_pte = pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); ptl 416 mm/madvise.c pte_unmap_unlock(orig_pte, ptl); ptl 420 mm/madvise.c pte_offset_map_lock(mm, pmd, addr, &ptl); ptl 425 mm/madvise.c pte = pte_offset_map_lock(mm, pmd, addr, &ptl); ptl 465 mm/madvise.c pte_unmap_unlock(orig_pte, ptl); ptl 569 mm/madvise.c spinlock_t *ptl; ptl 584 mm/madvise.c orig_pte = pte = pte_offset_map_lock(mm, pmd, addr, &ptl); ptl 626 mm/madvise.c pte_unmap_unlock(orig_pte, ptl); ptl 630 mm/madvise.c pte_offset_map_lock(mm, pmd, addr, &ptl); ptl 635 mm/madvise.c pte = pte_offset_map_lock(mm, pmd, addr, &ptl); ptl 689 mm/madvise.c pte_unmap_unlock(orig_pte, ptl); ptl 5683 mm/memcontrol.c spinlock_t *ptl; ptl 5685 mm/memcontrol.c ptl = pmd_trans_huge_lock(pmd, vma); ptl 5686 mm/memcontrol.c if (ptl) { ptl 5694 mm/memcontrol.c spin_unlock(ptl); ptl 5700 mm/memcontrol.c pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); ptl 5704 mm/memcontrol.c pte_unmap_unlock(pte - 1, ptl); ptl 5883 mm/memcontrol.c spinlock_t *ptl; ptl 5888 mm/memcontrol.c ptl = pmd_trans_huge_lock(pmd, vma); ptl 5889 mm/memcontrol.c if (ptl) { ptl 5891 mm/memcontrol.c spin_unlock(ptl); ptl 5915 mm/memcontrol.c spin_unlock(ptl); ptl 5922 mm/memcontrol.c pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); ptl 5970 mm/memcontrol.c pte_unmap_unlock(pte - 1, ptl); ptl 407 mm/memory.c spinlock_t *ptl; ptl 427 mm/memory.c ptl = pmd_lock(mm, pmd); ptl 433 mm/memory.c spin_unlock(ptl); ptl 1012 mm/memory.c spinlock_t *ptl; ptl 1020 mm/memory.c start_pte = pte_offset_map_lock(mm, pmd, addr, &ptl); ptl 1118 mm/memory.c pte_unmap_unlock(start_pte, ptl); ptl 1393 mm/memory.c spinlock_t **ptl) ptl 1412 mm/memory.c return pte_alloc_map_lock(mm, pmd, addr, ptl); ptl 1428 mm/memory.c spinlock_t *ptl; ptl 1435 mm/memory.c pte = get_locked_pte(mm, addr, &ptl); ptl 1450 mm/memory.c pte_unmap_unlock(pte, ptl); ptl 1586 mm/memory.c spinlock_t *ptl; ptl 1588 mm/memory.c pte = get_locked_pte(mm, addr, &ptl); ptl 1630 mm/memory.c pte_unmap_unlock(pte, ptl); ptl 1796 mm/memory.c spinlock_t *ptl; ptl 1799 mm/memory.c pte = pte_alloc_map_lock(mm, pmd, addr, &ptl); ptl 1813 mm/memory.c pte_unmap_unlock(pte - 1, ptl); ptl 2010 mm/memory.c spinlock_t *uninitialized_var(ptl); ptl 2014 mm/memory.c pte_alloc_map_lock(mm, pmd, addr, &ptl); ptl 2031 mm/memory.c pte_unmap_unlock(pte-1, ptl); ptl 2138 mm/memory.c spinlock_t *ptl = pte_lockptr(mm, pmd); ptl 2139 mm/memory.c spin_lock(ptl); ptl 2141 mm/memory.c spin_unlock(ptl); ptl 2284 mm/memory.c __releases(vmf->ptl) ptl 2302 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 2361 mm/memory.c vmf->pte = pte_offset_map_lock(mm, vmf->pmd, vmf->address, &vmf->ptl); ptl 2428 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 2476 mm/memory.c &vmf->ptl); ptl 2482 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 2500 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 2512 mm/memory.c __releases(vmf->ptl) ptl 2522 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 2564 mm/memory.c __releases(vmf->ptl) ptl 2581 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 2596 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 2599 mm/memory.c vmf->address, &vmf->ptl); ptl 2602 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 2643 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 2814 mm/memory.c vmf->address, &vmf->ptl); ptl 2870 mm/memory.c &vmf->ptl); ptl 2944 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 2949 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 3001 mm/memory.c vmf->address, &vmf->ptl); ptl 3009 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 3038 mm/memory.c &vmf->ptl); ptl 3048 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 3064 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 3147 mm/memory.c vmf->ptl = pmd_lock(vma->vm_mm, vmf->pmd); ptl 3149 mm/memory.c spin_unlock(vmf->ptl); ptl 3155 mm/memory.c spin_unlock(vmf->ptl); ptl 3185 mm/memory.c &vmf->ptl); ptl 3229 mm/memory.c vmf->ptl = pmd_lock(vma->vm_mm, vmf->pmd); ptl 3256 mm/memory.c spin_unlock(vmf->ptl); ptl 3370 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 3482 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 3618 mm/memory.c &vmf->ptl); ptl 3631 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 3680 mm/memory.c vmf->ptl = pte_lockptr(vma->vm_mm, vmf->pmd); ptl 3681 mm/memory.c spin_lock(vmf->ptl); ptl 3683 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 3701 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 3707 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 3733 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 3874 mm/memory.c vmf->ptl = pte_lockptr(vmf->vma->vm_mm, vmf->pmd); ptl 3875 mm/memory.c spin_lock(vmf->ptl); ptl 3899 mm/memory.c pte_unmap_unlock(vmf->pte, vmf->ptl); ptl 4106 mm/memory.c spinlock_t *ptl; ptl 4113 mm/memory.c ptl = pud_lock(mm, pud); ptl 4127 mm/memory.c spin_unlock(ptl); ptl 4239 mm/memory.c spinlock_t *ptl; ptl 4245 mm/memory.c ret = follow_pte(vma->vm_mm, address, &ptep, &ptl); ptl 4249 mm/memory.c pte_unmap_unlock(ptep, ptl); ptl 4261 mm/memory.c spinlock_t *ptl; ptl 4266 mm/memory.c if (follow_pte(vma->vm_mm, address, &ptep, &ptl)) ptl 4278 mm/memory.c pte_unmap_unlock(ptep, ptl); ptl 4659 mm/memory.c spinlock_t *ptl; ptl 4661 mm/memory.c ptl = kmem_cache_alloc(page_ptl_cachep, GFP_KERNEL); ptl 4662 mm/memory.c if (!ptl) ptl 4664 mm/memory.c page->ptl = ptl; ptl 4670 mm/memory.c kmem_cache_free(page_ptl_cachep, page->ptl); ptl 441 mm/mempolicy.c static int queue_pages_pmd(pmd_t *pmd, spinlock_t *ptl, unsigned long addr, ptl 455 mm/mempolicy.c spin_unlock(ptl); ptl 474 mm/mempolicy.c spin_unlock(ptl); ptl 500 mm/mempolicy.c spinlock_t *ptl; ptl 502 mm/mempolicy.c ptl = pmd_trans_huge_lock(pmd, vma); ptl 503 mm/mempolicy.c if (ptl) { ptl 504 mm/mempolicy.c ret = queue_pages_pmd(pmd, ptl, addr, end, walk); ptl 513 mm/mempolicy.c pte = pte_offset_map_lock(walk->mm, pmd, addr, &ptl); ptl 545 mm/mempolicy.c pte_unmap_unlock(pte - 1, ptl); ptl 562 mm/mempolicy.c spinlock_t *ptl; ptl 565 mm/mempolicy.c ptl = huge_pte_lock(hstate_vma(walk->vma), walk->mm, pte); ptl 577 mm/mempolicy.c spin_unlock(ptl); ptl 308 mm/migrate.c spinlock_t *ptl) ptl 314 mm/migrate.c spin_lock(ptl); ptl 332 mm/migrate.c pte_unmap_unlock(ptep, ptl); ptl 336 mm/migrate.c pte_unmap_unlock(ptep, ptl); ptl 342 mm/migrate.c spinlock_t *ptl = pte_lockptr(mm, pmd); ptl 344 mm/migrate.c __migration_entry_wait(mm, ptep, ptl); ptl 350 mm/migrate.c spinlock_t *ptl = huge_pte_lockptr(hstate_vma(vma), mm, pte); ptl 351 mm/migrate.c __migration_entry_wait(mm, pte, ptl); ptl 357 mm/migrate.c spinlock_t *ptl; ptl 360 mm/migrate.c ptl = pmd_lock(mm, pmd); ptl 366 mm/migrate.c spin_unlock(ptl); ptl 370 mm/migrate.c spin_unlock(ptl); ptl 2030 mm/migrate.c spinlock_t *ptl; ptl 2064 mm/migrate.c ptl = pmd_lock(mm, pmd); ptl 2066 mm/migrate.c spin_unlock(ptl); ptl 2117 mm/migrate.c spin_unlock(ptl); ptl 2138 mm/migrate.c ptl = pmd_lock(mm, pmd); ptl 2144 mm/migrate.c spin_unlock(ptl); ptl 2197 mm/migrate.c spinlock_t *ptl; ptl 2207 mm/migrate.c ptl = pmd_lock(mm, pmdp); ptl 2209 mm/migrate.c spin_unlock(ptl); ptl 2215 mm/migrate.c spin_unlock(ptl); ptl 2224 mm/migrate.c spin_unlock(ptl); ptl 2243 mm/migrate.c ptep = pte_offset_map_lock(mm, pmdp, addr, &ptl); ptl 2343 mm/migrate.c pte_unmap_unlock(ptep - 1, ptl); ptl 2713 mm/migrate.c spinlock_t *ptl; ptl 2781 mm/migrate.c ptep = pte_offset_map_lock(mm, pmdp, addr, &ptl); ptl 2787 mm/migrate.c pte_unmap_unlock(ptep, ptl); ptl 2793 mm/migrate.c pte_unmap_unlock(ptep, ptl); ptl 2803 mm/migrate.c pte_unmap_unlock(ptep, ptl); ptl 2826 mm/migrate.c pte_unmap_unlock(ptep, ptl); ptl 125 mm/mincore.c spinlock_t *ptl; ptl 131 mm/mincore.c ptl = pmd_trans_huge_lock(pmd, vma); ptl 132 mm/mincore.c if (ptl) { ptl 134 mm/mincore.c spin_unlock(ptl); ptl 143 mm/mincore.c ptep = pte_offset_map_lock(walk->mm, pmd, addr, &ptl); ptl 173 mm/mincore.c pte_unmap_unlock(ptep - 1, ptl); ptl 379 mm/mlock.c spinlock_t *ptl; ptl 386 mm/mlock.c pte = get_locked_pte(vma->vm_mm, start, &ptl); ptl 423 mm/mlock.c pte_unmap_unlock(pte, ptl); ptl 43 mm/mprotect.c spinlock_t *ptl; ptl 61 mm/mprotect.c pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); ptl 159 mm/mprotect.c pte_unmap_unlock(pte - 1, ptl); ptl 50 mm/page_vma_mapped.c pvmw->ptl = pte_lockptr(pvmw->vma->vm_mm, pvmw->pmd); ptl 51 mm/page_vma_mapped.c spin_lock(pvmw->ptl); ptl 160 mm/page_vma_mapped.c pvmw->ptl = huge_pte_lockptr(page_hstate(page), mm, pvmw->pte); ptl 161 mm/page_vma_mapped.c spin_lock(pvmw->ptl); ptl 184 mm/page_vma_mapped.c pvmw->ptl = pmd_lock(mm, pvmw->pmd); ptl 206 mm/page_vma_mapped.c spin_unlock(pvmw->ptl); ptl 207 mm/page_vma_mapped.c pvmw->ptl = NULL; ptl 231 mm/page_vma_mapped.c if (pvmw->ptl) { ptl 232 mm/page_vma_mapped.c spin_unlock(pvmw->ptl); ptl 233 mm/page_vma_mapped.c pvmw->ptl = NULL; ptl 241 mm/page_vma_mapped.c if (!pvmw->ptl) { ptl 242 mm/page_vma_mapped.c pvmw->ptl = pte_lockptr(mm, pvmw->pmd); ptl 243 mm/page_vma_mapped.c spin_lock(pvmw->ptl); ptl 96 mm/pagewalk.c spinlock_t *ptl = pud_trans_huge_lock(pud, walk->vma); ptl 98 mm/pagewalk.c if (ptl) { ptl 100 mm/pagewalk.c spin_unlock(ptl); ptl 2322 mm/shmem.c spinlock_t *ptl; ptl 2396 mm/shmem.c dst_pte = pte_offset_map_lock(dst_mm, dst_pmd, dst_addr, &ptl); ptl 2421 mm/shmem.c pte_unmap_unlock(dst_pte, ptl); ptl 2427 mm/shmem.c pte_unmap_unlock(dst_pte, ptl); ptl 1858 mm/swapfile.c spinlock_t *ptl; ptl 1873 mm/swapfile.c pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); ptl 1900 mm/swapfile.c pte_unmap_unlock(pte, ptl); ptl 30 mm/userfaultfd.c spinlock_t *ptl; ptl 76 mm/userfaultfd.c dst_pte = pte_offset_map_lock(dst_mm, dst_pmd, dst_addr, &ptl); ptl 100 mm/userfaultfd.c pte_unmap_unlock(dst_pte, ptl); ptl 105 mm/userfaultfd.c pte_unmap_unlock(dst_pte, ptl); ptl 118 mm/userfaultfd.c spinlock_t *ptl; ptl 125 mm/userfaultfd.c dst_pte = pte_offset_map_lock(dst_mm, dst_pmd, dst_addr, &ptl); ptl 143 mm/userfaultfd.c pte_unmap_unlock(dst_pte, ptl);