Searched refs:new_pages (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_bitmap.c | 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, 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 …]
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 594 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() 618 list_splice(&new_pages, &pool->list); in ttm_page_pool_fill_locked()
|
/linux-4.1.27/drivers/base/ |
D | firmware_class.c | 752 struct page **new_pages; in fw_realloc_buffer() local 754 new_pages = kmalloc(new_array_size * sizeof(void *), in fw_realloc_buffer() 756 if (!new_pages) { in fw_realloc_buffer() 760 memcpy(new_pages, buf->pages, in fw_realloc_buffer() 762 memset(&new_pages[buf->page_array_size], 0, sizeof(void *) * in fw_realloc_buffer() 765 buf->pages = new_pages; in fw_realloc_buffer()
|
/linux-4.1.27/kernel/trace/ |
D | ring_buffer.c | 486 struct list_head new_pages; /* new pages to add */ member 1267 INIT_LIST_HEAD(&cpu_buffer->new_pages); in rb_allocate_cpu_buffer() 1569 struct list_head *pages = &cpu_buffer->new_pages; in rb_insert_pages() 1634 list_for_each_entry_safe(bpage, tmp, &cpu_buffer->new_pages, in rb_insert_pages() 1728 INIT_LIST_HEAD(&cpu_buffer->new_pages); in ring_buffer_resize() 1730 &cpu_buffer->new_pages, cpu)) { in ring_buffer_resize() 1783 INIT_LIST_HEAD(&cpu_buffer->new_pages); in ring_buffer_resize() 1786 &cpu_buffer->new_pages, cpu_id)) { in ring_buffer_resize() 1840 if (list_empty(&cpu_buffer->new_pages)) in ring_buffer_resize() 1843 list_for_each_entry_safe(bpage, tmp, &cpu_buffer->new_pages, in ring_buffer_resize() [all …]
|
/linux-4.1.27/arch/s390/kernel/ |
D | debug.c | 1230 int rc,new_pages; in debug_input_pages_fn() local 1243 new_pages = debug_get_uint(str); in debug_input_pages_fn() 1244 if(new_pages < 0){ in debug_input_pages_fn() 1248 rc = debug_set_size(id,id->nr_areas, new_pages); in debug_input_pages_fn()
|