Searched refs:kvcalloc (Results 26 - 50 of 119) sorted by relevance

12345

/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_dmem.c381 src_pfns = kvcalloc(npages, sizeof(*src_pfns), GFP_KERNEL | __GFP_NOFAIL);
382 dst_pfns = kvcalloc(npages, sizeof(*dst_pfns), GFP_KERNEL | __GFP_NOFAIL);
383 dma_addrs = kvcalloc(npages, sizeof(*dma_addrs), GFP_KERNEL | __GFP_NOFAIL);
/linux-master/drivers/xen/
H A Dgntdev.c145 add->pages = kvcalloc(count, sizeof(add->pages[0]), GFP_KERNEL);
147 kvcalloc(count, sizeof(add->being_removed[0]), GFP_KERNEL);
173 add->frames = kvcalloc(count, sizeof(add->frames[0]),
/linux-master/drivers/net/ethernet/google/gve/
H A Dgve_tx_dqo.c253 tx->dqo.tx_qpl_buf_next = kvcalloc(num_tx_qpl_bufs,
322 tx->dqo.pending_packets = kvcalloc(tx->dqo.num_pending_packets,
392 tx = kvcalloc(cfg->qcfg->max_queues, sizeof(struct gve_tx_ring),
H A Dgve_rx_dqo.c326 rx->dqo.buf_states = kvcalloc(rx->dqo.num_buf_states,
402 rx = kvcalloc(cfg->qcfg->max_queues, sizeof(struct gve_rx_ring),
H A Dgve_main.c352 priv->msix_vectors = kvcalloc(num_vecs_requested,
1017 qpl->pages = kvcalloc(pages, sizeof(*qpl->pages), GFP_KERNEL);
1021 qpl->page_buses = kvcalloc(pages, sizeof(*qpl->page_buses), GFP_KERNEL);
1118 qpls = kvcalloc(max_queues, sizeof(*qpls), GFP_KERNEL);
1124 cfg->qpl_cfg->qpl_id_map = kvcalloc(BITS_TO_LONGS(max_queues),
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_u32.c515 link->tid_map = kvcalloc(bmap_size, sizeof(unsigned long),
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
H A Dia_css_sdis.host.c322 me = kvcalloc(1, sizeof(*me), GFP_KERNEL);
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c430 table->icm = kvcalloc(num_icm, sizeof(*table->icm), GFP_KERNEL);
/linux-master/include/net/
H A Dfq_impl.h361 fq->flows = kvcalloc(fq->flows_cnt, sizeof(fq->flows[0]), GFP_KERNEL);
/linux-master/drivers/md/
H A Ddm-zone.c203 kvcalloc(disk->nr_zones, sizeof(unsigned int),
/linux-master/drivers/gpu/drm/lima/
H A Dlima_drv.c125 bos = kvcalloc(args->nr_bos, sizeof(*submit.bos) + sizeof(*submit.lbos), GFP_KERNEL);
/linux-master/include/linux/
H A Dslab.h787 static inline __alloc_size(1, 2) void *kvcalloc(size_t n, size_t size, gfp_t flags) function
/linux-master/net/sched/
H A Dsch_choke.c373 ntab = kvcalloc(mask + 1, sizeof(struct sk_buff *), GFP_KERNEL);
H A Dsch_fq_codel.c489 q->flows = kvcalloc(q->flows_cnt,
496 q->backlogs = kvcalloc(q->flows_cnt, sizeof(u32), GFP_KERNEL);
/linux-master/lib/
H A Dtest_vmalloc.c514 tdriver = kvcalloc(nr_threads, sizeof(*tdriver), GFP_KERNEL);
H A Dstackdepot.c188 /* Allocates a hash table via kvcalloc. Can be used after boot. */
223 pr_info("allocating hash table of %lu entries via kvcalloc\n", entries);
224 stack_table = kvcalloc(entries, sizeof(struct list_head), GFP_KERNEL);
/linux-master/kernel/trace/
H A Dtrace_sched_switch.c446 map = kvcalloc(tgid_map_max + 1, sizeof(*tgid_map),
/linux-master/sound/core/
H A Dmemalloc.c775 sgbuf->pages = kvcalloc(sgbuf->count, sizeof(*sgbuf->pages), GFP_KERNEL);
776 sgbuf->addrs = kvcalloc(sgbuf->count, sizeof(*sgbuf->addrs), GFP_KERNEL);
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_cs.c96 p->relocs = kvcalloc(p->nrelocs, sizeof(struct radeon_bo_list),
303 p->chunks = kvcalloc(p->nchunks, sizeof(struct radeon_cs_chunk), GFP_KERNEL);
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_migrate.c404 buf = kvcalloc(npages,
707 buf = kvcalloc(npages,
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_params.c2148 me = kvcalloc(1, sizeof(*me), GFP_KERNEL);
4173 me = kvcalloc(1, sizeof(*me), GFP_KERNEL);
4211 me = kvcalloc(1, sizeof(*me), GFP_KERNEL);
4249 me = kvcalloc(1, sizeof(*me), GFP_KERNEL);
4290 me = kvcalloc(1, sizeof(*me), GFP_KERNEL);
4381 me = kvcalloc(1, sizeof(*me), GFP_KERNEL);
4474 dvs_config = kvcalloc(1, sizeof(struct ia_css_dvs_6axis_config),
/linux-master/fs/xfs/
H A Dxfs_ioctl.c1488 buf = kvcalloc(bmx.bmv_count, sizeof(*buf), GFP_KERNEL);
1542 recs = kvcalloc(count, sizeof(struct fsmap), GFP_KERNEL);
1546 recs = kvcalloc(count, sizeof(struct fsmap), GFP_KERNEL);
/linux-master/drivers/infiniband/hw/mlx5/
H A Dsrq.c139 in->pas = kvcalloc(srq->buf.npages, sizeof(*in->pas), GFP_KERNEL);
/linux-master/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-sg.c129 buf->pages = kvcalloc(buf->num_pages, sizeof(struct page *), GFP_KERNEL);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_counters.c573 bulk->bitmask = kvcalloc(BITS_TO_LONGS(bulk_len), sizeof(unsigned long),

Completed in 260 milliseconds

12345