Home
last modified time | relevance | path

Searched refs:kvcalloc (Results 1 – 25 of 94) sorted by relevance

1234

/linux-5.19.10/drivers/gpu/drm/ttm/
Dttm_tt.c99 ttm->pages = kvcalloc(ttm->num_pages, sizeof(void*), GFP_KERNEL); in ttm_tt_alloc_page_directory()
108 ttm->pages = kvcalloc(ttm->num_pages, sizeof(*ttm->pages) + in ttm_dma_tt_alloc_page_directory()
119 ttm->dma_address = kvcalloc(ttm->num_pages, sizeof(*ttm->dma_address), in ttm_sg_tt_alloc_page_directory()
/linux-5.19.10/scripts/coccinelle/api/
Dkfree_mismatch.cocci57 E = \(kvmalloc\|kvzalloc\|kvcalloc\|kvzalloc_node\|kvmalloc_node\|
123 * E = \(kvmalloc\|kvzalloc\|kvcalloc\|kvzalloc_node\|kvmalloc_node\|
133 E = \(kvmalloc\|kvzalloc\|kvcalloc\|kvzalloc_node\|kvmalloc_node\|
/linux-5.19.10/mm/
Dswap_slots.c123 slots = kvcalloc(SWAP_SLOTS_CACHE_SIZE, sizeof(swp_entry_t), in alloc_swap_slot_cache()
128 slots_ret = kvcalloc(SWAP_SLOTS_CACHE_SIZE, sizeof(swp_entry_t), in alloc_swap_slot_cache()
Dgup_test.c113 pages = kvcalloc(nr_pages, sizeof(void *), GFP_KERNEL); in __gup_test_ioctl()
/linux-5.19.10/drivers/net/wireguard/
Dratelimiter.c179 table_v4 = kvcalloc(table_size, sizeof(*table_v4), GFP_KERNEL); in wg_ratelimiter_init()
184 table_v6 = kvcalloc(table_size, sizeof(*table_v6), GFP_KERNEL); in wg_ratelimiter_init()
/linux-5.19.10/net/xdp/
Dxsk_buff_pool.c47 pool->tx_descs = kvcalloc(xs->tx->nentries, sizeof(*pool->tx_descs), in xp_alloc_tx_descs()
68 pool->heads = kvcalloc(umem->chunks, sizeof(*pool->heads), GFP_KERNEL); in xp_create_and_assign_umem()
305 dma_map->dma_pages = kvcalloc(nr_pages, sizeof(*dma_map->dma_pages), GFP_KERNEL); in xp_create_dma_map()
392 pool->dma_pages = kvcalloc(dma_map->dma_pages_cnt, sizeof(*pool->dma_pages), GFP_KERNEL); in xp_init_dma_info()
Dxdp_umem.c102 umem->pgs = kvcalloc(umem->npgs, sizeof(*umem->pgs), GFP_KERNEL | __GFP_NOWARN); in xdp_umem_pin_pages()
/linux-5.19.10/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1922 rgb_user = kvcalloc(ramp->num_entries + _EXTRA_POINTS, in mod_color_calculate_degamma_params()
1928 axis_x = kvcalloc(ramp->num_entries + _EXTRA_POINTS, sizeof(*axis_x), in mod_color_calculate_degamma_params()
1945 curve = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, sizeof(*curve), in mod_color_calculate_degamma_params()
1950 coeff = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, sizeof(*coeff), in mod_color_calculate_degamma_params()
2146 rgb_user = kvcalloc(ramp->num_entries + _EXTRA_POINTS, in mod_color_calculate_regamma_params()
2152 axis_x = kvcalloc(ramp->num_entries + 3, sizeof(*axis_x), in mod_color_calculate_regamma_params()
2172 rgb_regamma = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, in mod_color_calculate_regamma_params()
2178 coeff = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, sizeof(*coeff), in mod_color_calculate_regamma_params()
2235 rgb_degamma = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, in mod_color_calculate_degamma_curve()
2258 rgb_degamma = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, in mod_color_calculate_degamma_curve()
[all …]
/linux-5.19.10/fs/exfat/
Dnls.c662 upcase_table = kvcalloc(UTBL_COUNT, sizeof(unsigned short), GFP_KERNEL); in exfat_load_upcase_table()
718 upcase_table = kvcalloc(UTBL_COUNT, sizeof(unsigned short), GFP_KERNEL); in exfat_load_default_upcase_table()
/linux-5.19.10/drivers/net/ethernet/google/gve/
Dgve_main.c291 priv->msix_vectors = kvcalloc(num_vecs_requested, in gve_alloc_notify_blocks()
666 priv->tx = kvcalloc(priv->tx_cfg.num_queues, sizeof(*priv->tx), in gve_alloc_rings()
679 priv->rx = kvcalloc(priv->rx_cfg.num_queues, sizeof(*priv->rx), in gve_alloc_rings()
802 qpl->pages = kvcalloc(pages, sizeof(*qpl->pages), GFP_KERNEL); in gve_alloc_queue_page_list()
806 qpl->page_buses = kvcalloc(pages, sizeof(*qpl->page_buses), GFP_KERNEL); in gve_alloc_queue_page_list()
863 priv->qpls = kvcalloc(num_qpls, sizeof(*priv->qpls), GFP_KERNEL); in gve_alloc_qpls()
882 priv->qpl_cfg.qpl_id_map = kvcalloc(BITS_TO_LONGS(num_qpls), in gve_alloc_qpls()
/linux-5.19.10/drivers/infiniband/core/
Dumem_odp.c80 umem_odp->pfn_list = kvcalloc( in ib_init_umem_odp()
85 umem_odp->dma_list = kvcalloc( in ib_init_umem_odp()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_dp.c321 rx_ring->xsk_rxbufs = kvcalloc(rx_ring->cnt, rxbuf_sw_desc_sz, in nfp_net_rx_ring_alloc()
326 rx_ring->rxbufs = kvcalloc(rx_ring->cnt, rxbuf_sw_desc_sz, in nfp_net_rx_ring_alloc()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c225 buddy->ste_arr = kvcalloc(num_of_entries, in dr_icm_buddy_init_ste_cache()
233 buddy->hw_ste_arr = kvcalloc(num_of_entries, in dr_icm_buddy_init_ste_cache()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfdk/
Drings.c108 tx_ring->ktxbufs = kvcalloc(tx_ring->cnt, sizeof(*tx_ring->ktxbufs), in nfp_nfdk_tx_ring_alloc()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c480 abm->thresholds = kvcalloc(abm->num_thresholds, in nfp_abm_init()
485 abm->actions = kvcalloc(abm->num_thresholds, sizeof(*abm->actions), in nfp_abm_init()
/linux-5.19.10/drivers/staging/media/atomisp/pci/runtime/isp_param/src/
Disp_param.c126 mem_params->params[pclass][mem].address = kvcalloc(1, in ia_css_isp_param_allocate_isp_parameters()
/linux-5.19.10/net/sched/
Dsch_hhf.c604 q->hh_flows = kvcalloc(HH_FLOWS_CNT, sizeof(struct list_head), in hhf_init()
619 q->hhf_arrays[i] = kvcalloc(HHF_ARRAYS_LEN, in hhf_init()
Dsch_fq_codel.c494 q->flows = kvcalloc(q->flows_cnt, in fq_codel_init()
501 q->backlogs = kvcalloc(q->flows_cnt, sizeof(u32), GFP_KERNEL); in fq_codel_init()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfd3/
Drings.c143 tx_ring->txbufs = kvcalloc(tx_ring->cnt, sizeof(*tx_ring->txbufs), in nfp_nfd3_tx_ring_alloc()
/linux-5.19.10/lib/
Dstackdepot.c211 stack_table = kvcalloc(STACK_HASH_SIZE, sizeof(struct stack_record *), GFP_KERNEL); in stack_depot_init()
Dtest_vmalloc.c479 tdriver = kvcalloc(nr_threads, sizeof(*tdriver), GFP_KERNEL); in init_test_configurtion()
/linux-5.19.10/drivers/video/fbdev/core/
Dfb_defio.c290 pagerefs = kvcalloc(npagerefs, sizeof(*pagerefs), GFP_KERNEL); in fb_deferred_io_init()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dqos.c220 stats_list = kvcalloc(mlx5e_qos_max_leaf_nodes(priv->mdev), in mlx5e_open_qos_sq()
390 sqs = kvcalloc(qos_sqs_size, sizeof(struct mlx5e_txqsq *), GFP_KERNEL); in mlx5e_qos_alloc_queues()
1063 rl->leaves_id = kvcalloc(num_tc, sizeof(*rl->leaves_id), GFP_KERNEL); in mlx5e_mqprio_rl_init()
/linux-5.19.10/drivers/xen/
Dgntdev.c145 add->pages = kvcalloc(count, sizeof(add->pages[0]), GFP_KERNEL); in gntdev_alloc_map()
147 kvcalloc(count, sizeof(add->being_removed[0]), GFP_KERNEL); in gntdev_alloc_map()
173 add->frames = kvcalloc(count, sizeof(add->frames[0]), in gntdev_alloc_map()
/linux-5.19.10/block/
Dblk-crypto-profile.c88 profile->slots = kvcalloc(num_slots, sizeof(profile->slots[0]), in blk_crypto_profile_init()

1234