Home
last modified time | relevance | path

Searched refs:new_pages (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/ttm/
Dttm_page_alloc.c594 struct list_head new_pages; in ttm_page_pool_fill_locked() local
603 INIT_LIST_HEAD(&new_pages); in ttm_page_pool_fill_locked()
604 r = ttm_alloc_new_pages(&new_pages, pool->gfp_flags, ttm_flags, in ttm_page_pool_fill_locked()
609 list_splice(&new_pages, &pool->list); in ttm_page_pool_fill_locked()
615 list_for_each_entry(p, &new_pages, lru) { in ttm_page_pool_fill_locked()
618 list_splice(&new_pages, &pool->list); in ttm_page_pool_fill_locked()
/drivers/block/drbd/
Ddrbd_bitmap.c381 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, in bm_realloc_pages()
402 if (!new_pages) in bm_realloc_pages()
409 new_pages[i] = old_pages[i]; in bm_realloc_pages()
413 bm_free_pages(new_pages + have, i - have); in bm_realloc_pages()
414 bm_vk_free(new_pages, vmalloced); in bm_realloc_pages()
420 new_pages[i] = page; in bm_realloc_pages()
424 new_pages[i] = old_pages[i]; in bm_realloc_pages()
[all …]
/drivers/base/
Dfirmware_class.c754 struct page **new_pages; in fw_realloc_buffer() local
756 new_pages = kmalloc(new_array_size * sizeof(void *), in fw_realloc_buffer()
758 if (!new_pages) { in fw_realloc_buffer()
762 memcpy(new_pages, buf->pages, in fw_realloc_buffer()
764 memset(&new_pages[buf->page_array_size], 0, sizeof(void *) * in fw_realloc_buffer()
767 buf->pages = new_pages; in fw_realloc_buffer()