kvmalloc_array
keys = kvmalloc_array(args->count, sizeof(*keys), GFP_KERNEL_ACCOUNT);
keys = kvmalloc_array(args->count, sizeof(*keys), GFP_KERNEL_ACCOUNT);
phys_pg_pack->pages = kvmalloc_array(num_pgs, sizeof(u64), GFP_KERNEL);
phys_pg_pack->pages = kvmalloc_array(total_npages, sizeof(u64),
pages = kvmalloc_array(nr_pages, sizeof(*pages) + sizeof(*pages_order), GFP_KERNEL);
bos = kvmalloc_array(job->in_bo_count + job->out_bo_count, sizeof(void *),
new_entries = kvmalloc_array(new_size, sizeof(entries[0]),
new_pages = kvmalloc_array(new_array_size, sizeof(void *),
pages = kvmalloc_array(nr_pages, sizeof(*pages), GFP_KERNEL);
folios = kvmalloc_array(max_nr_folios, sizeof(*folios), GFP_KERNEL);
info = kvmalloc_array(bo_number, info_size, GFP_KERNEL);
ib_content = kvmalloc_array(coredump->ibs[i].ib_size_dw, 4,
pfns = kvmalloc_array(npages, sizeof(*pfns), GFP_KERNEL);
userq_fence->fence_drv_array = kvmalloc_array(xas.xa_index,
dst = kvmalloc_array(num_elements, size, GFP_KERNEL);
buf = kvmalloc_array(smu->stb_context.stb_buf_size, sizeof(*buf), GFP_KERNEL);
exec->objects = kvmalloc_array(nr, sizeof(void *), GFP_KERNEL);
pfns = kvmalloc_array(npages, sizeof(*pfns), GFP_KERNEL);
pfns = kvmalloc_array(npages, sizeof(*pfns), GFP_KERNEL);
pfns = kvmalloc_array(npages, sizeof(*pfns), GFP_KERNEL);
stream = kvmalloc_array(1, args->stream_size, GFP_KERNEL);
relocs = kvmalloc_array(1, size, GFP_KERNEL);
exec2_list = kvmalloc_array(count + 2, eb_element_size(),
pfns = kvmalloc_array(n_pfn, sizeof(*pfns), GFP_KERNEL);
out_alloc = kvmalloc_array(in->count, obj_size, GFP_KERNEL);
handles = kvmalloc_array(in_fence_count, sizeof(u32), GFP_KERNEL);
out_alloc = kvmalloc_array(in->count, obj_size, GFP_KERNEL);
p->chunks_array = kvmalloc_array(cs->num_chunks, sizeof(uint64_t), GFP_KERNEL);
p->chunks[i].kdata = kvmalloc_array(size, sizeof(uint32_t), GFP_KERNEL);
*data = kvmalloc_array(size, sizeof(uint32_t), GFP_KERNEL);
kvmalloc_array(nperfmons,
temp = kvmalloc_array(temp_size, 1, GFP_KERNEL);
bo_handles = kvmalloc_array(exbuf->num_bo_handles, sizeof(*bo_handles),
mem_attrs = kvmalloc_array(args->num_mem_ranges, args->sizeof_mem_range_attr,
srq->wrid = kvmalloc_array(srq->wqe_cnt, sizeof(u64), GFP_KERNEL);
queue->buffer = kvmalloc_array(length, stride, GFP_KERNEL);
qp->sq.wrid = kvmalloc_array(qp->sq.wqe_cnt,
qp->rq.wrid = kvmalloc_array(qp->rq.wqe_cnt,
srq->wrid = kvmalloc_array(srq->msrq.max,
qp->sq.wrid = kvmalloc_array(qp->sq.wqe_cnt,
qp->sq.wr_data = kvmalloc_array(qp->sq.wqe_cnt,
qp->rq.wrid = kvmalloc_array(qp->rq.wqe_cnt,
qp->sq.wqe_head = kvmalloc_array(qp->sq.wqe_cnt,
srq->wrid = kvmalloc_array(srq->msrq.max, sizeof(u64), GFP_KERNEL);
scribble = kvmalloc_array(cnt, obj_size, GFP_KERNEL);
buddy->bits[i] = kvmalloc_array(s, sizeof(long), GFP_KERNEL | __GFP_ZERO);
rss_rqns = kvmalloc_array(indir->actual_table_size, sizeof(*rss_rqns), GFP_KERNEL);
rss_vhca_ids = kvmalloc_array(indir->actual_table_size, sizeof(*rss_vhca_ids),
rss_rqns = kvmalloc_array(indir->actual_table_size, sizeof(*rss_rqns), GFP_KERNEL);
rss_vhca_ids = kvmalloc_array(indir->actual_table_size, sizeof(*rss_vhca_ids),
buddy->miss_list = kvmalloc_array(num_of_entries, sizeof(struct list_head), GFP_KERNEL);
mpc->rxbufs_pre = kvmalloc_array(num_rxb, sizeof(void *), GFP_KERNEL);
prog = kvmalloc_array(nfp_prog->prog_len, sizeof(u64), GFP_KERNEL);
eeprom_ptrs = kvmalloc_array(TXGBE_EEPROM_LAST_WORD, sizeof(u16),
struct unipair *unilist __free(kvfree) = kvmalloc_array(ct, sizeof(*unilist), GFP_KERNEL);
kls->kmnt_ids = kvmalloc_array(nr_mnt_ids, sizeof(*kls->kmnt_ids),
vol->lcn_empty_bits_per_page = kvmalloc_array(lcn_bit_pages, sizeof(unsigned int),
kvmalloc_array(wnd->nwnd, sizeof(u16), GFP_KERNEL | __GFP_ZERO);
return kvmalloc_array(BITS_TO_LONGS(mp->m_sb.sb_rgcount),
cache->entries = kvmalloc_array(max_nr, sizeof(void *), GFP_KERNEL);
area->freelist = kvmalloc_array(nr_iovs, sizeof(area->freelist[0]),
sem_io = kvmalloc_array(nsems, sizeof(ushort),
sem_io = kvmalloc_array(nsems, sizeof(ushort),
keys = kvmalloc_array(key_size, bucket_size, GFP_USER | __GFP_NOWARN);
values = kvmalloc_array(value_size, bucket_size, GFP_USER | __GFP_NOWARN);
keys = kvmalloc_array(max_count, key_size, GFP_USER | __GFP_NOWARN);
values = kvmalloc_array(max_count, value_size, GFP_USER | __GFP_NOWARN);
del_elems = kvmalloc_array(max_count, sizeof(void *),
syms = kvmalloc_array(cnt, sizeof(*syms), GFP_KERNEL);
buf = kvmalloc_array(cnt, KSYM_NAME_LEN, GFP_KERNEL);
addrs = kvmalloc_array(cnt, sizeof(*addrs), GFP_KERNEL);
cookies = kvmalloc_array(cnt, sizeof(*addrs), GFP_KERNEL);
all_latencies = kvmalloc_array(total_items, sizeof(u64), GFP_KERNEL);
ctxs[i].latencies = kvmalloc_array(wq_items, sizeof(u64),
kvmalloc_array(1, (alloc_pages) * PAGE_SIZE, gfp), \
kvmalloc_array((alloc_pages) * PAGE_SIZE, 1, gfp), \
xdp->frames = kvmalloc_array(xdp->batch_size, sizeof(void *), GFP_KERNEL);
xdp->skbs = kvmalloc_array(xdp->batch_size, sizeof(void *), GFP_KERNEL);
ptr = kvmalloc_array(nblocks, locksz, GFP_KERNEL);
t->seqc = kvmalloc_array(scounts, sizeof(*t->seqc), GFP_KERNEL);
t->lock = kvmalloc_array(locks, sizeof(*t->lock),
t->buckets = kvmalloc_array(buckets, sizeof(*t->buckets), GFP_KERNEL);
pages = kvmalloc_array(npages, sizeof(*pages), GFP_KERNEL);
mc->objects = kvmalloc_array(capacity, sizeof(void *), gfp);