/linux-master/include/linux/ |
H A D | mm_types.h | 427 * @pmd_huge_pte: Protected by ptdesc->ptl, used for THPs. 433 * @ptl: Lock for the page table. 463 spinlock_t *ptl; member in union:ptdesc::__anon384 465 spinlock_t ptl; member in union:ptdesc::__anon384
|
/linux-master/mm/ |
H A D | ksm.c | 619 spinlock_t *ptl; local 624 pte = pte_offset_map_lock(walk->mm, pmd, addr, &ptl); 642 pte_unmap_unlock(pte, ptl); 1381 spinlock_t *ptl; local 1406 ptep = pte_offset_map_lock(mm, pmd, addr, &ptl); 1410 pte_unmap_unlock(ptep, ptl); 1459 pte_unmap_unlock(ptep, ptl);
|
H A D | memcontrol.c | 6454 spinlock_t *ptl; local 6456 ptl = pmd_trans_huge_lock(pmd, vma); 6457 if (ptl) { 6465 spin_unlock(ptl); 6469 pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); 6475 pte_unmap_unlock(pte - 1, ptl); 6652 spinlock_t *ptl; local 6657 ptl = pmd_trans_huge_lock(pmd, vma); 6658 if (ptl) { 6660 spin_unlock(ptl); [all...] |
H A D | vmscan.c | 3351 spinlock_t *ptl; local 3361 pte = pte_offset_map_nolock(args->mm, pmd, start & PMD_MASK, &ptl); 3364 if (!spin_trylock(ptl)) { 3412 pte_unmap_unlock(pte, ptl); 3422 spinlock_t *ptl; local 3446 ptl = pmd_lockptr(args->mm, pmd); 3447 if (!spin_trylock(ptl)) 3491 spin_unlock(ptl); 4023 lockdep_assert_held(pvmw->ptl); 4026 if (spin_is_contended(pvmw->ptl)) [all...] |
H A D | filemap.c | 1368 * @ptl: already locked ptl. This function will drop the lock. 1373 * should be called while holding the ptl for the migration entry referencing 1376 * Returns after unlocking the ptl. 1381 void migration_entry_wait_on_locked(swp_entry_t entry, spinlock_t *ptl) 1382 __releases(ptl) 1413 * a valid reference to the page, and it must take the ptl to remove the 1414 * migration entry. So the page is valid until the ptl is dropped. 1416 spin_unlock(ptl); 3241 spin_lock(vmf->ptl); [all...] |
H A D | swapfile.c | 1811 spinlock_t *ptl; local 1829 pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); 1889 pte_unmap_unlock(pte, ptl);
|
/linux-master/fs/ |
H A D | dax.c | 1211 spinlock_t *ptl; local 1230 ptl = pmd_lock(vmf->vma->vm_mm, vmf->pmd); 1232 spin_unlock(ptl); 1243 spin_unlock(ptl);
|
/linux-master/arch/x86/kernel/ |
H A D | alternative.c | 1849 spinlock_t *ptl; local 1883 ptep = get_locked_pte(poking_mm, poking_addr, &ptl); 1944 pte_unmap_unlock(ptep, ptl);
|
/linux-master/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 518 spinlock_t *ptl; local 521 ret = follow_pte(vma, vaddr, &ptep, &ptl); 535 ret = follow_pte(vma, vaddr, &ptep, &ptl); 547 pte_unmap_unlock(ptep, ptl);
|
/linux-master/drivers/perf/ |
H A D | xgene_pmu.c | 436 XGENE_PMU_EVENT_ATTR(pa-cp-ptl-req, 0x06), 448 XGENE_PMU_EVENT_ATTR(pa-ptl-wr-req, 0x16), 449 XGENE_PMU_EVENT_ATTR(pa-ptl-rd-req, 0x17),
|
/linux-master/virt/kvm/ |
H A D | kvm_main.c | 2862 spinlock_t *ptl; local 2865 r = follow_pte(vma, addr, &ptep, &ptl); 2880 r = follow_pte(vma, addr, &ptep, &ptl); 2917 pte_unmap_unlock(ptep, ptl);
|
/linux-master/drivers/platform/surface/aggregator/ |
H A D | controller.c | 1332 ctrl->rtl.ptl.serdev = NULL;
|