Lines Matching refs:lp
164 struct linked_page *lp = list->next; in free_list_of_pages() local
167 list = lp; in free_list_of_pages()
207 struct linked_page *lp; in chain_alloc() local
209 lp = get_image_page(ca->gfp_mask, ca->safe_needed); in chain_alloc()
210 if (!lp) in chain_alloc()
213 lp->next = ca->chain; in chain_alloc()
214 ca->chain = lp; in chain_alloc()
2081 struct linked_page *sp_list, *lp; in prepare_image() local
2115 lp = get_image_page(GFP_ATOMIC, PG_SAFE); in prepare_image()
2116 if (!lp) { in prepare_image()
2120 lp->next = sp_list; in prepare_image()
2121 sp_list = lp; in prepare_image()
2128 lp = (struct linked_page *)get_zeroed_page(GFP_ATOMIC); in prepare_image()
2129 if (!lp) { in prepare_image()
2133 if (!swsusp_page_is_free(virt_to_page(lp))) { in prepare_image()
2135 lp->next = safe_pages_list; in prepare_image()
2136 safe_pages_list = lp; in prepare_image()
2139 swsusp_set_page_forbidden(virt_to_page(lp)); in prepare_image()
2140 swsusp_set_page_free(virt_to_page(lp)); in prepare_image()
2145 lp = sp_list->next; in prepare_image()
2147 sp_list = lp; in prepare_image()