Lines Matching refs:new_pages
381 struct page **new_pages, *page; in bm_realloc_pages() local
397 new_pages = kzalloc(bytes, GFP_NOIO | __GFP_NOWARN); in bm_realloc_pages()
398 if (!new_pages) { in bm_realloc_pages()
399 new_pages = __vmalloc(bytes, GFP_NOIO | __GFP_ZERO); in bm_realloc_pages()
400 if (!new_pages) in bm_realloc_pages()
406 new_pages[i] = old_pages[i]; in bm_realloc_pages()
410 bm_free_pages(new_pages + have, i - have); in bm_realloc_pages()
411 bm_vk_free(new_pages); in bm_realloc_pages()
417 new_pages[i] = page; in bm_realloc_pages()
421 new_pages[i] = old_pages[i]; in bm_realloc_pages()
427 return new_pages; in bm_realloc_pages()