Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/xen/
Dgntdev.c139 add->grants = kvcalloc(count, sizeof(add->grants[0]), GFP_KERNEL); in gntdev_alloc_map()
140 add->map_ops = kvcalloc(count, sizeof(add->map_ops[0]), GFP_KERNEL); in gntdev_alloc_map()
141 add->unmap_ops = kvcalloc(count, sizeof(add->unmap_ops[0]), GFP_KERNEL); in gntdev_alloc_map()
142 add->kmap_ops = kvcalloc(count, sizeof(add->kmap_ops[0]), GFP_KERNEL); in gntdev_alloc_map()
143 add->kunmap_ops = kvcalloc(count, in gntdev_alloc_map()
145 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()
167 add->frames = kvcalloc(count, sizeof(add->frames[0]), in gntdev_alloc_map()
/kernel/linux/linux-5.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\|
/kernel/linux/linux-5.10/mm/
Dswap_slots.c124 slots = kvcalloc(SWAP_SLOTS_CACHE_SIZE, sizeof(swp_entry_t), in alloc_swap_slot_cache()
129 slots_ret = kvcalloc(SWAP_SLOTS_CACHE_SIZE, sizeof(swp_entry_t), in alloc_swap_slot_cache()
Dgup_benchmark.c82 pages = kvcalloc(nr_pages, sizeof(void *), GFP_KERNEL); in __gup_benchmark_ioctl()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1838 rgb_user = kvcalloc(ramp->num_entries + _EXTRA_POINTS, in mod_color_calculate_degamma_params()
1844 axis_x = kvcalloc(ramp->num_entries + _EXTRA_POINTS, sizeof(*axis_x), in mod_color_calculate_degamma_params()
1861 curve = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, sizeof(*curve), in mod_color_calculate_degamma_params()
1866 coeff = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, sizeof(*coeff), in mod_color_calculate_degamma_params()
2060 rgb_user = kvcalloc(ramp->num_entries + _EXTRA_POINTS, in mod_color_calculate_regamma_params()
2066 axis_x = kvcalloc(ramp->num_entries + 3, sizeof(*axis_x), in mod_color_calculate_regamma_params()
2086 rgb_regamma = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, in mod_color_calculate_regamma_params()
2092 coeff = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, sizeof(*coeff), in mod_color_calculate_regamma_params()
2145 rgb_degamma = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, in mod_color_calculate_degamma_curve()
2168 rgb_degamma = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, in mod_color_calculate_degamma_curve()
[all …]
/kernel/linux/linux-5.10/net/xdp/
Dxsk_buff_pool.c56 pool->heads = kvcalloc(umem->chunks, sizeof(*pool->heads), GFP_KERNEL); in xp_create_and_assign_umem()
292 dma_map->dma_pages = kvcalloc(nr_pages, sizeof(*dma_map->dma_pages), GFP_KERNEL); in xp_create_dma_map()
369 pool->dma_pages = kvcalloc(dma_map->dma_pages_cnt, sizeof(*pool->dma_pages), GFP_KERNEL); in xp_init_dma_info()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dpage_track.c38 kvcalloc(npages, sizeof(*slot->arch.gfn_track[i]), in kvm_page_track_create_memslot()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dsrq.c99 in->pas = kvcalloc(ncont, sizeof(*in->pas), GFP_KERNEL); in create_srq_user()
165 in->pas = kvcalloc(srq->buf.npages, sizeof(*in->pas), GFP_KERNEL); in create_srq_kernel()
/kernel/linux/linux-5.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.c485 q->flows = kvcalloc(q->flows_cnt, in fq_codel_init()
492 q->backlogs = kvcalloc(q->flows_cnt, sizeof(u32), GFP_KERNEL); in fq_codel_init()
/kernel/linux/linux-5.10/block/
Dkeyslot-manager.c86 ksm->slots = kvcalloc(num_slots, sizeof(ksm->slots[0]), GFP_KERNEL); in blk_ksm_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c306 cl_list = kvcalloc(clipt_size, sizeof(struct clip_entry), GFP_KERNEL); in t4_init_clip_tbl()
/kernel/linux/linux-5.10/include/net/
Dfq_impl.h315 fq->flows = kvcalloc(fq->flows_cnt, sizeof(fq->flows[0]), GFP_KERNEL); in fq_init()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
Dia_css_sdis2.host.c286 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_isp_dvs2_statistics_allocate()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
Dia_css_sdis.host.c322 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_isp_dvs_statistics_allocate()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dsh_css_params.c2246 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_isp_3a_statistics_allocate()
4354 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_3a_statistics_allocate()
4396 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_dvs_statistics_allocate()
4434 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_dvs_coefficients_allocate()
4475 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_dvs2_statistics_allocate()
4566 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_dvs2_coefficients_allocate()
4661 dvs_config = kvcalloc(1, sizeof(struct ia_css_dvs_6axis_config), in ia_css_dvs2_6axis_config_allocate()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dicm.c430 table->icm = kvcalloc(num_icm, sizeof(*table->icm), GFP_KERNEL); in mlx4_init_icm_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_drv.c124 bos = kvcalloc(args->nr_bos, sizeof(*submit.bos) + sizeof(*submit.lbos), GFP_KERNEL); in lima_ioctl_gem_submit()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c355 char *buf = (char *)kvcalloc(total, sizeof(char), GFP_KERNEL); in dm_dtn_log_append_v()
/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_local_storage.c576 smap->buckets = kvcalloc(sizeof(*smap->buckets), nbuckets, in bpf_local_storage_map_alloc()

123