Lines Matching refs:pgd_spinlock
21 static inline spinlock_t *pgd_spinlock(pgd_t *);
93 spin_lock_irqsave(pgd_spinlock((mm)->pgd), flags);\
97 spin_unlock_irqrestore(pgd_spinlock((mm)->pgd), flags);\
490 static inline spinlock_t *pgd_spinlock(pgd_t *pgd) in pgd_spinlock() function
506 spin_lock_irqsave(pgd_spinlock(vma->vm_mm->pgd), flags); in ptep_test_and_clear_young()
509 spin_unlock_irqrestore(pgd_spinlock(vma->vm_mm->pgd), flags); in ptep_test_and_clear_young()
514 spin_unlock_irqrestore(pgd_spinlock(vma->vm_mm->pgd), flags); in ptep_test_and_clear_young()
524 spin_lock_irqsave(pgd_spinlock(mm->pgd), flags); in ptep_get_and_clear()
528 spin_unlock_irqrestore(pgd_spinlock(mm->pgd), flags); in ptep_get_and_clear()
536 spin_lock_irqsave(pgd_spinlock(mm->pgd), flags); in ptep_set_wrprotect()
539 spin_unlock_irqrestore(pgd_spinlock(mm->pgd), flags); in ptep_set_wrprotect()