Lines Matching full:pas
757 struct page_address_slot *pas; in page_address() local
762 pas = page_slot(page); in page_address()
764 spin_lock_irqsave(&pas->lock, flags); in page_address()
765 if (!list_empty(&pas->lh)) { in page_address()
768 list_for_each_entry(pam, &pas->lh, list) { in page_address()
776 spin_unlock_irqrestore(&pas->lock, flags); in page_address()
789 struct page_address_slot *pas; in set_page_address() local
794 pas = page_slot(page); in set_page_address()
800 spin_lock_irqsave(&pas->lock, flags); in set_page_address()
801 list_add_tail(&pam->list, &pas->lh); in set_page_address()
802 spin_unlock_irqrestore(&pas->lock, flags); in set_page_address()
804 spin_lock_irqsave(&pas->lock, flags); in set_page_address()
805 list_for_each_entry(pam, &pas->lh, list) { in set_page_address()
811 spin_unlock_irqrestore(&pas->lock, flags); in set_page_address()