Lines Matching refs:pgd
50 pgd_t *pgd; in huge_pte_alloc() local
63 pgd = pgd_offset(mm, addr); in huge_pte_alloc()
64 p4d = p4d_offset(pgd, addr); in huge_pte_alloc()
77 pgd_t *pgd; in huge_pte_offset() local
85 pgd = pgd_offset(mm, addr); in huge_pte_offset()
86 if (!pgd_none(*pgd)) { in huge_pte_offset()
87 p4d = p4d_offset(pgd, addr); in huge_pte_offset()
147 spin_lock_irqsave(pgd_spinlock((mm)->pgd), flags); in set_huge_pte_at()
149 spin_unlock_irqrestore(pgd_spinlock((mm)->pgd), flags); in set_huge_pte_at()
159 spin_lock_irqsave(pgd_spinlock((mm)->pgd), flags); in huge_ptep_get_and_clear()
162 spin_unlock_irqrestore(pgd_spinlock((mm)->pgd), flags); in huge_ptep_get_and_clear()
174 spin_lock_irqsave(pgd_spinlock((mm)->pgd), flags); in huge_ptep_set_wrprotect()
177 spin_unlock_irqrestore(pgd_spinlock((mm)->pgd), flags); in huge_ptep_set_wrprotect()
188 spin_lock_irqsave(pgd_spinlock((mm)->pgd), flags); in huge_ptep_set_access_flags()
193 spin_unlock_irqrestore(pgd_spinlock((mm)->pgd), flags); in huge_ptep_set_access_flags()