kmalloc_array
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
*dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL);
p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps),
p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps),
config = kmalloc_array(256, sizeof(*config), GFP_KERNEL);
fences = kmalloc_array(id_mgr->num_ids, sizeof(void *), GFP_NOWAIT);
regs = kmalloc_array(info->read_mmr_reg.count, sizeof(*regs), GFP_KERNEL);
*bps = kmalloc_array(data->count, sizeof(struct ras_badpage), GFP_KERNEL);
void *bps = kmalloc_array(align_space, sizeof(*data->bps), GFP_KERNEL);
syncobj = kmalloc_array(num_syncobj_handles, sizeof(*syncobj), GFP_KERNEL);
gobj_read = kmalloc_array(num_read_bo_handles, sizeof(*gobj_read), GFP_KERNEL);
gobj_write = kmalloc_array(num_write_bo_handles, sizeof(*gobj_write), GFP_KERNEL);
gobj_read = kmalloc_array(num_read_bo_handles, sizeof(*gobj_read), GFP_KERNEL);
gobj_write = kmalloc_array(num_write_bo_handles, sizeof(*gobj_write), GFP_KERNEL);
fence_info = kmalloc_array(wait_info->num_fences, sizeof(*fence_info), GFP_KERNEL);
fences = kmalloc_array(wait_info->num_fences, sizeof(*fences), GFP_KERNEL);
bps = kmalloc_array(align_space, sizeof(*(*data)->bps), GFP_KERNEL);
bps_bo = kmalloc_array(align_space, sizeof(*(*data)->bps_bo), GFP_KERNEL);
devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr),
devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr),
device_buckets = kmalloc_array(args->num_devices, sizeof(*device_buckets), GFP_KERNEL);
uint64_t *new_mods = kmalloc_array(new_cap, sizeof(uint64_t), GFP_KERNEL);
*mods = kmalloc_array(capacity, sizeof(uint64_t), GFP_KERNEL);
modes = kmalloc_array(it.len, sizeof(*modes), GFP_KERNEL);
mst_state->commit_deps = kmalloc_array(num_commit_deps,
c = kmalloc_array(alloc,
states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL);
mm->free_trees = kmalloc_array(DRM_BUDDY_MAX_FREE_TREES,
mm->free_trees[i] = kmalloc_array(mm->max_order + 1,
mm->roots = kmalloc_array(mm->n_roots,
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,
points = kmalloc_array(count, sizeof(*points), GFP_KERNEL);
handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL);
syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL);
points = kmalloc_array(args->count_handles, sizeof(*points),
chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL);
fences = kmalloc_array(count, sizeof(*fences), GFP_KERNEL);
list = kmalloc_array(count, sizeof(*list), GFP_KERNEL);
siblings = kmalloc_array(num_siblings, sizeof(*siblings), GFP_KERNEL);
siblings = kmalloc_array(num_siblings * width,
set.engines = kmalloc_array(set.num_engines, sizeof(*set.engines), GFP_KERNEL);
arr = kmalloc_array(n_placements,
fences = kmalloc_array(eb->num_batches, sizeof(*fences), GFP_KERNEL);
pages = kmalloc_array(n_pages, sizeof(*pages), GFP_ATOMIC);
offsets = kmalloc_array(ncachelines, 2*sizeof(u32), GFP_KERNEL);
list = kmalloc_array(ALIGN(wal->count + 1, grow), sizeof(*list),
arg = kmalloc_array(I915_NUM_ENGINES, sizeof(*arg), GFP_KERNEL);
smoke.contexts = kmalloc_array(smoke.ncontext,
threads = kmalloc_array(I915_NUM_ENGINES, sizeof(*threads), GFP_KERNEL);
engines = kmalloc_array(n, sizeof(*engines), GFP_KERNEL);
crc = kmalloc_array(num_pages, sizeof(u32), GFP_KERNEL);
siblings = kmalloc_array(num_siblings,
new_fences = kmalloc_array(new_size, sizeof(*new_fences), deps->gfp);
oa_regs = kmalloc_array(n_regs, sizeof(*oa_regs), GFP_KERNEL);
order = kmalloc_array(count, sizeof(*order),
fences = kmalloc_array(nfences, sizeof(*fences), GFP_KERNEL);
sched->sched_rq = kmalloc_array(args->num_rqs, sizeof(*sched->sched_rq),