/kernel/linux/linux-5.10/drivers/xen/ |
D | gntdev.c | 139 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/ |
D | kfree_mismatch.cocci | 57 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/ |
D | swap_slots.c | 124 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()
|
D | gup_benchmark.c | 82 pages = kvcalloc(nr_pages, sizeof(void *), GFP_KERNEL); in __gup_benchmark_ioctl()
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | ratelimiter.c | 179 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/ |
D | color_gamma.c | 1838 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/ |
D | xsk_buff_pool.c | 56 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/ |
D | nls.c | 662 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/ |
D | umem_odp.c | 80 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/ |
D | page_track.c | 38 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/ |
D | main.c | 480 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/ |
D | isp_param.c | 126 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/ |
D | srq.c | 99 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/ |
D | sch_hhf.c | 604 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()
|
D | sch_fq_codel.c | 485 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/ |
D | keyslot-manager.c | 86 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/ |
D | clip_tbl.c | 306 cl_list = kvcalloc(clipt_size, sizeof(struct clip_entry), GFP_KERNEL); in t4_init_clip_tbl()
|
/kernel/linux/linux-5.10/include/net/ |
D | fq_impl.h | 315 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/ |
D | ia_css_sdis2.host.c | 286 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/ |
D | ia_css_sdis.host.c | 322 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_isp_dvs_statistics_allocate()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
D | sh_css_params.c | 2246 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/ |
D | icm.c | 430 table->icm = kvcalloc(num_icm, sizeof(*table->icm), GFP_KERNEL); in mlx4_init_icm_table()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
D | lima_drv.c | 124 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/ |
D | amdgpu_dm_helpers.c | 355 char *buf = (char *)kvcalloc(total, sizeof(char), GFP_KERNEL); in dm_dtn_log_append_v()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | bpf_local_storage.c | 576 smap->buckets = kvcalloc(sizeof(*smap->buckets), nbuckets, in bpf_local_storage_map_alloc()
|