Lines Matching refs:pam
421 struct page_address_map *pam; in page_address() local
423 list_for_each_entry(pam, &pas->lh, list) { in page_address()
424 if (pam->page == page) { in page_address()
425 ret = pam->virtual; in page_address()
446 struct page_address_map *pam; in set_page_address() local
452 pam = &page_address_maps[PKMAP_NR((unsigned long)virtual)]; in set_page_address()
453 pam->page = page; in set_page_address()
454 pam->virtual = virtual; in set_page_address()
457 list_add_tail(&pam->list, &pas->lh); in set_page_address()
461 list_for_each_entry(pam, &pas->lh, list) { in set_page_address()
462 if (pam->page == page) { in set_page_address()
463 list_del(&pam->list); in set_page_address()