Home
last modified time | relevance | path

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

/linux/kernel/module/
H A Ddecompress.c19 struct page **new_pages; in module_extend_max_pages() local
21 new_pages = kvmalloc_array(info->max_pages + extent, in module_extend_max_pages()
23 if (!new_pages) in module_extend_max_pages()
26 memcpy(new_pages, info->pages, info->max_pages * sizeof(info->pages)); in module_extend_max_pages()
28 info->pages = new_pages; in module_extend_max_pages()
/linux/arch/s390/kvm/
H A Dpci.c207 unsigned long page_limit, cur_pages, new_pages; in account_mem() local
213 new_pages = cur_pages + nr_pages; in account_mem()
214 if (new_pages > page_limit) in account_mem()
216 } while (!atomic_long_try_cmpxchg(&user->locked_vm, &cur_pages, new_pages)); in account_mem()
/linux/drivers/base/firmware_loader/
H A Dmain.c264 struct page **new_pages; in fw_grow_paged_buf() local
266 new_pages = kvmalloc_array(new_array_size, sizeof(void *), in fw_grow_paged_buf()
268 if (!new_pages) in fw_grow_paged_buf()
270 memcpy(new_pages, fw_priv->pages, in fw_grow_paged_buf()
272 memset(&new_pages[fw_priv->page_array_size], 0, sizeof(void *) * in fw_grow_paged_buf()
275 fw_priv->pages = new_pages; in fw_grow_paged_buf()
/linux/kernel/trace/
H A Dring_buffer.c563 struct list_head new_pages; /* new pages to add */ member
2399 INIT_LIST_HEAD(&cpu_buffer->new_pages); in rb_allocate_cpu_buffer()
2827 struct list_head *pages = &cpu_buffer->new_pages; in rb_insert_pages()
2897 list_for_each_entry_safe(bpage, tmp, &cpu_buffer->new_pages, in rb_insert_pages()
3001 INIT_LIST_HEAD(&cpu_buffer->new_pages); in ring_buffer_resize()
3003 &cpu_buffer->new_pages)) { in ring_buffer_resize()
3070 INIT_LIST_HEAD(&cpu_buffer->new_pages); in ring_buffer_resize()
3073 &cpu_buffer->new_pages)) { in ring_buffer_resize()
3133 if (list_empty(&cpu_buffer->new_pages)) in ring_buffer_resize()
3136 list_for_each_entry_safe(bpage, tmp, &cpu_buffer->new_pages, in ring_buffer_resize()
[all …]
/linux/drivers/md/dm-vdo/
H A Dencodings.c453 block_count_t new_pages; in vdo_compute_new_forest_pages() local
457 new_pages = level_size; in vdo_compute_new_forest_pages()
459 new_pages -= old_sizes->levels[height]; in vdo_compute_new_forest_pages()
460 total_pages += (new_pages * root_count); in vdo_compute_new_forest_pages()
H A Dblock-map.c2355 static int make_segment(struct forest *old_forest, block_count_t new_pages, in make_segment() argument
2377 result = vdo_allocate(new_pages, struct tree_page, in make_segment()
2468 block_count_t new_pages; in make_forest() local
2474 new_pages = vdo_compute_new_forest_pages(map->root_count, old_boundary, in make_forest()
2476 if (new_pages == 0) { in make_forest()
2488 result = make_segment(old_forest, new_pages, &new_boundary, forest); in make_forest()
/linux/io_uring/
H A Drsrc.c41 unsigned long page_limit, cur_pages, new_pages; in __io_account_mem() local
51 new_pages = cur_pages + nr_pages; in __io_account_mem()
52 if (new_pages > page_limit) in __io_account_mem()
55 &cur_pages, new_pages)); in __io_account_mem()
/linux/drivers/iommu/iommufd/
H A Dpages.c959 unsigned long new_pages; in incr_user_locked_vm() local
966 new_pages = cur_pages + npages; in incr_user_locked_vm()
967 if (new_pages > lock_limit) in incr_user_locked_vm()
970 &cur_pages, new_pages)); in incr_user_locked_vm()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_rogue_fwif_check.h264 OFFSET_CHECK(struct rogue_fwif_freelist_gs_data, new_pages, 8);
H A Dpvr_rogue_fwif.h1027 u32 new_pages; member