Lines Matching refs:page
241 struct page *page = bio_first_page_all(bio); in hib_end_io() local
250 put_page(page); in hib_end_io()
252 flush_icache_range((unsigned long)page_address(page), in hib_end_io()
253 (unsigned long)page_address(page) + PAGE_SIZE); in hib_end_io()
266 struct page *page = virt_to_page(addr); in hib_submit_io() local
275 if (bio_add_page(bio, page, PAGE_SIZE, 0) < PAGE_SIZE) { in hib_submit_io()
679 unsigned char *page = NULL; in save_image_lzo() local
692 page = (void *)__get_free_page(GFP_NOIO | __GFP_HIGH); in save_image_lzo()
693 if (!page) { in save_image_lzo()
836 memcpy(page, data[thr].cmp + off, PAGE_SIZE); in save_image_lzo()
838 ret = swap_write_page(handle, page, &hb); in save_image_lzo()
868 if (page) free_page((unsigned long)page); in save_image_lzo()
1170 unsigned char **page = NULL; in load_image_lzo() local
1183 page = vmalloc(array_size(LZO_MAX_RD_PAGES, sizeof(*page))); in load_image_lzo()
1184 if (!page) { in load_image_lzo()
1260 page[i] = (void *)__get_free_page(i < LZO_CMP_PAGES ? in load_image_lzo()
1265 if (!page[i]) { in load_image_lzo()
1293 ret = swap_read_page(handle, page[ring], &hb); in load_image_lzo()
1336 data[thr].cmp_len = *(size_t *)page[pg]; in load_image_lzo()
1359 page[pg], PAGE_SIZE); in load_image_lzo()
1451 free_page((unsigned long)page[i]); in load_image_lzo()
1463 vfree(page); in load_image_lzo()