Lines Matching refs:ptl
560 /* These three entries are valid only while holding ptl lock */
565 spinlock_t *ptl; /* Page table lock.
2043 extern pte_t *__get_locked_pte(struct mm_struct *mm, unsigned long addr, spinlock_t **ptl);
2044 static inline pte_t *get_locked_pte(struct mm_struct *mm, unsigned long addr, spinlock_t **ptl)
2047 __cond_lock(*ptl, ptep = __get_locked_pte(mm, addr, ptl));
2192 return page->ptl;
2210 return &page->ptl;
2222 * prep_new_page() initialize page->private (and therefore page->ptl)
2226 * slab code uses page->slab_cache, which share storage with page->ptl.
2228 VM_BUG_ON_PAGE(*(unsigned long *)&page->ptl, page);
2288 #define pte_unmap_unlock(pte, ptl) \
2290 spin_unlock(ptl); \
2356 spinlock_t *ptl = pmd_lockptr(mm, pmd);
2357 spin_lock(ptl);
2358 return ptl;
2391 spinlock_t *ptl = pud_lockptr(mm, pud);
2393 spin_lock(ptl);
2394 return ptl;