/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | rqt.c | 97 rss_rqns = kvmalloc_array(MLX5E_INDIR_RQT_SIZE, sizeof(*rss_rqns), GFP_KERNEL); in mlx5e_rqt_init_indir() 157 rss_rqns = kvmalloc_array(MLX5E_INDIR_RQT_SIZE, sizeof(*rss_rqns), GFP_KERNEL); in mlx5e_rqt_redirect_indir()
|
/linux-6.6.21/scripts/coccinelle/api/ |
D | kfree_mismatch.cocci | 58 kvmalloc_array\)(...) 124 * kvmalloc_array\)(...)@a 134 kvmalloc_array\)(...)
|
/linux-6.6.21/lib/ |
D | bucket_locks.c | 34 tlocks = kvmalloc_array(size, sizeof(spinlock_t), gfp); in __alloc_bucket_spinlocks()
|
D | fortify_kunit.c | 248 kvmalloc_array(1, (alloc_pages) * PAGE_SIZE, gfp), \ 251 kvmalloc_array((alloc_pages) * PAGE_SIZE, 1, gfp), \
|
/linux-6.6.21/kernel/dma/ |
D | remap.c | 46 pages = kvmalloc_array(count, sizeof(struct page *), GFP_KERNEL); in dma_common_contiguous_remap()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | mem.c | 194 if (!(mem->mem = kvmalloc_array(size, sizeof(*mem->mem), GFP_KERNEL))) in nvkm_mem_new_host() 196 if (!(mem->dma = kvmalloc_array(size, sizeof(*mem->dma), GFP_KERNEL))) in nvkm_mem_new_host()
|
/linux-6.6.21/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 471 bos = kvmalloc_array(args->nr_bos, sizeof(*bos), GFP_KERNEL); in etnaviv_ioctl_gem_submit() 472 relocs = kvmalloc_array(args->nr_relocs, sizeof(*relocs), GFP_KERNEL); in etnaviv_ioctl_gem_submit() 473 pmrs = kvmalloc_array(args->nr_pmrs, sizeof(*pmrs), GFP_KERNEL); in etnaviv_ioctl_gem_submit() 474 stream = kvmalloc_array(1, args->stream_size, GFP_KERNEL); in etnaviv_ioctl_gem_submit()
|
D | etnaviv_gem_prime.c | 129 etnaviv_obj->pages = kvmalloc_array(npages, sizeof(struct page *), GFP_KERNEL); in etnaviv_gem_prime_import_sg_table()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv50/ |
D | lut.c | 41 in = kvmalloc_array(1024, sizeof(*in), GFP_KERNEL); in nv50_lut_load()
|
/linux-6.6.21/drivers/xen/ |
D | gntdev.c | 139 add->grants = kvmalloc_array(count, sizeof(add->grants[0]), in gntdev_alloc_map() 141 add->map_ops = kvmalloc_array(count, sizeof(add->map_ops[0]), in gntdev_alloc_map() 143 add->unmap_ops = kvmalloc_array(count, sizeof(add->unmap_ops[0]), in gntdev_alloc_map() 155 add->kmap_ops = kvmalloc_array(count, sizeof(add->kmap_ops[0]), in gntdev_alloc_map() 157 add->kunmap_ops = kvmalloc_array(count, sizeof(add->kunmap_ops[0]), in gntdev_alloc_map()
|
/linux-6.6.21/tools/virtio/ringtest/ |
D | ptr_ring.c | 61 #define kvmalloc_array kmalloc_array macro
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_hmm.c | 172 pfns = kvmalloc_array(npages, sizeof(*pfns), GFP_KERNEL); in amdgpu_hmm_range_get_pages()
|
D | amdgpu_bo_list.c | 203 info = kvmalloc_array(in->bo_number, info_size, GFP_KERNEL); in amdgpu_bo_create_list_entry_array()
|
/linux-6.6.21/include/linux/ |
D | slab.h | 748 static inline __alloc_size(1, 2) void *kvmalloc_array(size_t n, size_t size, gfp_t flags) in kvmalloc_array() function 760 return kvmalloc_array(n, size, flags | __GFP_ZERO); in kvcalloc()
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | shmem_utils.c | 64 pages = kvmalloc_array(n_pages, sizeof(*pages), GFP_KERNEL); in shmem_pin_map()
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_gem.c | 559 pages = kvmalloc_array(npages, sizeof(struct page *), GFP_KERNEL); in drm_gem_get_pages() 708 objs = kvmalloc_array(count, sizeof(struct drm_gem_object *), in drm_gem_objects_lookup() 715 handles = kvmalloc_array(count, sizeof(u32), GFP_KERNEL); in drm_gem_objects_lookup()
|
/linux-6.6.21/drivers/net/ethernet/wangxun/txgbe/ |
D | txgbe_hw.c | 197 eeprom_ptrs = kvmalloc_array(TXGBE_EEPROM_LAST_WORD, sizeof(u16), in txgbe_calc_eeprom_checksum()
|
/linux-6.6.21/drivers/staging/media/ipu3/ |
D | ipu3-dmamap.c | 42 pages = kvmalloc_array(count, sizeof(*pages), GFP_KERNEL); in imgu_dmamap_alloc_buffer()
|
/linux-6.6.21/drivers/gpu/drm/virtio/ |
D | virtgpu_object.c | 154 *ents = kvmalloc_array(*nents, in virtio_gpu_object_shmem_init()
|
/linux-6.6.21/drivers/gpu/drm/xen/ |
D | xen_drm_front_gem.c | 48 xen_obj->pages = kvmalloc_array(xen_obj->num_pages, in gem_alloc_pages_array()
|
/linux-6.6.21/drivers/dma-buf/ |
D | st-dma-fence-chain.c | 119 fc->chains = kvmalloc_array(count, sizeof(*fc->chains), in fence_chains_init() 124 fc->fences = kvmalloc_array(count, sizeof(*fc->fences), in fence_chains_init()
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/ |
D | i915_gem_pages.c | 312 pages = kvmalloc_array(n_pages, sizeof(*pages), GFP_KERNEL); in i915_gem_object_map_page() 342 pfns = kvmalloc_array(n_pfn, sizeof(*pfns), GFP_KERNEL); in i915_gem_object_map_pfn()
|
/linux-6.6.21/drivers/gpu/drm/panfrost/ |
D | panfrost_drv.c | 157 job->mappings = kvmalloc_array(job->bo_count, in panfrost_lookup_bos() 208 handles = kvmalloc_array(in_fence_count, sizeof(u32), GFP_KERNEL); in panfrost_copy_in_sync()
|
/linux-6.6.21/kernel/module/ |
D | decompress.c | 21 new_pages = kvmalloc_array(info->max_pages + extent, in module_extend_max_pages()
|
/linux-6.6.21/block/ |
D | blk-crypto-profile.c | 124 kvmalloc_array(slot_hashtable_size, in blk_crypto_profile_init()
|