kmalloc_array
*dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL);
p->post_dep_syncobjs = kmalloc_array(num_deps,
chunk_array = kmalloc_array(cs->in.num_chunks, sizeof(uint64_t), GFP_KERNEL);
p->chunks = kmalloc_array(p->nchunks, sizeof(struct amdgpu_cs_chunk),
fences = kmalloc_array(fence_count, sizeof(struct drm_amdgpu_fence),
config = kmalloc_array(256, sizeof(*config), GFP_KERNEL);
data = kmalloc_array(1024, sizeof(*data), GFP_KERNEL);
fences = kmalloc_array(sizeof(void *), id_mgr->num_ids, GFP_KERNEL);
regs = kmalloc_array(info->read_mmr_reg.count, sizeof(*regs), GFP_KERNEL);
states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL);
temp_pagelist = kmalloc_array(dma->page_count + (count << page_order),
connector_set = kmalloc_array(crtc_req->count_connectors,
plane->format_types = kmalloc_array(format_count, sizeof(uint32_t),
plane->modifiers = kmalloc_array(format_modifier_count,
handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL);
syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL);
pdp->page_directory = kmalloc_array(pdpes, sizeof(*pdp->page_directory),
waiter = kmalloc_array(count,
bo = kmalloc_array(max, sizeof(*bo), GFP_ATOMIC);
bo = kmalloc_array(max, sizeof(*bo), GFP_ATOMIC);
oa_regs = kmalloc_array(n_regs, sizeof(*oa_regs), GFP_KERNEL);
list = kmalloc_array(ALIGN(wal->count + 1, grow), sizeof(*wa),
pages_to_free = kmalloc_array(npages_to_free,
caching_array = kmalloc_array(max_cpages, sizeof(struct page *),