kmalloc_array 287 arch/arm/kernel/sys_oabi-compat.c kbuf = kmalloc_array(maxevents, sizeof(*kbuf), GFP_KERNEL); kmalloc_array 328 arch/arm/kernel/sys_oabi-compat.c sops = kmalloc_array(nsops, sizeof(*sops), GFP_KERNEL); kmalloc_array 107 arch/arm/mach-pxa/pm.c sleep_save = kmalloc_array(pxa_cpu_pm_fns->save_count, kmalloc_array 20 arch/arm/mm/pgd.c #define __pgd_alloc() kmalloc_array(PTRS_PER_PGD, sizeof(pgd_t), GFP_KERNEL) kmalloc_array 766 arch/arm/probes/kprobes/test-core.c coverage.base = kmalloc_array(MAX_COVERAGE_ENTRIES, kmalloc_array 353 arch/ia64/kernel/mca_drv.c kmalloc_array(slidx_pool.max_idx, sizeof(slidx_list_t), kmalloc_array 463 arch/ia64/mm/tlb.c ia64_idtrs[cpu] = kmalloc_array(2 * IA64_TR_ALLOC_MAX, kmalloc_array 414 arch/mips/alchemy/common/dbdma.c desc_base = (u32)kmalloc_array(entries, sizeof(au1x_ddma_desc_t), kmalloc_array 525 arch/parisc/kernel/inventory.c dev->addr = kmalloc_array(num_addrs, sizeof(*dev->addr), GFP_KERNEL); kmalloc_array 779 arch/powerpc/kvm/e500_mmu.c pages = kmalloc_array(num_pages, sizeof(*pages), GFP_KERNEL); kmalloc_array 919 arch/powerpc/kvm/e500_mmu.c vcpu_e500->gtlb_arch = kmalloc_array(KVM_E500_TLB0_SIZE + kmalloc_array 57 arch/powerpc/lib/rheap.c block = kmalloc_array(max_blocks, sizeof(rh_block_t), GFP_ATOMIC); kmalloc_array 833 arch/powerpc/perf/hv-24x7.c events = kmalloc_array(attr_max + 1, sizeof(*events), GFP_KERNEL); kmalloc_array 839 arch/powerpc/perf/hv-24x7.c event_descs = kmalloc_array(event_idx + 1, sizeof(*event_descs), kmalloc_array 846 arch/powerpc/perf/hv-24x7.c event_long_descs = kmalloc_array(event_idx + 1, kmalloc_array 155 arch/powerpc/platforms/4xx/hsta_msi.c ppc4xx_hsta_msi.irq_map = kmalloc_array(irq_count, sizeof(int), kmalloc_array 78 arch/powerpc/platforms/4xx/msi.c msi_data->msi_virqs = kmalloc_array(msi_irqs, sizeof(int), GFP_KERNEL); kmalloc_array 1360 arch/powerpc/platforms/powernv/pci-ioda.c pdn->m64_map = kmalloc_array(m64_bars, kmalloc_array 1646 arch/powerpc/platforms/powernv/pci-ioda.c pdn->pe_num_map = kmalloc_array(num_vfs, kmalloc_array 173 arch/powerpc/platforms/pseries/pci.c pdn->pe_num_map = kmalloc_array(num_vfs, kmalloc_array 1642 arch/powerpc/sysdev/mpic.c mpic->save_data = kmalloc_array(mpic->num_sources, kmalloc_array 38 arch/s390/hypfs/hypfs_diag0c.c cpu_vec = kmalloc_array(num_possible_cpus(), sizeof(*cpu_vec), kmalloc_array 197 arch/s390/kernel/debug.c areas = kmalloc_array(nr_areas, sizeof(debug_entry_t **), GFP_KERNEL); kmalloc_array 201 arch/s390/kernel/debug.c areas[i] = kmalloc_array(pages_per_area, kmalloc_array 559 arch/s390/kernel/perf_cpum_cf_events.c new = kmalloc_array(j, sizeof(struct attribute *), GFP_KERNEL); kmalloc_array 1722 arch/s390/kernel/perf_cpum_sf.c aux->sdbt_index = kmalloc_array(n_sdbt, sizeof(void *), GFP_KERNEL); kmalloc_array 1727 arch/s390/kernel/perf_cpum_sf.c aux->sdb_index = kmalloc_array(nr_pages, sizeof(void *), GFP_KERNEL); kmalloc_array 235 arch/s390/kvm/guestdbg.c wp_info = kmalloc_array(nr_wp, kmalloc_array 244 arch/s390/kvm/guestdbg.c bp_info = kmalloc_array(nr_bp, kmalloc_array 170 arch/sparc/kernel/nmi.c prev_nmi_count = kmalloc_array(nr_cpu_ids, sizeof(unsigned int), kmalloc_array 643 arch/sparc/kernel/sys_sparc_64.c kmalloc_array(UT_TRAP_INSTRUCTION_31 + 1, kmalloc_array 338 arch/sparc/net/bpf_jit_comp_32.c addrs = kmalloc_array(flen, sizeof(*addrs), GFP_KERNEL); kmalloc_array 1515 arch/sparc/net/bpf_jit_comp_64.c ctx.offset = kmalloc_array(prog->len, sizeof(unsigned int), GFP_KERNEL); kmalloc_array 1149 arch/um/drivers/ubd_kern.c irq_req_buffer = kmalloc_array(UBD_REQ_BUFFER_SIZE, kmalloc_array 1159 arch/um/drivers/ubd_kern.c io_req_buffer = kmalloc_array(UBD_REQ_BUFFER_SIZE, kmalloc_array 539 arch/um/drivers/vector_kern.c iov = kmalloc_array(3 + num_extra_frags, kmalloc_array 544 arch/um/drivers/vector_kern.c iov = kmalloc_array(2 + num_extra_frags, kmalloc_array 109 arch/unicore32/kernel/pm.c sleep_save = kmalloc_array(puv3_cpu_pm_fns->save_count, kmalloc_array 276 arch/x86/hyperv/hv_init.c hv_vp_index = kmalloc_array(num_possible_cpus(), sizeof(*hv_vp_index), kmalloc_array 439 arch/x86/kernel/amd_nb.c flush_words = kmalloc_array(amd_northbridges.num, sizeof(u32), GFP_KERNEL); kmalloc_array 488 arch/x86/kernel/cpu/resctrl/core.c dc = kmalloc_array(r->num_closid, sizeof(*d->ctrl_val), GFP_KERNEL); kmalloc_array 492 arch/x86/kernel/cpu/resctrl/core.c dm = kmalloc_array(r->num_closid, sizeof(*d->mbps_val), GFP_KERNEL); kmalloc_array 285 arch/x86/kernel/ksysfs.c kobjp = kmalloc_array(nr, sizeof(*kobjp), GFP_KERNEL); kmalloc_array 1011 arch/x86/kvm/svm.c sd->sev_vmcbs = kmalloc_array(max_sev_asid + 1, kmalloc_array 1121 arch/x86/net/bpf_jit_comp.c addrs = kmalloc_array(prog->len + 1, sizeof(*addrs), GFP_KERNEL); kmalloc_array 2326 arch/x86/net/bpf_jit_comp32.c addrs = kmalloc_array(prog->len, sizeof(*addrs), GFP_KERNEL); kmalloc_array 93 arch/x86/platform/efi/efi_64.c save_pgd = kmalloc_array(n_pgds, sizeof(*save_pgd), GFP_KERNEL); kmalloc_array 406 arch/x86/power/cpu.c msr_array = kmalloc_array(total_num, sizeof(struct saved_msr), GFP_KERNEL); kmalloc_array 96 arch/x86/xen/grant-table.c area->ptes = kmalloc_array(nr_frames, sizeof(*area->ptes), GFP_KERNEL); kmalloc_array 318 arch/xtensa/platforms/iss/simdisk.c sddev = kmalloc_array(simdisk_count, sizeof(*sddev), GFP_KERNEL); kmalloc_array 112 block/blk-stat.c cb->stat = kmalloc_array(buckets, sizeof(struct blk_rq_stat), kmalloc_array 367 block/partitions/ldm.c tb[1] = kmalloc_array(3, sizeof(*tb[1]), GFP_KERNEL); kmalloc_array 851 drivers/acpi/acpi_video.c br->levels = kmalloc_array(obj->package.count + ACPI_VIDEO_FIRST_LEVEL, kmalloc_array 197 drivers/acpi/apei/hest.c ghes_arr.ghes_devs = kmalloc_array(ghes_count, sizeof(void *), kmalloc_array 319 drivers/acpi/processor_perflib.c kmalloc_array(pss->package.count, kmalloc_array 524 drivers/acpi/processor_throttling.c kmalloc_array(tss->package.count, kmalloc_array 1850 drivers/atm/eni.c eni_dev->free_list = kmalloc_array(eni_dev->free_list_size + 1, kmalloc_array 783 drivers/atm/he.c he_dev->rbpl_table = kmalloc_array(BITS_TO_LONGS(RBPL_TABLE_SIZE), kmalloc_array 793 drivers/atm/he.c he_dev->rbpl_virt = kmalloc_array(RBPL_TABLE_SIZE, kmalloc_array 1979 drivers/atm/iphase.c iadev->tx_buf = kmalloc_array(iadev->num_tx_desc, kmalloc_array 2001 drivers/atm/iphase.c iadev->desc_tbl = kmalloc_array(iadev->num_tx_desc, kmalloc_array 2131 drivers/atm/iphase.c iadev->testTable = kmalloc_array(iadev->num_vc, kmalloc_array 874 drivers/atm/nicstar.c scq->skb = kmalloc_array(size / NS_SCQE_SIZE, kmalloc_array 1282 drivers/atm/solos-pci.c card->dma_bounce = kmalloc_array(card->nr_ports, kmalloc_array 1004 drivers/atm/zatm.c zatm_dev->tx_map = kmalloc_array(zatm_dev->chans, kmalloc_array 322 drivers/base/component.c new = kmalloc_array(num, sizeof(*new), GFP_KERNEL); kmalloc_array 44 drivers/base/map.c p = kmalloc_array(n, sizeof(struct probe), GFP_KERNEL); kmalloc_array 349 drivers/base/regmap/regcache-rbtree.c rbnode->block = kmalloc_array(rbnode->blklen, map->cache_word_size, kmalloc_array 50 drivers/base/regmap/regcache.c map->reg_defaults = kmalloc_array(count, sizeof(struct reg_default), kmalloc_array 660 drivers/base/regmap/regmap-irq.c d->status_reg_buf = kmalloc_array(chip->num_regs, kmalloc_array 4289 drivers/block/drbd/drbd_receiver.c p_uuid = kmalloc_array(UI_EXTENDED_SIZE, sizeof(*p_uuid), GFP_NOIO); kmalloc_array 532 drivers/block/loop.c bvec = kmalloc_array(nr_bvec, sizeof(struct bio_vec), kmalloc_array 1148 drivers/block/rbd.c snap_sizes = kmalloc_array(snap_count, kmalloc_array 2713 drivers/block/rbd.c obj_req->bvec_pos.bvecs = kmalloc_array(obj_req->bvec_count, kmalloc_array 204 drivers/block/virtio_blk.c range = kmalloc_array(segments, sizeof(*range), GFP_ATOMIC); kmalloc_array 591 drivers/block/virtio_blk.c vblk->vqs = kmalloc_array(num_vqs, sizeof(*vblk->vqs), GFP_KERNEL); kmalloc_array 595 drivers/block/virtio_blk.c names = kmalloc_array(num_vqs, sizeof(*names), GFP_KERNEL); kmalloc_array 596 drivers/block/virtio_blk.c callbacks = kmalloc_array(num_vqs, sizeof(*callbacks), GFP_KERNEL); kmalloc_array 597 drivers/block/virtio_blk.c vqs = kmalloc_array(num_vqs, sizeof(*vqs), GFP_KERNEL); kmalloc_array 200 drivers/block/z2ram.c kmalloc_array(size / Z2RAM_CHUNKSIZE, kmalloc_array 472 drivers/bus/fsl-mc/fsl-mc-bus.c regions = kmalloc_array(obj_desc->region_count, kmalloc_array 2143 drivers/cdrom/cdrom.c cgc.buffer = kmalloc_array(nr, CD_FRAMESIZE_RAW, GFP_KERNEL); kmalloc_array 101 drivers/char/agp/compat_ioctl.c usegment = kmalloc_array(ureserve.seg_count, kmalloc_array 107 drivers/char/agp/compat_ioctl.c ksegment = kmalloc_array(kreserve.seg_count, kmalloc_array 96 drivers/char/agp/isoch.c master = kmalloc_array(ndevs, sizeof(*master), GFP_KERNEL); kmalloc_array 406 drivers/char/agp/uninorth-agp.c uninorth_priv.pages_arr = kmalloc_array(1 << page_order, kmalloc_array 1856 drivers/char/virtio_console.c vqs = kmalloc_array(nr_queues, sizeof(struct virtqueue *), GFP_KERNEL); kmalloc_array 1857 drivers/char/virtio_console.c io_callbacks = kmalloc_array(nr_queues, sizeof(vq_callback_t *), kmalloc_array 1859 drivers/char/virtio_console.c io_names = kmalloc_array(nr_queues, sizeof(char *), GFP_KERNEL); kmalloc_array 1860 drivers/char/virtio_console.c portdev->in_vqs = kmalloc_array(nr_ports, sizeof(struct virtqueue *), kmalloc_array 1862 drivers/char/virtio_console.c portdev->out_vqs = kmalloc_array(nr_ports, sizeof(struct virtqueue *), kmalloc_array 580 drivers/clk/bcm/clk-kona-setup.c parent_names = kmalloc_array(parent_count, sizeof(*parent_names), kmalloc_array 586 drivers/clk/bcm/clk-kona-setup.c parent_sel = kmalloc_array(parent_count, sizeof(*parent_sel), kmalloc_array 57 drivers/clk/clk-bulk.c clk_bulk = kmalloc_array(num_clks, sizeof(*clk_bulk), GFP_KERNEL); kmalloc_array 1717 drivers/clk/clk-stm32f4.c clks = kmalloc_array(data->gates_num + stm32fx_end_primary_clk, kmalloc_array 786 drivers/clk/davinci/pll.c clks = kmalloc_array(n_clks, sizeof(*clks), GFP_KERNEL); kmalloc_array 375 drivers/clk/davinci/psc.c clks = kmalloc_array(num_clks, sizeof(*clks), GFP_KERNEL); kmalloc_array 308 drivers/clk/renesas/clk-div6.c parent_names = kmalloc_array(num_parents, sizeof(*parent_names), kmalloc_array 3478 drivers/clk/tegra/clk-tegra210.c clk_data = kmalloc_array(num_clks, sizeof(*clk_data), kmalloc_array 74 drivers/cpufreq/bmips-cpufreq.c table = kmalloc_array(priv->max_freqs + 1, sizeof(*table), GFP_KERNEL); kmalloc_array 240 drivers/crypto/chelsio/chtls/chtls_io.c ivs = kmalloc_array(CIPHER_BLOCK_SIZE, number_of_ivs, GFP_ATOMIC); kmalloc_array 24 drivers/crypto/omap-crypto.c new_sg = kmalloc_array(n, sizeof(*sg), GFP_KERNEL); kmalloc_array 650 drivers/crypto/omap-sham.c ctx->sg = kmalloc_array(n, sizeof(*sg), GFP_KERNEL); kmalloc_array 1153 drivers/crypto/qat/qat_common/qat_hal.c micro_inst_arry = kmalloc_array(alloc_inst_size, sizeof(uint64_t), kmalloc_array 1080 drivers/crypto/s5p-sss.c ctx->sg = kmalloc_array(n, sizeof(*sg), GFP_KERNEL); kmalloc_array 967 drivers/crypto/stm32/stm32-hash.c rctx->hw_context = kmalloc_array(3 + HASH_CSR_REGISTER_NUMBER, kmalloc_array 148 drivers/dma-buf/udmabuf.c ubuf->pages = kmalloc_array(ubuf->pagecount, sizeof(*ubuf->pages), kmalloc_array 90 drivers/dma/bestcomm/bestcomm.c tsk->cookie = kmalloc_array(bd_count, sizeof(void *), kmalloc_array 345 drivers/dma/pxa_dma.c kmalloc_array(pdev->nr_chans, sizeof(struct dentry *), kmalloc_array 3265 drivers/dma/ste_dma40.c base->reg_val_backup_chan = kmalloc_array(base->num_phy_chans, kmalloc_array 3278 drivers/dma/ste_dma40.c base->regs_interrupt = kmalloc_array(base->gen_dmac.il_size, kmalloc_array 3385 drivers/dma/ste_dma40.c page_list = kmalloc_array(MAX_LCLA_ALLOC_ATTEMPTS, kmalloc_array 35 drivers/firewire/core-iso.c buffer->pages = kmalloc_array(page_count, sizeof(buffer->pages[0]), kmalloc_array 1129 drivers/firewire/net.c ptrptr = kmalloc_array(num_packets, sizeof(void *), GFP_KERNEL); kmalloc_array 379 drivers/firmware/psci/psci_checker.c threads = kmalloc_array(nb_available_cpus, sizeof(*threads), kmalloc_array 272 drivers/fpga/fpga-mgr.c pages = kmalloc_array(nr_pages, sizeof(struct page *), GFP_KERNEL); kmalloc_array 3343 drivers/gpio/gpiolib.c mask = kmalloc_array(2 * BITS_TO_LONGS(chip->ngpio), kmalloc_array 3626 drivers/gpio/gpiolib.c mask = kmalloc_array(2 * BITS_TO_LONGS(chip->ngpio), kmalloc_array 213 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); kmalloc_array 388 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); kmalloc_array 485 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); kmalloc_array 373 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); kmalloc_array 469 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); kmalloc_array 368 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); kmalloc_array 470 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); kmalloc_array 119 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c chunk_array = kmalloc_array(cs->in.num_chunks, sizeof(uint64_t), GFP_KERNEL); kmalloc_array 146 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->chunks = kmalloc_array(p->nchunks, sizeof(struct amdgpu_cs_chunk), kmalloc_array 1145 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps), kmalloc_array 1181 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps), kmalloc_array 1677 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c fences = kmalloc_array(fence_count, sizeof(struct drm_amdgpu_fence), kmalloc_array 480 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c config = kmalloc_array(256, sizeof(*config), GFP_KERNEL); kmalloc_array 211 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c fences = kmalloc_array(sizeof(void *), id_mgr->num_ids, GFP_KERNEL); kmalloc_array 647 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c regs = kmalloc_array(info->read_mmr_reg.count, sizeof(*regs), GFP_KERNEL); kmalloc_array 1397 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr), kmalloc_array 1506 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr), kmalloc_array 532 drivers/gpu/drm/amd/amdkfd/kfd_events.c event_waiters = kmalloc_array(num_events, kmalloc_array 436 drivers/gpu/drm/drm_blend.c states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL); kmalloc_array 958 drivers/gpu/drm/drm_bufs.c temp_pagelist = kmalloc_array(dma->page_count + (count << page_order), kmalloc_array 669 drivers/gpu/drm/drm_crtc.c connector_set = kmalloc_array(crtc_req->count_connectors, kmalloc_array 1708 drivers/gpu/drm/drm_edid.c new = kmalloc_array(valid_extensions + 1, EDID_LENGTH, kmalloc_array 202 drivers/gpu/drm/drm_plane.c plane->format_types = kmalloc_array(format_count, sizeof(uint32_t), kmalloc_array 227 drivers/gpu/drm/drm_plane.c plane->modifiers = kmalloc_array(format_modifier_count, kmalloc_array 881 drivers/gpu/drm/drm_syncobj.c points = kmalloc_array(count, sizeof(*points), GFP_KERNEL); kmalloc_array 1087 drivers/gpu/drm/drm_syncobj.c handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); kmalloc_array 1097 drivers/gpu/drm/drm_syncobj.c syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL); kmalloc_array 1295 drivers/gpu/drm/drm_syncobj.c points = kmalloc_array(args->count_handles, sizeof(*points), kmalloc_array 1309 drivers/gpu/drm/drm_syncobj.c chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL); kmalloc_array 229 drivers/gpu/drm/gma500/mid_bios.c gct = kmalloc_array(vbt.panel_count, sizeof(*gct), GFP_KERNEL); kmalloc_array 1409 drivers/gpu/drm/i915/gem/i915_gem_context.c siblings = kmalloc_array(num_siblings, kmalloc_array 294 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c offsets = kmalloc_array(ncachelines, 2*sizeof(u32), GFP_KERNEL); kmalloc_array 94 drivers/gpu/drm/i915/gt/intel_workarounds.c list = kmalloc_array(ALIGN(wal->count + 1, grow), sizeof(*wa), kmalloc_array 1604 drivers/gpu/drm/i915/gt/selftest_lrc.c smoke.contexts = kmalloc_array(smoke.ncontext, kmalloc_array 114 drivers/gpu/drm/i915/i915_buddy.c mm->free_list = kmalloc_array(mm->max_order + 1, kmalloc_array 125 drivers/gpu/drm/i915/i915_buddy.c mm->roots = kmalloc_array(mm->n_roots, kmalloc_array 1321 drivers/gpu/drm/i915/i915_gpu_error.c bo = kmalloc_array(max, sizeof(*bo), ATOMIC_MAYFAIL); kmalloc_array 1325 drivers/gpu/drm/i915/i915_gpu_error.c bo = kmalloc_array(max, sizeof(*bo), ATOMIC_MAYFAIL); kmalloc_array 3237 drivers/gpu/drm/i915/i915_perf.c oa_regs = kmalloc_array(n_regs, sizeof(*oa_regs), GFP_KERNEL); kmalloc_array 79 drivers/gpu/drm/i915/selftests/i915_random.c order = kmalloc_array(count, sizeof(*order), kmalloc_array 303 drivers/gpu/drm/i915/selftests/i915_request.c requests = kmalloc_array(total, sizeof(*requests), GFP_KERNEL); kmalloc_array 449 drivers/gpu/drm/i915/selftests/i915_request.c threads = kmalloc_array(ncpus, sizeof(*threads), GFP_KERNEL); kmalloc_array 454 drivers/gpu/drm/i915/selftests/i915_request.c kmalloc_array(t.ncontexts, sizeof(*t.contexts), GFP_KERNEL); kmalloc_array 1144 drivers/gpu/drm/i915/selftests/i915_request.c t[0].contexts = kmalloc_array(t[0].ncontexts, kmalloc_array 457 drivers/gpu/drm/i915/selftests/i915_sw_fence.c fences = kmalloc_array(nfences, sizeof(*fences), GFP_KERNEL); kmalloc_array 32 drivers/gpu/drm/lib/drm_random.c order = kmalloc_array(count, sizeof(*order), GFP_KERNEL); kmalloc_array 645 drivers/gpu/drm/nouveau/nouveau_dmem.c dma_addrs = kmalloc_array(max, sizeof(*dma_addrs), GFP_KERNEL); kmalloc_array 68 drivers/gpu/drm/nouveau/nvif/mmu.c mmu->heap = kmalloc_array(mmu->heap_nr, sizeof(*mmu->heap), kmalloc_array 70 drivers/gpu/drm/nouveau/nvif/mmu.c mmu->type = kmalloc_array(mmu->type_nr, sizeof(*mmu->type), kmalloc_array 75 drivers/gpu/drm/nouveau/nvif/mmu.c mmu->kind = kmalloc_array(mmu->kind_nr, sizeof(*mmu->kind), kmalloc_array 142 drivers/gpu/drm/nouveau/nvif/vmm.c vmm->page = kmalloc_array(vmm->page_nr, sizeof(*vmm->page), kmalloc_array 76 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c iccsense->rail = kmalloc_array(cnt, sizeof(struct pwr_rail_t), kmalloc_array 174 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c result = kmalloc_array(64, sizeof(u32), GFP_KERNEL); kmalloc_array 1100 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c map = kmalloc_array(h_adj, sizeof(*map), GFP_KERNEL); kmalloc_array 1101 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c global_map = kmalloc_array(w_adj + 1, h_adj, GFP_KERNEL); kmalloc_array 249 drivers/gpu/drm/omapdrm/omap_gem.c addrs = kmalloc_array(npages, sizeof(*addrs), GFP_KERNEL); kmalloc_array 173 drivers/gpu/drm/qxl/qxl_ioctl.c reloc_info = kmalloc_array(cmd->relocs_num, kmalloc_array 817 drivers/gpu/drm/rcar-du/rcar_du_crtc.c sources = kmalloc_array(count, sizeof(*sources), GFP_KERNEL); kmalloc_array 310 drivers/gpu/drm/savage/savage_bci.c dev_priv->dma_pages = kmalloc_array(dev_priv->nr_dma_pages, kmalloc_array 1002 drivers/gpu/drm/savage/savage_state.c kcmd_addr = kmalloc_array(cmdbuf->size, 8, GFP_KERNEL); kmalloc_array 1024 drivers/gpu/drm/savage/savage_state.c kbox_addr = kmalloc_array(cmdbuf->nbox, sizeof(struct drm_clip_rect), kmalloc_array 371 drivers/gpu/drm/tegra/drm.c refs = kmalloc_array(num_refs, sizeof(*refs), GFP_KERNEL); kmalloc_array 557 drivers/gpu/drm/tiny/repaper.c buf = kmalloc_array(fb->width, fb->height, GFP_KERNEL); kmalloc_array 299 drivers/gpu/drm/ttm/ttm_page_alloc.c pages_to_free = kmalloc_array(npages_to_free, kmalloc_array 499 drivers/gpu/drm/ttm/ttm_page_alloc.c caching_array = kmalloc_array(max_cpages, sizeof(struct page *), kmalloc_array 421 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c pages_to_free = kmalloc_array(npages_to_free, kmalloc_array 712 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c caching_array = kmalloc_array(max_cpages, sizeof(struct page *), kmalloc_array 202 drivers/gpu/drm/vc4/vc4_bo.c new_list = kmalloc_array(new_size, sizeof(struct list_head), kmalloc_array 212 drivers/gpu/drm/vc4/vc4_plane.c u32 *new_dlist = kmalloc_array(new_size, 4, GFP_KERNEL); kmalloc_array 991 drivers/gpu/drm/virtio/virtgpu_vq.c ents = kmalloc_array(nents, sizeof(struct virtio_gpu_mem_entry), kmalloc_array 788 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c srf->offsets = kmalloc_array(srf->num_sizes, kmalloc_array 1534 drivers/hid/hid-core.c value = kmalloc_array(count, sizeof(__s32), GFP_ATOMIC); kmalloc_array 387 drivers/hid/hid-picolcd_fb.c tmp_fb = kmalloc_array(PICOLCDFB_SIZE, info->var.bits_per_pixel, kmalloc_array 241 drivers/i2c/i2c-dev.c data_ptrs = kmalloc_array(nmsgs, sizeof(u8 __user *), GFP_KERNEL); kmalloc_array 536 drivers/i2c/i2c-dev.c rdwr_pa = kmalloc_array(rdwr_arg.nmsgs, sizeof(struct i2c_msg), kmalloc_array 1008 drivers/ide/ide-probe.c hwif->sg_table = kmalloc_array(hwif->sg_max_nents, kmalloc_array 756 drivers/iio/adc/at91_adc.c resolutions = kmalloc_array(count, sizeof(*resolutions), GFP_KERNEL); kmalloc_array 2033 drivers/infiniband/core/cma.c rt->path_rec = kmalloc_array(rt->num_paths, sizeof(*rt->path_rec), kmalloc_array 204 drivers/infiniband/core/cq.c cq->wc = kmalloc_array(IB_POLL_BATCH, sizeof(*cq->wc), GFP_KERNEL); kmalloc_array 231 drivers/infiniband/core/fmr_pool.c kmalloc_array(IB_FMR_HASH_SIZE, kmalloc_array 451 drivers/infiniband/core/uverbs_uapi.c data = kmalloc_array(uapi->num_write + uapi->num_write_ex, kmalloc_array 387 drivers/infiniband/hw/cxgb3/iwch_provider.c page_list = kmalloc_array(npages, sizeof(u64), GFP_KERNEL); kmalloc_array 95 drivers/infiniband/hw/cxgb4/id_table.c alloc->table = kmalloc_array(BITS_TO_LONGS(num), sizeof(long), kmalloc_array 450 drivers/infiniband/hw/hfi1/pio.c dd->hw_to_sw = kmalloc_array(TXE_NUM_CONTEXTS, sizeof(u8), kmalloc_array 3079 drivers/infiniband/hw/hfi1/sdma.c tx->descp = kmalloc_array( kmalloc_array 234 drivers/infiniband/hw/hns/hns_roce_cmd.c hr_cmd->context = kmalloc_array(hr_cmd->max_cmds, kmalloc_array 897 drivers/infiniband/hw/hns/hns_roce_mr.c page_list = kmalloc_array(buf->npages, sizeof(*page_list), GFP_KERNEL); kmalloc_array 312 drivers/infiniband/hw/mlx4/main.c gids = kmalloc_array(MLX4_MAX_PORT_GIDS, sizeof(*gids), kmalloc_array 371 drivers/infiniband/hw/mlx4/main.c gids = kmalloc_array(MLX4_MAX_PORT_GIDS, sizeof(*gids), kmalloc_array 2832 drivers/infiniband/hw/mlx4/main.c kmalloc_array(BITS_TO_LONGS(ibdev->steer_qpn_count), kmalloc_array 462 drivers/infiniband/hw/mlx4/qp.c kmalloc_array(qp->rq.wqe_cnt, sizeof(struct mlx4_ib_buf), kmalloc_array 93 drivers/infiniband/hw/mthca/mthca_allocator.c alloc->table = kmalloc_array(BITS_TO_LONGS(num), sizeof(long), kmalloc_array 165 drivers/infiniband/hw/mthca/mthca_allocator.c array->page_list = kmalloc_array(npage, sizeof(*array->page_list), kmalloc_array 222 drivers/infiniband/hw/mthca/mthca_allocator.c dma_list = kmalloc_array(npages, sizeof(*dma_list), kmalloc_array 234 drivers/infiniband/hw/mthca/mthca_allocator.c dma_list = kmalloc_array(npages, sizeof(*dma_list), kmalloc_array 239 drivers/infiniband/hw/mthca/mthca_allocator.c buf->page_list = kmalloc_array(npages, kmalloc_array 562 drivers/infiniband/hw/mthca/mthca_cmd.c dev->cmd.context = kmalloc_array(dev->cmd.max_cmds, kmalloc_array 482 drivers/infiniband/hw/mthca/mthca_eq.c eq->page_list = kmalloc_array(npages, sizeof(*eq->page_list), kmalloc_array 490 drivers/infiniband/hw/mthca/mthca_eq.c dma_list = kmalloc_array(npages, sizeof(*dma_list), GFP_KERNEL); kmalloc_array 717 drivers/infiniband/hw/mthca/mthca_memfree.c dev->db_tab->page = kmalloc_array(dev->db_tab->npages, kmalloc_array 156 drivers/infiniband/hw/mthca/mthca_mr.c buddy->bits[i] = kmalloc_array(s, sizeof(long), GFP_KERNEL); kmalloc_array 1063 drivers/infiniband/hw/mthca/mthca_qp.c qp->wrid = kmalloc_array(qp->rq.max + qp->sq.max, sizeof(u64), kmalloc_array 165 drivers/infiniband/hw/mthca/mthca_srq.c srq->wrid = kmalloc_array(srq->max, sizeof(u64), GFP_KERNEL); kmalloc_array 1811 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c kmalloc_array(srq->bit_fields_len, sizeof(u32), kmalloc_array 2495 drivers/infiniband/hw/qib/qib_iba6120.c dd->cspec->cntrs = kmalloc_array(dd->cspec->ncntrs, sizeof(u64), kmalloc_array 2502 drivers/infiniband/hw/qib/qib_iba6120.c dd->cspec->portcntrs = kmalloc_array(dd->cspec->nportcntrs, kmalloc_array 3147 drivers/infiniband/hw/qib/qib_iba7220.c dd->cspec->cntrs = kmalloc_array(dd->cspec->ncntrs, sizeof(u64), kmalloc_array 3154 drivers/infiniband/hw/qib/qib_iba7220.c dd->cspec->portcntrs = kmalloc_array(dd->cspec->nportcntrs, kmalloc_array 3650 drivers/infiniband/hw/qib/qib_iba7322.c msix_vecsave = kmalloc_array(2 * dd->cspec->num_msix_entries, kmalloc_array 5009 drivers/infiniband/hw/qib/qib_iba7322.c dd->cspec->cntrs = kmalloc_array(dd->cspec->ncntrs, sizeof(u64), kmalloc_array 5018 drivers/infiniband/hw/qib/qib_iba7322.c kmalloc_array(dd->cspec->nportcntrs, sizeof(u64), kmalloc_array 6414 drivers/infiniband/hw/qib/qib_iba7322.c kmalloc_array(sbufcnt, sizeof(*dd->cspec->sendchkenable), kmalloc_array 6417 drivers/infiniband/hw/qib/qib_iba7322.c kmalloc_array(sbufcnt, sizeof(*dd->cspec->sendgrhchk), kmalloc_array 6420 drivers/infiniband/hw/qib/qib_iba7322.c kmalloc_array(sbufcnt, sizeof(*dd->cspec->sendibchk), kmalloc_array 117 drivers/infiniband/sw/rxe/rxe_mr.c mem->map = kmalloc_array(num_map, sizeof(*map), GFP_KERNEL); kmalloc_array 261 drivers/infiniband/ulp/iser/iser_initiator.c iser_conn->rx_descs = kmalloc_array(iser_conn->num_rx_descs, kmalloc_array 1052 drivers/infiniband/ulp/srp/ib_srp.c mr_list = kmalloc_array(target->mr_per_cmd, sizeof(void *), kmalloc_array 1060 drivers/infiniband/ulp/srp/ib_srp.c req->map_page = kmalloc_array(srp_dev->max_pages_per_mr, kmalloc_array 901 drivers/infiniband/ulp/srpt/ib_srpt.c ioctx->rw_ctxs = kmalloc_array(nbufs, sizeof(*ioctx->rw_ctxs), kmalloc_array 67 drivers/input/joystick/joydump.c buf = kmalloc_array(BUF_SIZE, sizeof(struct joydump), GFP_KERNEL); kmalloc_array 97 drivers/input/matrix-keymap.c keys = kmalloc_array(size, sizeof(u32), GFP_KERNEL); kmalloc_array 3906 drivers/irqchip/irq-gic-v3-its.c its_srat_maps = kmalloc_array(count, sizeof(struct its_srat_map), kmalloc_array 796 drivers/lightnvm/pblk-init.c line->chks = kmalloc_array(lm->blk_per_line, kmalloc_array 3497 drivers/md/dm-integrity.c section_req->iv = kmalloc_array(ivsize, 2, kmalloc_array 349 drivers/md/dm-snap.c _origins = kmalloc_array(ORIGIN_HASH_SIZE, sizeof(struct list_head), kmalloc_array 358 drivers/md/dm-snap.c _dm_origins = kmalloc_array(ORIGIN_HASH_SIZE, kmalloc_array 918 drivers/md/dm-stats.c *histogram_boundaries = kmalloc_array(*n_histogram_entries, kmalloc_array 561 drivers/md/dm-table.c argv = kmalloc_array(new_size, sizeof(*argv), gfp); kmalloc_array 1522 drivers/md/dm-writecache.c unlikely(!(wb->wc_list = kmalloc_array(max_pages, sizeof(struct wc_entry *), kmalloc_array 793 drivers/md/md-bitmap.c store->filemap = kmalloc_array(num_pages, sizeof(struct page *), kmalloc_array 142 drivers/md/raid1.c rps = kmalloc_array(pi->raid_disks, sizeof(struct resync_pages), kmalloc_array 140 drivers/md/raid10.c rps = kmalloc_array(nalloc_rp, sizeof(struct resync_pages), gfp_flags); kmalloc_array 650 drivers/media/dvb-frontends/tc90522.c new_msgs = kmalloc_array(num + rd_num, sizeof(*new_msgs), GFP_KERNEL); kmalloc_array 247 drivers/media/pci/bt8xx/bttv-risc.c skips = kmalloc_array(ov->nclips, sizeof(*skips),GFP_KERNEL); kmalloc_array 255 drivers/media/pci/cx88/cx88-dsp.c samples = kmalloc_array(sample_count, sizeof(*samples), GFP_KERNEL); kmalloc_array 1073 drivers/media/pci/ivtv/ivtvfb.c kmalloc_array(16, sizeof(u32), GFP_KERNEL|__GFP_NOWARN); kmalloc_array 641 drivers/media/platform/davinci/vpbe.c vpbe_dev->encoders = kmalloc_array(num_encoders, kmalloc_array 1797 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->sd = kmalloc_array(num_subdevs, kmalloc_array 905 drivers/media/platform/vivid/vivid-core.c dev->query_dv_timings_qmenu = kmalloc_array(dev->query_dv_timings_size, kmalloc_array 912 drivers/media/platform/vivid/vivid-core.c kmalloc_array(dev->query_dv_timings_size, 32, GFP_KERNEL); kmalloc_array 334 drivers/media/platform/vivid/vivid-osd.c dev->fb_info.pseudo_palette = kmalloc_array(16, sizeof(u32), GFP_KERNEL); kmalloc_array 284 drivers/media/rc/lirc_dev.c raw = kmalloc_array(LIRCBUF_SIZE, sizeof(*raw), GFP_KERNEL); kmalloc_array 297 drivers/media/rc/lirc_dev.c txbuf = kmalloc_array(count, sizeof(unsigned int), GFP_KERNEL); kmalloc_array 673 drivers/media/rc/nuvoton-cir.c raw = kmalloc_array(WAKEUP_MAX_SIZE, sizeof(*raw), GFP_KERNEL); kmalloc_array 179 drivers/media/rc/rc-loopback.c raw = kmalloc_array(max, sizeof(*raw), GFP_KERNEL); kmalloc_array 634 drivers/media/rc/winbond-cir.c buf = kmalloc_array(count, sizeof(*b), GFP_KERNEL); kmalloc_array 657 drivers/media/usb/cpia2/cpia2_usb.c kmalloc_array(FRAME_SIZE_PER_DESC, FRAMES_PER_DESC, kmalloc_array 705 drivers/media/usb/cx231xx/cx231xx-audio.c adev->alt_max_pkt_size = kmalloc_array(32, adev->num_alt, GFP_KERNEL); kmalloc_array 1138 drivers/media/usb/go7007/go7007-usb.c usb->intr_urb->transfer_buffer = kmalloc_array(2, sizeof(u16), kmalloc_array 357 drivers/media/usb/gspca/t613.c p = tmpbuf = kmalloc_array(len, 2, GFP_KERNEL); kmalloc_array 302 drivers/media/usb/pvrusb2/pvrusb2-io.c nb = kmalloc_array(scnt, sizeof(*nb), GFP_KERNEL); kmalloc_array 283 drivers/media/usb/stk1160/stk1160-core.c alt_max_pkt_size = kmalloc_array(interface->num_altsetting, kmalloc_array 464 drivers/media/usb/tm6000/tm6000-video.c dev->urb_buffer = kmalloc_array(num_bufs, sizeof(void *), GFP_KERNEL); kmalloc_array 468 drivers/media/usb/tm6000/tm6000-video.c dev->urb_dma = kmalloc_array(num_bufs, sizeof(dma_addr_t *), kmalloc_array 585 drivers/media/usb/tm6000/tm6000-video.c dev->isoc_ctl.urb = kmalloc_array(num_bufs, sizeof(void *), kmalloc_array 590 drivers/media/usb/tm6000/tm6000-video.c dev->isoc_ctl.transfer_buffer = kmalloc_array(num_bufs, kmalloc_array 1489 drivers/media/usb/usbvision/usbvision-video.c usbvision->alt_max_pkt_size = kmalloc_array(32, usbvision->num_alt, kmalloc_array 282 drivers/media/usb/uvc/uvc_driver.c an = kmalloc_array(n_terms, sizeof(*an), GFP_KERNEL); kmalloc_array 551 drivers/media/usb/uvc/uvc_video.c clock->samples = kmalloc_array(clock->size, sizeof(*clock->samples), kmalloc_array 532 drivers/media/v4l2-core/v4l2-fwnode.c kmalloc_array(rval, sizeof(*vep->link_frequencies), kmalloc_array 175 drivers/media/v4l2-core/videobuf-dma-sg.c dma->pages = kmalloc_array(dma->nr_pages, sizeof(struct page *), kmalloc_array 1200 drivers/memstick/core/ms_block.c page = kmalloc_array(2, sizeof(struct ms_boot_page), kmalloc_array 1341 drivers/memstick/core/ms_block.c kmalloc_array(msb->logical_block_count, sizeof(u16), kmalloc_array 397 drivers/message/fusion/mptlan.c priv->mpt_txfidx = kmalloc_array(priv->tx_max_out, sizeof(int), kmalloc_array 412 drivers/message/fusion/mptlan.c priv->mpt_rxfidx = kmalloc_array(priv->max_buckets_out, sizeof(int), kmalloc_array 382 drivers/misc/genwqe/card_base.c kmalloc_array(e, sizeof(struct genwqe_reg), kmalloc_array 487 drivers/misc/habanalabs/command_submission.c cs_chunk_array = kmalloc_array(num_chunks, sizeof(*cs_chunk_array), kmalloc_array 947 drivers/misc/habanalabs/debugfs.c dev_entry->entry_arr = kmalloc_array(count, kmalloc_array 296 drivers/misc/habanalabs/device.c hdev->idle_busy_ts_arr = kmalloc_array(HL_IDLE_BUSY_TS_ARR_SIZE, kmalloc_array 437 drivers/misc/habanalabs/hw_queue.c q->shadow_queue = kmalloc_array(HL_QUEUE_LENGTH, kmalloc_array 192 drivers/misc/mic/host/mic_intr.c mdev->irq_info.msix_entries = kmalloc_array(MIC_MIN_MSIX, kmalloc_array 240 drivers/misc/mic/host/mic_intr.c mdev->irq_info.cb_list = kmalloc_array(MIC_NUM_OFFSETS, kmalloc_array 204 drivers/misc/mic/host/mic_smpt.c ref = kmalloc_array(mdev->smpt->info.num_reg, sizeof(s64), GFP_ATOMIC); kmalloc_array 261 drivers/misc/mic/host/mic_smpt.c ref = kmalloc_array(mdev->smpt->info.num_reg, sizeof(s64), GFP_ATOMIC); kmalloc_array 354 drivers/misc/mic/host/mic_smpt.c smpt_info->entry = kmalloc_array(smpt_info->info.num_reg, kmalloc_array 271 drivers/misc/mic/scif/scif_fd.c nodes = kmalloc_array(entries, sizeof(u16), GFP_KERNEL); kmalloc_array 444 drivers/misc/vmw_vmci/vmci_queue_pair.c kmalloc_array(num_produce_pages, sizeof(*produce_ppns), kmalloc_array 450 drivers/misc/vmw_vmci/vmci_queue_pair.c kmalloc_array(num_consume_pages, sizeof(*consume_ppns), kmalloc_array 1581 drivers/mmc/core/mmc_test.c t->sg = kmalloc_array(t->max_segs, sizeof(*t->sg), GFP_KERNEL); kmalloc_array 166 drivers/mmc/core/queue.c sg = kmalloc_array(sg_len, sizeof(*sg), gfp); kmalloc_array 158 drivers/mmc/host/dw_mmc-rockchip.c ranges = kmalloc_array(priv->num_phases / 2 + 1, kmalloc_array 763 drivers/mtd/chips/cfi_cmdset_0001.c shared = kmalloc_array(cfi->numchips, kmalloc_array 762 drivers/mtd/chips/cfi_cmdset_0002.c mtd->eraseregions = kmalloc_array(mtd->numeraseregions, kmalloc_array 187 drivers/mtd/chips/cfi_cmdset_0020.c mtd->eraseregions = kmalloc_array(mtd->numeraseregions, kmalloc_array 204 drivers/mtd/ftl.c part->EUNInfo = kmalloc_array(part->DataUnits, sizeof(struct eun_info_t), kmalloc_array 211 drivers/mtd/ftl.c kmalloc_array(part->header.NumTransferUnits, kmalloc_array 273 drivers/mtd/ftl.c part->bam_cache = kmalloc_array(part->BlocksPerUnit, sizeof(uint32_t), kmalloc_array 260 drivers/mtd/inftlmount.c inftl->PUtable = kmalloc_array(inftl->nb_blocks, sizeof(u16), kmalloc_array 269 drivers/mtd/inftlmount.c inftl->VUtable = kmalloc_array(inftl->nb_blocks, sizeof(u16), kmalloc_array 68 drivers/mtd/lpddr/lpddr_cmds.c shared = kmalloc_array(lpddr->numchips, sizeof(struct flchip_shared), kmalloc_array 228 drivers/mtd/maps/sa1100-flash.c cdev = kmalloc_array(nr, sizeof(*cdev), GFP_KERNEL); kmalloc_array 630 drivers/mtd/maps/vmu-flash.c card->parts = kmalloc_array(card->partitions, sizeof(struct vmupart), kmalloc_array 637 drivers/mtd/maps/vmu-flash.c card->mtd = kmalloc_array(card->partitions, sizeof(struct mtd_info), kmalloc_array 770 drivers/mtd/mtdconcat.c kmalloc_array(num_erase_region, kmalloc_array 1319 drivers/mtd/mtdswap.c d->oob_buf = kmalloc_array(2, mtd->oobavail, GFP_KERNEL); kmalloc_array 174 drivers/mtd/nand/raw/nand_bch.c nbc->errloc = kmalloc_array(t, sizeof(*nbc->errloc), GFP_KERNEL); kmalloc_array 189 drivers/mtd/nftlmount.c nftl->EUNtable = kmalloc_array(nftl->nb_blocks, sizeof(u16), kmalloc_array 196 drivers/mtd/nftlmount.c nftl->ReplUnitTable = kmalloc_array(nftl->nb_blocks, kmalloc_array 182 drivers/mtd/parsers/sharpslpart.c ftl->log2phy = kmalloc_array(ftl->logmax, sizeof(*ftl->log2phy), kmalloc_array 756 drivers/mtd/sm_ftl.c zone->lba_to_phys_table = kmalloc_array(ftl->max_lba, 2, GFP_KERNEL); kmalloc_array 333 drivers/mtd/ssfdc.c kmalloc_array(ssfdc->map_len, kmalloc_array 190 drivers/mtd/tests/stresstest.c offsets = kmalloc_array(ebcnt, sizeof(int), GFP_KERNEL); kmalloc_array 134 drivers/mtd/ubi/eba.c tbl->entries = kmalloc_array(nentries, sizeof(*tbl->entries), kmalloc_array 1526 drivers/mtd/ubi/eba.c scan_eba = kmalloc_array(num_volumes, sizeof(*scan_eba), GFP_KERNEL); kmalloc_array 1530 drivers/mtd/ubi/eba.c fm_eba = kmalloc_array(num_volumes, sizeof(*fm_eba), GFP_KERNEL); kmalloc_array 1541 drivers/mtd/ubi/eba.c scan_eba[i] = kmalloc_array(vol->reserved_pebs, kmalloc_array 1549 drivers/mtd/ubi/eba.c fm_eba[i] = kmalloc_array(vol->reserved_pebs, kmalloc_array 554 drivers/net/ethernet/amd/lance.c lp->rx_buffs = (unsigned long)kmalloc_array(RX_RING_SIZE, PKT_BUF_SZ, kmalloc_array 559 drivers/net/ethernet/amd/lance.c lp->tx_bounce_buffs = kmalloc_array(TX_RING_SIZE, PKT_BUF_SZ, kmalloc_array 198 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c eeprom_buff = kmalloc_array(last_dword - first_dword + 1, sizeof(u32), kmalloc_array 225 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c eeprom_buff = kmalloc_array(last_dword - first_dword + 1, sizeof(u32), kmalloc_array 1927 drivers/net/ethernet/atheros/atlx/atl2.c eeprom_buff = kmalloc_array(last_dword - first_dword + 1, sizeof(u32), kmalloc_array 2670 drivers/net/ethernet/broadcom/bnx2.c good_mbuf = kmalloc_array(512, sizeof(u16), GFP_KERNEL); kmalloc_array 409 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c cfa_code_map = kmalloc_array(MAX_CFA_CODE, sizeof(*bp->cfa_code_map), kmalloc_array 862 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c incr = kmalloc_array(NMTUS, sizeof(*incr), GFP_KERNEL); kmalloc_array 842 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c rss = kmalloc_array(pi->rss_size, sizeof(u16), GFP_KERNEL); kmalloc_array 5286 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c entries = kmalloc_array(max_ingq + 1, sizeof(*entries), kmalloc_array 1004 drivers/net/ethernet/freescale/enetc/enetc.c rss_table = kmalloc_array(si->num_rss, sizeof(*rss_table), GFP_KERNEL); kmalloc_array 255 drivers/net/ethernet/freescale/fman/fman_mac.h hash = kmalloc_array(size, sizeof(struct eth_hash_t *), GFP_KERNEL); kmalloc_array 261 drivers/net/ethernet/freescale/fman/fman_mac.h hash->lsts = kmalloc_array(hash->size, sizeof(struct list_head), kmalloc_array 1410 drivers/net/ethernet/freescale/gianfar.c kmalloc_array(tx_queue->tx_ring_size, kmalloc_array 713 drivers/net/ethernet/freescale/gianfar_ethtool.c local_rqfpr = kmalloc_array(MAX_FILER_IDX + 1, sizeof(unsigned int), kmalloc_array 715 drivers/net/ethernet/freescale/gianfar_ethtool.c local_rqfcr = kmalloc_array(MAX_FILER_IDX + 1, sizeof(unsigned int), kmalloc_array 2247 drivers/net/ethernet/freescale/ucc_geth.c kmalloc_array(ugeth->ug_info->bdRingLenTx[j], kmalloc_array 2320 drivers/net/ethernet/freescale/ucc_geth.c kmalloc_array(ugeth->ug_info->bdRingLenRx[j], kmalloc_array 53 drivers/net/ethernet/ibm/ehea/ehea_qmr.c queue->queue_pages = kmalloc_array(nr_of_pages, sizeof(void *), kmalloc_array 161 drivers/net/ethernet/ibm/ibmveth.c pool->free_map = kmalloc_array(pool->size, sizeof(u16), GFP_KERNEL); kmalloc_array 438 drivers/net/ethernet/intel/e1000/e1000_ethtool.c eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16), kmalloc_array 512 drivers/net/ethernet/intel/e1000e/ethtool.c eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16), kmalloc_array 742 drivers/net/ethernet/intel/igb/igb_ethtool.c eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16), kmalloc_array 3251 drivers/net/ethernet/intel/igb/igb_ethtool.c dataword = kmalloc_array(last_word - first_word + 1, sizeof(u16), kmalloc_array 1417 drivers/net/ethernet/intel/igbvf/netdev.c mta_list = kmalloc_array(netdev_mc_count(netdev), ETH_ALEN, kmalloc_array 376 drivers/net/ethernet/intel/igc/igc_ethtool.c eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16), kmalloc_array 378 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c eeprom_buff = kmalloc_array(last_word - first_word + 1, kmalloc_array 1087 drivers/net/ethernet/intel/ixgb/ixgb_main.c u8 *mta = kmalloc_array(ETH_ALEN, kmalloc_array 914 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c eeprom_buff = kmalloc_array(eeprom_len, sizeof(u16), GFP_KERNEL); kmalloc_array 3006 drivers/net/ethernet/marvell/mvneta.c txq->tx_skb = kmalloc_array(txq->size, sizeof(*txq->tx_skb), kmalloc_array 2517 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c txq_pcpu->buffs = kmalloc_array(txq_pcpu->size, kmalloc_array 2629 drivers/net/ethernet/mellanox/mlx4/cmd.c priv->cmd.context = kmalloc_array(priv->cmd.max_cmds, kmalloc_array 989 drivers/net/ethernet/mellanox/mlx4/eq.c eq->page_list = kmalloc_array(npages, sizeof(*eq->page_list), kmalloc_array 997 drivers/net/ethernet/mellanox/mlx4/eq.c dma_list = kmalloc_array(npages, sizeof(*dma_list), GFP_KERNEL); kmalloc_array 1214 drivers/net/ethernet/mellanox/mlx4/eq.c kmalloc_array(MLX4_IRQNAME_SIZE, kmalloc_array 528 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res_alloc->quota = kmalloc_array(dev->persist->num_vfs + 1, kmalloc_array 531 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res_alloc->guaranteed = kmalloc_array(dev->persist->num_vfs + 1, kmalloc_array 1243 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c counters_arr = kmalloc_array(dev->caps.max_counters, kmalloc_array 5188 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c counters_arr = kmalloc_array(dev->caps.max_counters, kmalloc_array 265 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m->module_to_port = kmalloc_array(max_ports, sizeof(int), kmalloc_array 3951 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->port_to_module = kmalloc_array(max_ports, sizeof(int), kmalloc_array 262 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c parman_prios = kmalloc_array(MLXSW_SP_MR_ROUTE_PRIO_MAX + 1, kmalloc_array 213 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c erif_indices = kmalloc_array(MAXVIFS, sizeof(*erif_indices), kmalloc_array 513 drivers/net/ethernet/moxa/moxart_ether.c priv->tx_buf_base = kmalloc_array(priv->tx_buf_size, TX_DESC_NUM, kmalloc_array 520 drivers/net/ethernet/moxa/moxart_ether.c priv->rx_buf_base = kmalloc_array(priv->rx_buf_size, RX_DESC_NUM, kmalloc_array 126 drivers/net/ethernet/netronome/nfp/bpf/offload.c nfp_prog->map_records = kmalloc_array(cnt, kmalloc_array 309 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c acti_netdevs = kmalloc_array(entry->slave_cnt, kmalloc_array 503 drivers/net/ethernet/netronome/nfp/flower/metadata.c kmalloc_array(NFP_FLOWER_MASK_ENTRY_RS, kmalloc_array 512 drivers/net/ethernet/netronome/nfp/flower/metadata.c kmalloc_array(NFP_FLOWER_MASK_ENTRY_RS, kmalloc_array 102 drivers/net/ethernet/netronome/nfp/nfp_shared_buf.c pf->shared_bufs = kmalloc_array(num_entries, sizeof(pf->shared_bufs[0]), kmalloc_array 4665 drivers/net/ethernet/nvidia/forcedeth.c rx_skbuff = kmalloc_array(ring->rx_pending, sizeof(struct nv_skb_map), kmalloc_array 4667 drivers/net/ethernet/nvidia/forcedeth.c tx_skbuff = kmalloc_array(ring->tx_pending, sizeof(struct nv_skb_map), kmalloc_array 3112 drivers/net/ethernet/qlogic/qed/qed_mcp.c nvm_info.image_att = kmalloc_array(nvm_info.num_images, kmalloc_array 2590 drivers/net/ethernet/qlogic/qla3xxx.c qdev->lrg_buf = kmalloc_array(qdev->num_large_buffers, kmalloc_array 2691 drivers/net/ethernet/rocker/rocker_main.c rocker->msix_entries = kmalloc_array(msix_entries, kmalloc_array 487 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c rx_ring->rx_skbuff_dma = kmalloc_array(rx_rsize, kmalloc_array 494 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c rx_ring->rx_skbuff = kmalloc_array(rx_rsize, kmalloc_array 1185 drivers/net/ethernet/smsc/smsc9420.c pd->tx_buffers = kmalloc_array(TX_RING_SIZE, kmalloc_array 1218 drivers/net/ethernet/smsc/smsc9420.c pd->rx_buffers = kmalloc_array(RX_RING_SIZE, kmalloc_array 769 drivers/net/gtp.c gtp->addr_hash = kmalloc_array(hsize, sizeof(struct hlist_head), kmalloc_array 774 drivers/net/gtp.c gtp->tid_hash = kmalloc_array(hsize, sizeof(struct hlist_head), kmalloc_array 1580 drivers/net/hippi/rrunner.c image = kmalloc_array(EEPROM_WORDS, sizeof(u32), GFP_KERNEL); kmalloc_array 1299 drivers/net/tap.c rings = kmalloc_array(n, sizeof(*rings), GFP_KERNEL); kmalloc_array 775 drivers/net/team/team.c listarr = kmalloc_array(queue_cnt, sizeof(struct list_head), kmalloc_array 3623 drivers/net/tun.c rings = kmalloc_array(n, sizeof(*rings), GFP_KERNEL); kmalloc_array 633 drivers/net/usb/asix_common.c eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16), kmalloc_array 673 drivers/net/usb/asix_common.c eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16), kmalloc_array 593 drivers/net/usb/ax88179_178a.c eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16), kmalloc_array 1323 drivers/net/usb/usbnet.c urb->sg = kmalloc_array(num_sgs + 1, sizeof(struct scatterlist), kmalloc_array 2771 drivers/net/virtio_net.c callbacks = kmalloc_array(total_vqs, sizeof(*callbacks), GFP_KERNEL); kmalloc_array 2774 drivers/net/virtio_net.c names = kmalloc_array(total_vqs, sizeof(*names), GFP_KERNEL); kmalloc_array 888 drivers/net/wireless/ath/ath5k/phy.c ah->ah_rf_banks = kmalloc_array(ah->ah_rf_banks_size, kmalloc_array 928 drivers/net/wireless/ath/ath9k/ar9003_paprd.c buf = kmalloc_array(2 * 48, sizeof(u32), GFP_KERNEL); kmalloc_array 130 drivers/net/wireless/ath/ath9k/hw.c tmp_reg_list = kmalloc_array(size, sizeof(u32), GFP_KERNEL); kmalloc_array 136 drivers/net/wireless/ath/ath9k/hw.c tmp_data = kmalloc_array(size, sizeof(u32), GFP_KERNEL); kmalloc_array 81 drivers/net/wireless/ath/ath9k/rng.c rng_buf = kmalloc_array(ATH9K_RNG_BUF_SIZE, sizeof(u32), GFP_KERNEL); kmalloc_array 1377 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c ptr = kmalloc_array(131, sizeof(s16), GFP_ATOMIC); kmalloc_array 2660 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c values_to_save = kmalloc_array(20, sizeof(u16), GFP_ATOMIC); kmalloc_array 3667 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c ptr = kmalloc_array(131, sizeof(s16), GFP_ATOMIC); kmalloc_array 3671 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c phy_c32 = kmalloc_array(20, sizeof(u16), GFP_ATOMIC); kmalloc_array 23024 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c data_buf = kmalloc_array(num_samps, sizeof(u32), GFP_ATOMIC); kmalloc_array 23066 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tone_buf = kmalloc_array(tbl_len, sizeof(struct cordic_iq), kmalloc_array 7144 drivers/net/wireless/cisco/airo.c qual = kmalloc_array(IW_MAX_AP, sizeof(*qual), GFP_KERNEL); kmalloc_array 3435 drivers/net/wireless/intel/ipw2x00/ipw2100.c kmalloc_array(IPW_COMMAND_POOL_SIZE, kmalloc_array 4430 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->tx_buffers = kmalloc_array(TX_PENDED_QUEUE_LENGTH, kmalloc_array 4578 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->rx_buffers = kmalloc_array(RX_QUEUE_LENGTH, kmalloc_array 3198 drivers/net/wireless/intel/ipw2x00/ipw2200.c virts = kmalloc_array(CB_NUMBER_OF_ELEMENTS_SMALL, sizeof(void *), kmalloc_array 3203 drivers/net/wireless/intel/ipw2x00/ipw2200.c phys = kmalloc_array(CB_NUMBER_OF_ELEMENTS_SMALL, sizeof(dma_addr_t), kmalloc_array 3772 drivers/net/wireless/intel/ipw2x00/ipw2200.c q->txb = kmalloc_array(count, sizeof(q->txb[0]), GFP_KERNEL); kmalloc_array 274 drivers/net/wireless/intersil/hostap/hostap_info.c results = kmalloc_array(new_count, kmalloc_array 516 drivers/net/wireless/intersil/hostap/hostap_ioctl.c addr = kmalloc_array(IW_MAX_AP, sizeof(struct sockaddr), GFP_KERNEL); kmalloc_array 517 drivers/net/wireless/intersil/hostap/hostap_ioctl.c qual = kmalloc_array(IW_MAX_AP, sizeof(struct iw_quality), GFP_KERNEL); kmalloc_array 1611 drivers/net/wireless/rndis_wlan.c mc_addrs = kmalloc_array(mc_count, ETH_ALEN, GFP_ATOMIC); kmalloc_array 722 drivers/net/wireless/zydas/zd1211rw/zd_mac.c ioreqs = kmalloc_array(num_cmds, sizeof(struct zd_ioreq32), kmalloc_array 1257 drivers/nvme/target/core.c ctrl->changed_ns_list = kmalloc_array(NVME_MAX_CHANGED_NAMESPACES, kmalloc_array 241 drivers/nvme/target/io-cmd-file.c req->f.bvec = kmalloc_array(nr_bvec, sizeof(struct bio_vec), kmalloc_array 343 drivers/nvme/target/tcp.c cmd->iov = kmalloc_array(cmd->req.sg_cnt, kmalloc_array 220 drivers/opp/core.c uV = kmalloc_array(count, sizeof(*uV), GFP_KERNEL); kmalloc_array 1611 drivers/opp/core.c opp_table->regulators = kmalloc_array(count, kmalloc_array 431 drivers/opp/of.c microvolt = kmalloc_array(vcount, sizeof(*microvolt), GFP_KERNEL); kmalloc_array 472 drivers/opp/of.c microamp = kmalloc_array(icount, sizeof(*microamp), GFP_KERNEL); kmalloc_array 1482 drivers/pcmcia/cistpl.c tuplebuffer = kmalloc_array(256, sizeof(u_char), GFP_KERNEL); kmalloc_array 1486 drivers/pcmcia/cistpl.c tempbuffer = kmalloc_array(258, sizeof(u_char), GFP_KERNEL); kmalloc_array 88 drivers/pinctrl/freescale/pinctrl-imx.c new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), kmalloc_array 244 drivers/pinctrl/freescale/pinctrl-imx1-core.c new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), kmalloc_array 423 drivers/pinctrl/mvebu/pinctrl-mvebu.c *map = kmalloc_array(nmaps, sizeof(**map), GFP_KERNEL); kmalloc_array 628 drivers/pinctrl/qcom/pinctrl-msm.c tmp = kmalloc_array(len, sizeof(*tmp), GFP_KERNEL); kmalloc_array 356 drivers/pinctrl/sunxi/pinctrl-sunxi.c *map = kmalloc_array(nmaps, sizeof(struct pinctrl_map), GFP_KERNEL); kmalloc_array 858 drivers/rapidio/devices/rio_mport_cdev.c page_list = kmalloc_array(nr_pages, kmalloc_array 565 drivers/s390/block/dasd_eer.c eerb->buffer = kmalloc_array(eerb->buffer_page_count, sizeof(char *), kmalloc_array 722 drivers/s390/char/tty3270.c kmalloc_array(TTY3270_STRING_PAGES, sizeof(void *), kmalloc_array 1052 drivers/s390/crypto/pkey_api.c apqns = kmalloc_array(nr_apqns, kmalloc_array 1100 drivers/s390/crypto/pkey_api.c apqns = kmalloc_array(nr_apqns, kmalloc_array 1571 drivers/s390/crypto/zcrypt_ccamisc.c device_status = kmalloc_array(MAX_ZDEV_ENTRIES_EXT, kmalloc_array 1687 drivers/s390/crypto/zcrypt_ccamisc.c device_status = kmalloc_array(MAX_ZDEV_ENTRIES_EXT, kmalloc_array 1749 drivers/s390/crypto/zcrypt_ccamisc.c *apqns = kmalloc_array(n, sizeof(u32), GFP_KERNEL); kmalloc_array 4129 drivers/scsi/aacraid/aachba.c sge = kmalloc_array(nseg_new, sizeof(struct sge_ieee1212), GFP_ATOMIC); kmalloc_array 2243 drivers/scsi/aacraid/commsup.c hw_fib_pool = kmalloc_array(num, sizeof(struct hw_fib *), kmalloc_array 2248 drivers/scsi/aacraid/commsup.c fib_pool = kmalloc_array(num, sizeof(struct fib *), GFP_KERNEL); kmalloc_array 7042 drivers/scsi/aic7xxx/aic79xx_core.c ahd->saved_stack = kmalloc_array(ahd->stack_size, sizeof(uint16_t), kmalloc_array 277 drivers/scsi/aic94xx/aic94xx_hwi.c seq->edb_arr = kmalloc_array(seq->num_edbs, sizeof(*seq->edb_arr), kmalloc_array 310 drivers/scsi/aic94xx/aic94xx_hwi.c seq->escb_arr = kmalloc_array(seq->num_escbs, sizeof(*seq->escb_arr), kmalloc_array 70 drivers/scsi/arm/queue.c queue->alloc = q = kmalloc_array(nqueues, sizeof(QE_t), GFP_KERNEL); kmalloc_array 2479 drivers/scsi/be2iscsi/be_main.c mem_arr_orig = kmalloc_array(BEISCSI_MAX_FRAGS_INIT, kmalloc_array 2529 drivers/scsi/be2iscsi/be_main.c mem_descr->mem_array = kmalloc_array(j, sizeof(*mem_arr), kmalloc_array 3352 drivers/scsi/be2iscsi/be_main.c pwrb_arr = kmalloc_array(phba->params.cxns_per_ctrl, kmalloc_array 1384 drivers/scsi/fcoe/fcoe_ctlr.c vlink_desc_arr = kmalloc_array(num_vlink_desc, sizeof(vp), kmalloc_array 2193 drivers/scsi/hpsa.c kmalloc_array(h->maxsgentries, kmalloc_array 2233 drivers/scsi/hpsa.c h->cmd_sg_list[i] = kmalloc_array(h->chainsize, kmalloc_array 6480 drivers/scsi/hpsa.c buff_size = kmalloc_array(SG_ENTRIES_IN_CMD, sizeof(int), GFP_KERNEL); kmalloc_array 7224 drivers/scsi/hpsa.c old_driver_ver = kmalloc_array(2, size, GFP_KERNEL); kmalloc_array 99 drivers/scsi/lpfc/lpfc_mem.c pool->elements = kmalloc_array(LPFC_MBUF_POOL_SIZE, kmalloc_array 468 drivers/scsi/mac53c94.c dma_cmd_space = kmalloc_array(host->sg_tablesize + 2, kmalloc_array 4290 drivers/scsi/megaraid.c adapter->scb_list = kmalloc_array(MAX_COMMANDS, sizeof(scb_t), kmalloc_array 934 drivers/scsi/megaraid/megaraid_mm.c adapter->kioc_list = kmalloc_array(lld_adp->max_kioc, kmalloc_array 937 drivers/scsi/megaraid/megaraid_mm.c adapter->mbox_list = kmalloc_array(lld_adp->max_kioc, kmalloc_array 264 drivers/scsi/qedf/qedf_io.c cmgr->io_bdt_pool = kmalloc_array(num_ios, sizeof(struct io_bdt *), kmalloc_array 485 drivers/scsi/qedi/qedi_main.c qedi->cid_que.cid_que_base = kmalloc_array(qedi->max_active_conns, kmalloc_array 490 drivers/scsi/qedi/qedi_main.c qedi->cid_que.conn_cid_tbl = kmalloc_array(qedi->max_active_conns, kmalloc_array 1239 drivers/scsi/qla2xxx/qla_nx.c buf = kmalloc_array(n, sizeof(struct crb_addr_pair), GFP_KERNEL); kmalloc_array 1080 drivers/scsi/qla4xxx/ql4_nx.c buf = kmalloc_array(n, sizeof(struct crb_addr_pair), GFP_KERNEL); kmalloc_array 2018 drivers/scsi/smartpqi/smartpqi_init.c new_device_list = kmalloc_array(num_new_devices, kmalloc_array 4920 drivers/scsi/st.c pages = kmalloc_array(max_pages, sizeof(*pages), GFP_KERNEL); kmalloc_array 787 drivers/scsi/virtio_scsi.c vqs = kmalloc_array(num_vqs, sizeof(struct virtqueue *), GFP_KERNEL); kmalloc_array 788 drivers/scsi/virtio_scsi.c callbacks = kmalloc_array(num_vqs, sizeof(vq_callback_t *), kmalloc_array 790 drivers/scsi/virtio_scsi.c names = kmalloc_array(num_vqs, sizeof(char *), GFP_KERNEL); kmalloc_array 1278 drivers/soc/fsl/qbman/qman.c portal->cgrs = kmalloc_array(2, sizeof(*cgrs), GFP_KERNEL); kmalloc_array 439 drivers/spi/spi-mpc52xx.c ms->gpio_cs = kmalloc_array(ms->gpio_cs_count, kmalloc_array 1562 drivers/staging/comedi/comedi_fops.c data = kmalloc_array(max_n_data_required, sizeof(unsigned int), kmalloc_array 1638 drivers/staging/comedi/comedi_fops.c data = kmalloc_array(n_data, sizeof(unsigned int), GFP_KERNEL); kmalloc_array 1029 drivers/staging/comedi/drivers/amplc_pci224.c devpriv->ao_scan_vals = kmalloc_array(board->ao_chans, kmalloc_array 1037 drivers/staging/comedi/drivers/amplc_pci224.c kmalloc_array(board->ao_chans, kmalloc_array 1232 drivers/staging/comedi/drivers/das1800.c devpriv->fifo_buf = kmalloc_array(FIFO_SIZE, kmalloc_array 202 drivers/staging/comedi/drivers/ni_670x.c range_table_list = kmalloc_array(32, kmalloc_array 543 drivers/staging/exfat/exfat_core.c p_fs->vol_amap = kmalloc_array(p_fs->map_sectors, kmalloc_array 755 drivers/staging/exfat/exfat_core.c upcase_table[col_index] = kmalloc_array(UTBL_ROW_COUNT, kmalloc_array 817 drivers/staging/exfat/exfat_core.c upcase_table[col_index] = kmalloc_array(UTBL_ROW_COUNT, kmalloc_array 299 drivers/staging/fbtft/fb_agm1264k-fl.c signed short *convert_buf = kmalloc_array(par->info->var.xres * kmalloc_array 252 drivers/staging/isdn/gigaset/capi.c dbgline = kmalloc_array(3, l, GFP_ATOMIC); kmalloc_array 272 drivers/staging/isdn/gigaset/capi.c dbgline = kmalloc_array(3, l, GFP_ATOMIC); kmalloc_array 710 drivers/staging/isdn/gigaset/common.c cs->bcs = kmalloc_array(channels, sizeof(struct bc_state), GFP_KERNEL); kmalloc_array 1089 drivers/staging/isdn/gigaset/common.c drv->cs = kmalloc_array(minors, sizeof(*drv->cs), GFP_KERNEL); kmalloc_array 730 drivers/staging/media/tegra-vde/vde.c frames = kmalloc_array(ctx.dpb_frames_nb, sizeof(*frames), GFP_KERNEL); kmalloc_array 3181 drivers/staging/octeon-usb/octeon-hcd.c iso_packet = kmalloc_array(urb->number_of_packets, kmalloc_array 2806 drivers/staging/qlge/qlge_main.c kmalloc_array(tx_ring->wq_len, sizeof(struct tx_ring_desc), kmalloc_array 3012 drivers/staging/qlge/qlge_main.c rx_ring->sbq = kmalloc_array(rx_ring->sbq_len, kmalloc_array 3037 drivers/staging/qlge/qlge_main.c rx_ring->lbq = kmalloc_array(rx_ring->lbq_len, kmalloc_array 586 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c prxbIndicateArray = kmalloc_array(REORDER_WIN_SIZE, kmalloc_array 1605 drivers/staging/rtl8192u/r8192U_core.c priv->rx_urb = kmalloc_array(MAX_RX_URB + 1, sizeof(struct urb *), kmalloc_array 53 drivers/staging/rtl8712/rtl871x_mlme.c pbuf = kmalloc_array(MAX_BSS_CNT, sizeof(struct wlan_network), kmalloc_array 940 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->hwxmits = kmalloc_array(pxmitpriv->hwxmit_entry, kmalloc_array 206 drivers/staging/uwb/est.c void *new = kmalloc_array(2, actual_size, GFP_ATOMIC); kmalloc_array 365 drivers/staging/uwb/i1480/dfu/usb.c i1480->cmd_buf = kmalloc_array(2, i1480->buf_size, GFP_KERNEL); kmalloc_array 3025 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c service_data = kmalloc_array(MAX_SERVICES, sizeof(*service_data), kmalloc_array 1949 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c found = kmalloc_array(BITSET_SIZE(VCHIQ_MAX_SERVICES), sizeof(*found), kmalloc_array 686 drivers/staging/wilc1000/wilc_netdev.c mc_list = kmalloc_array(dev->mc.count, ETH_ALEN, GFP_ATOMIC); kmalloc_array 2483 drivers/target/target_core_transport.c pages = kmalloc_array(cmd->t_data_nents, sizeof(*pages), GFP_KERNEL); kmalloc_array 150 drivers/tee/optee/rpc.c params = kmalloc_array(arg->num_params, sizeof(struct tee_param), kmalloc_array 576 drivers/thermal/cpu_cooling.c cpufreq_cdev->freq_table = kmalloc_array(i, kmalloc_array 214 drivers/thunderbolt/dma_port.c dma->buf = kmalloc_array(MAIL_DATA_DWORDS, sizeof(u32), GFP_KERNEL); kmalloc_array 1444 drivers/tty/hvc/hvcs.c hvcs_index_list = kmalloc_array(n, sizeof(hvcs_index_count), kmalloc_array 1457 drivers/tty/isicom.c data = kmalloc_array(word_count, 2, GFP_KERNEL); kmalloc_array 2899 drivers/tty/serial/atmel_serial.c data = kmalloc_array(ATMEL_SERIAL_RINGSIZE, kmalloc_array 234 drivers/tty/vt/consolemap.c kmalloc_array(MAX_GLYPH, sizeof(u16), GFP_KERNEL); kmalloc_array 482 drivers/tty/vt/consolemap.c p1 = p->uni_pgdir[n] = kmalloc_array(32, sizeof(u16 *), kmalloc_array 491 drivers/tty/vt/consolemap.c p2 = p1[n] = kmalloc_array(64, sizeof(u16), GFP_KERNEL); kmalloc_array 1664 drivers/tty/vt/keyboard.c dia = kmalloc_array(MAX_DIACR, sizeof(struct kbdiacr), kmalloc_array 1697 drivers/tty/vt/keyboard.c buf = kmalloc_array(MAX_DIACR, sizeof(struct kbdiacruc), kmalloc_array 314 drivers/tty/vt/selection.c bp = kmalloc_array((sel_end - sel_start) / 2 + 1, multiplier, kmalloc_array 948 drivers/usb/core/devio.c eps = kmalloc_array(num_eps, sizeof(*eps), GFP_KERNEL); kmalloc_array 1692 drivers/usb/core/devio.c as->urb->sg = kmalloc_array(num_sgs, kmalloc_array 431 drivers/usb/core/driver.c eps = kmalloc_array(USB_MAXENDPOINTS, sizeof(void *), kmalloc_array 394 drivers/usb/core/message.c io->urbs = kmalloc_array(io->entries, sizeof(*io->urbs), mem_flags); kmalloc_array 1847 drivers/usb/core/message.c new_interfaces = kmalloc_array(nintf, sizeof(*new_interfaces), kmalloc_array 445 drivers/usb/dwc3/core.c dwc->scratchbuf = kmalloc_array(dwc->nr_scratch, kmalloc_array 632 drivers/usb/host/ehci-dbg.c seen = kmalloc_array(DBG_SCHED_LIMIT, sizeof(*seen), GFP_ATOMIC); kmalloc_array 192 drivers/usb/host/fhci-tds.c buff = kmalloc_array(1028, sizeof(*buff), GFP_KERNEL); kmalloc_array 525 drivers/usb/host/fotg210-hcd.c seen = kmalloc_array(DBG_SCHED_LIMIT, sizeof(*seen), GFP_ATOMIC); kmalloc_array 495 drivers/usb/host/ohci-dbg.c seen = kmalloc_array(DBG_SCHED_LIMIT, sizeof(*seen), GFP_ATOMIC); kmalloc_array 829 drivers/usb/misc/iowarrior.c kmalloc_array(dev->report_size + 1, MAX_INTERRUPT_BUFFER, kmalloc_array 713 drivers/usb/misc/ldusb.c kmalloc_array(write_buffer_size, kmalloc_array 548 drivers/usb/misc/usbtest.c sg = kmalloc_array(nents, sizeof(*sg), GFP_KERNEL); kmalloc_array 1029 drivers/usb/storage/alauda.c blockbuffer = kmalloc_array(pagesize + 64, blocksize, GFP_NOIO); kmalloc_array 811 drivers/usb/storage/ene_ub6250.c info->MS_Lib.Phy2LogMap = kmalloc_array(info->MS_Lib.NumberOfPhyBlock, kmalloc_array 814 drivers/usb/storage/ene_ub6250.c info->MS_Lib.Log2PhyMap = kmalloc_array(info->MS_Lib.NumberOfLogBlock, kmalloc_array 1121 drivers/usb/storage/ene_ub6250.c info->MS_Lib.blkpag = kmalloc_array(info->MS_Lib.PagesPerBlock, kmalloc_array 1124 drivers/usb/storage/ene_ub6250.c info->MS_Lib.blkext = kmalloc_array(info->MS_Lib.PagesPerBlock, kmalloc_array 1235 drivers/usb/storage/sddr09.c info->lba_to_pba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); kmalloc_array 1236 drivers/usb/storage/sddr09.c info->pba_to_lba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); kmalloc_array 655 drivers/usb/storage/sddr55.c buffer = kmalloc_array(numblocks, 2, GFP_NOIO ); kmalloc_array 688 drivers/usb/storage/sddr55.c info->lba_to_pba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); kmalloc_array 689 drivers/usb/storage/sddr55.c info->pba_to_lba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); kmalloc_array 526 drivers/usb/usbip/stub_rx.c priv->urbs = kmalloc_array(num_urbs, sizeof(*priv->urbs), GFP_KERNEL); kmalloc_array 289 drivers/vhost/net.c kmalloc_array(UIO_MAXIOV, kmalloc_array 1285 drivers/vhost/net.c vqs = kmalloc_array(VHOST_NET_VQ_MAX, sizeof(*vqs), GFP_KERNEL); kmalloc_array 1291 drivers/vhost/net.c queue = kmalloc_array(VHOST_NET_BATCH, sizeof(void *), kmalloc_array 1300 drivers/vhost/net.c xdp = kmalloc_array(VHOST_NET_BATCH, sizeof(*xdp), GFP_KERNEL); kmalloc_array 1612 drivers/vhost/scsi.c vqs = kmalloc_array(VHOST_SCSI_MAX_VQ, sizeof(*vqs), GFP_KERNEL); kmalloc_array 113 drivers/vhost/test.c vqs = kmalloc_array(VHOST_TEST_VQ_MAX, sizeof(*vqs), GFP_KERNEL); kmalloc_array 388 drivers/vhost/vhost.c vq->indirect = kmalloc_array(UIO_MAXIOV, kmalloc_array 391 drivers/vhost/vhost.c vq->log = kmalloc_array(dev->iov_limit, sizeof(*vq->log), kmalloc_array 393 drivers/vhost/vhost.c vq->heads = kmalloc_array(dev->iov_limit, sizeof(*vq->heads), kmalloc_array 195 drivers/vhost/vringh.c new = kmalloc_array(new_num, sizeof(struct iovec), gfp); kmalloc_array 569 drivers/vhost/vsock.c vqs = kmalloc_array(ARRAY_SIZE(vsock->vqs), sizeof(*vqs), GFP_KERNEL); kmalloc_array 207 drivers/video/console/vgacon.c data = kmalloc_array(CONFIG_VGACON_SOFT_SCROLLBACK_SIZE, 1024, kmalloc_array 272 drivers/video/fbdev/core/bitblit.c dst = kmalloc_array(w, vc->vc_font.height, GFP_ATOMIC); kmalloc_array 315 drivers/video/fbdev/core/bitblit.c char *mask = kmalloc_array(w, vc->vc_font.height, GFP_ATOMIC); kmalloc_array 261 drivers/video/fbdev/core/fbcon_ccw.c dst = kmalloc_array(w, vc->vc_font.width, GFP_ATOMIC); kmalloc_array 307 drivers/video/fbdev/core/fbcon_ccw.c char *tmp, *mask = kmalloc_array(w, vc->vc_font.width, kmalloc_array 315 drivers/video/fbdev/core/fbcon_ccw.c tmp = kmalloc_array(width, vc->vc_font.height, GFP_ATOMIC); kmalloc_array 244 drivers/video/fbdev/core/fbcon_cw.c dst = kmalloc_array(w, vc->vc_font.width, GFP_ATOMIC); kmalloc_array 290 drivers/video/fbdev/core/fbcon_cw.c char *tmp, *mask = kmalloc_array(w, vc->vc_font.width, kmalloc_array 298 drivers/video/fbdev/core/fbcon_cw.c tmp = kmalloc_array(width, vc->vc_font.height, GFP_ATOMIC); kmalloc_array 49 drivers/video/fbdev/core/fbcon_rotate.c dst = kmalloc_array(len, d_cellsize, GFP_KERNEL); kmalloc_array 292 drivers/video/fbdev/core/fbcon_ud.c dst = kmalloc_array(w, vc->vc_font.height, GFP_ATOMIC); kmalloc_array 338 drivers/video/fbdev/core/fbcon_ud.c char *mask = kmalloc_array(w, vc->vc_font.height, GFP_ATOMIC); kmalloc_array 492 drivers/video/fbdev/core/fbmem.c logo_new = kmalloc_array(logo->width, logo->height, kmalloc_array 526 drivers/video/fbdev/core/fbmem.c logo_rotate = kmalloc_array(logo->width, logo->height, kmalloc_array 674 drivers/video/fbdev/core/fbmon.c m = kmalloc_array(num, sizeof(struct fb_videomode), GFP_KERNEL); kmalloc_array 665 drivers/video/fbdev/imxfb.c info->pseudo_palette = kmalloc_array(16, sizeof(u32), GFP_KERNEL); kmalloc_array 244 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c cmd = kmalloc_array(cmdlen, 4, GFP_DMA); kmalloc_array 569 drivers/video/fbdev/nvidia/nvidia.c src = kmalloc_array(s_pitch, cursor->image.height, GFP_ATOMIC); kmalloc_array 651 drivers/video/fbdev/pvr2fb.c pages = kmalloc_array(nr_pages, sizeof(struct page *), GFP_KERNEL); kmalloc_array 1618 drivers/video/fbdev/riva/fbdev.c src = kmalloc_array(s_pitch, cursor->image.height, GFP_ATOMIC); kmalloc_array 1049 drivers/video/fbdev/uvesafb.c entries = kmalloc_array(cmap->len, sizeof(*entries), kmalloc_array 585 drivers/video/fbdev/via/viafbdev.c viafb_gamma_table = kmalloc_array(256, sizeof(u32), kmalloc_array 703 drivers/video/fbdev/w100fb.c info->pseudo_palette = kmalloc_array(MAX_PALETTES, sizeof(u32), kmalloc_array 77 drivers/virt/vboxguest/vboxguest_core.c pages = kmalloc_array(size >> PAGE_SHIFT, sizeof(*pages), GFP_KERNEL); kmalloc_array 274 drivers/virt/vboxguest/vboxguest_core.c pages = kmalloc_array(VMMDEV_MEMORY_BALLOON_CHUNK_PAGES, kmalloc_array 113 drivers/virtio/virtio_pci_common.c vp_dev->msix_names = kmalloc_array(nvectors, kmalloc_array 406 drivers/virtio/virtio_ring.c desc = kmalloc_array(total_sg, sizeof(struct vring_desc), gfp); kmalloc_array 974 drivers/virtio/virtio_ring.c desc = kmalloc_array(total_sg, sizeof(struct vring_packed_desc), gfp); kmalloc_array 1642 drivers/virtio/virtio_ring.c vq->packed.desc_state = kmalloc_array(num, kmalloc_array 1656 drivers/virtio/virtio_ring.c vq->packed.desc_extra = kmalloc_array(num, kmalloc_array 2113 drivers/virtio/virtio_ring.c vq->split.desc_state = kmalloc_array(vring.num, kmalloc_array 1196 drivers/xen/grant-table.c sframes = kmalloc_array(nr_sframes, sizeof(uint64_t), GFP_ATOMIC); kmalloc_array 1268 drivers/xen/grant-table.c frames = kmalloc_array(nr_gframes, sizeof(unsigned long), GFP_ATOMIC); kmalloc_array 1430 drivers/xen/grant-table.c gnttab_list = kmalloc_array(max_nr_glist_frames, kmalloc_array 96 drivers/xen/time.c runstate_delta = kmalloc_array(num_possible_cpus(), kmalloc_array 235 drivers/xen/xen-pciback/pciback_ops.c entries = kmalloc_array(op->value, sizeof(*entries), GFP_KERNEL); kmalloc_array 524 drivers/xen/xen-scsiback.c pending_req->sgl = kmalloc_array(nr_segments, kmalloc_array 88 fs/9p/fid.c wnames = kmalloc_array(n, sizeof(char *), GFP_KERNEL); kmalloc_array 340 fs/adfs/super.c dm = kmalloc_array(nzones, sizeof(*dm), GFP_KERNEL); kmalloc_array 433 fs/afs/cmservice.c call->buffer = kmalloc_array(11, sizeof(__be32), GFP_KERNEL); kmalloc_array 544 fs/afs/cmservice.c call->buffer = kmalloc_array(11, sizeof(__be32), GFP_KERNEL); kmalloc_array 1989 fs/binfmt_elf.c info->notes = kmalloc_array(8, sizeof(struct memelfnote), GFP_KERNEL); kmalloc_array 1599 fs/binfmt_elf_fdpic.c notes = kmalloc_array(NUM_NOTES, sizeof(struct memelfnote), kmalloc_array 222 fs/block_dev.c vecs = kmalloc_array(nr_pages, sizeof(struct bio_vec), kmalloc_array 2822 fs/btrfs/check-integrity.c mapped_datav = kmalloc_array(segs, kmalloc_array 752 fs/btrfs/delayed-inode.c keys = kmalloc_array(nitems, sizeof(struct btrfs_key), GFP_NOFS); kmalloc_array 758 fs/btrfs/delayed-inode.c data_size = kmalloc_array(nitems, sizeof(u32), GFP_NOFS); kmalloc_array 179 fs/btrfs/file-item.c btrfs_bio->csum = kmalloc_array(nblocks, csum_size, kmalloc_array 1608 fs/btrfs/file.c pages = kmalloc_array(nrptrs, sizeof(struct page *), GFP_KERNEL); kmalloc_array 1440 fs/btrfs/ioctl.c pages = kmalloc_array(max_cluster, sizeof(struct page *), GFP_KERNEL); kmalloc_array 1928 fs/btrfs/super.c devices_info = kmalloc_array(nr_devices, sizeof(*devices_info), kmalloc_array 377 fs/ceph/addr.c pages = kmalloc_array(nr_pages, sizeof(*pages), GFP_KERNEL); kmalloc_array 960 fs/ceph/addr.c pages = kmalloc_array(max_pages, kmalloc_array 1108 fs/ceph/addr.c pages = kmalloc_array(locked_pages, sizeof(*pages), kmalloc_array 3397 fs/ceph/mds_client.c flocks = kmalloc_array(num_fcntl_locks + num_flock_locks, kmalloc_array 420 fs/cifs/asn1.c *oid = kmalloc_array(size, sizeof(unsigned long), GFP_ATOMIC); kmalloc_array 749 fs/cifs/cifsacl.c ppace = kmalloc_array(num_aces, sizeof(struct cifs_ace *), kmalloc_array 1837 fs/cifs/inode.c kmalloc_array(2, sizeof(FILE_UNIX_BASIC_INFO), kmalloc_array 861 fs/cifs/misc.c bv = kmalloc_array(max_pages, sizeof(struct bio_vec), kmalloc_array 871 fs/cifs/misc.c pages = kmalloc_array(max_pages, sizeof(struct page *), kmalloc_array 3604 fs/cifs/smb2ops.c sg = kmalloc_array(sg_len, sizeof(struct scatterlist), GFP_KERNEL); kmalloc_array 3797 fs/cifs/smb2ops.c pages = kmalloc_array(npages, sizeof(struct page *), kmalloc_array 4156 fs/cifs/smb2ops.c pages = kmalloc_array(npages, sizeof(struct page *), GFP_KERNEL); kmalloc_array 4425 fs/cifs/smb2pdu.c iov = kmalloc_array(num, sizeof(struct kvec), GFP_KERNEL); kmalloc_array 1232 fs/cifs/transport.c new_iov = kmalloc_array(n_vec + 1, sizeof(struct kvec), kmalloc_array 209 fs/coredump.c (*argv) = kmalloc_array(argvs, sizeof(**argv), GFP_KERNEL); kmalloc_array 671 fs/coredump.c helper_argv = kmalloc_array(argc + 1, sizeof(*helper_argv), kmalloc_array 405 fs/dlm/member.c array = kmalloc_array(total, sizeof(*array), GFP_NOFS); kmalloc_array 105 fs/erofs/xattr.c vi->xattr_shared_xattrs = kmalloc_array(vi->xattr_shared_count, kmalloc_array 1090 fs/ext2/super.c sbi->s_group_desc = kmalloc_array (db_count, kmalloc_array 237 fs/ext4/resize.c flex_gd->groups = kmalloc_array(flexbg_size, kmalloc_array 243 fs/ext4/resize.c flex_gd->bg_flags = kmalloc_array(flexbg_size, sizeof(__u16), kmalloc_array 1010 fs/ext4/resize.c primary = kmalloc_array(reserved_gdb, sizeof(*primary), GFP_NOFS); kmalloc_array 350 fs/ext4/xattr.c bhs = kmalloc_array(bh_count, sizeof(*bhs), GFP_NOFS); kmalloc_array 668 fs/fat/namei_vfat.c slots = kmalloc_array(MSDOS_SLOTS, sizeof(*slots), GFP_NOFS); kmalloc_array 541 fs/fuse/virtio_fs.c vqs = kmalloc_array(fs->nvqs, sizeof(vqs[VQ_HIPRIO]), GFP_KERNEL); kmalloc_array 542 fs/fuse/virtio_fs.c callbacks = kmalloc_array(fs->nvqs, sizeof(callbacks[VQ_HIPRIO]), kmalloc_array 544 fs/fuse/virtio_fs.c names = kmalloc_array(fs->nvqs, sizeof(names[VQ_HIPRIO]), GFP_KERNEL); kmalloc_array 897 fs/fuse/virtio_fs.c sgs = kmalloc_array(total_sgs, sizeof(sgs[0]), GFP_ATOMIC); kmalloc_array 898 fs/fuse/virtio_fs.c sg = kmalloc_array(total_sgs, sizeof(sg[0]), GFP_ATOMIC); kmalloc_array 1058 fs/gfs2/dir.c lp = kmalloc_array(half_len, sizeof(__be64), GFP_NOFS); kmalloc_array 1170 fs/gfs2/dir.c hc2 = kmalloc_array(hsize_bytes, 2, GFP_NOFS | __GFP_NOWARN); kmalloc_array 1596 fs/gfs2/dir.c darr = kmalloc_array(96, sizeof(struct gfs2_dirent *), GFP_NOFS); kmalloc_array 1405 fs/gfs2/glock.c pph = kmalloc_array(num_gh, sizeof(struct gfs2_holder *), kmalloc_array 886 fs/gfs2/quota.c ghs = kmalloc_array(num_qd, sizeof(struct gfs2_holder), GFP_NOFS); kmalloc_array 2670 fs/gfs2/rgrp.c rlist->rl_ghs = kmalloc_array(rlist->rl_rgrps, kmalloc_array 851 fs/gfs2/super.c gha = kmalloc_array(slots, sizeof(struct gfs2_holder), GFP_KERNEL); kmalloc_array 36 fs/hpfs/dnode.c ppos = kmalloc_array(i + 0x11, sizeof(loff_t *), GFP_NOFS); kmalloc_array 118 fs/hpfs/map.c if (!(b = kmalloc_array(n, 512, GFP_KERNEL))) { kmalloc_array 1162 fs/jbd2/journal.c journal->j_wbuf = kmalloc_array(n, sizeof(struct buffer_head *), kmalloc_array 234 fs/jbd2/revoke.c kmalloc_array(hash_size, sizeof(struct list_head), GFP_KERNEL); kmalloc_array 1211 fs/jffs2/wbuf.c c->oobbuf = kmalloc_array(NR_OOB_SCAN_PAGES, c->oobavail, GFP_KERNEL); kmalloc_array 1631 fs/jfs/jfs_dmap.c totrim = kmalloc_array(range_cnt, sizeof(struct range2trim), GFP_NOFS); kmalloc_array 584 fs/jfs/jfs_dtree.c ciKey.name = kmalloc_array(JFS_NAME_MAX + 1, sizeof(wchar_t), kmalloc_array 948 fs/jfs/jfs_dtree.c key.name = kmalloc_array(JFS_NAME_MAX + 2, sizeof(wchar_t), GFP_NOFS); kmalloc_array 3770 fs/jfs/jfs_dtree.c lkey.name = kmalloc_array(JFS_NAME_MAX + 1, sizeof(wchar_t), kmalloc_array 3775 fs/jfs/jfs_dtree.c rkey.name = kmalloc_array(JFS_NAME_MAX + 1, sizeof(wchar_t), kmalloc_array 111 fs/jfs/jfs_unicode.c kmalloc_array(length + 1, sizeof(wchar_t), GFP_NOFS); kmalloc_array 357 fs/mbcache.c cache->c_hash = kmalloc_array(bucket_count, kmalloc_array 538 fs/namei.c p= kmalloc_array(MAXSYMLINKS, sizeof(struct saved), kmalloc_array 543 fs/namei.c p= kmalloc_array(MAXSYMLINKS, sizeof(struct saved), kmalloc_array 281 fs/nfs/callback_xdr.c args->devs = kmalloc_array(n, sizeof(*args->devs), GFP_KERNEL); kmalloc_array 383 fs/nfs/callback_xdr.c rc_list->rcl_refcalls = kmalloc_array(rc_list->rcl_nrefcalls, kmalloc_array 424 fs/nfs/callback_xdr.c args->csa_rclists = kmalloc_array(args->csa_nrclists, kmalloc_array 2204 fs/nfs/flexfilelayout/flexfilelayout.c errors = kmalloc_array(NFS42_LAYOUTERROR_MAX, kmalloc_array 2461 fs/nfs/flexfilelayout/flexfilelayout.c args->devinfo = kmalloc_array(dev_count, sizeof(*args->devinfo), GFP_NOIO); kmalloc_array 852 fs/nfs/pagelist.c ret = kmalloc_array(mirror_count, sizeof(*ret), GFP_KERNEL); kmalloc_array 991 fs/nfs/pnfs.c pages = kmalloc_array(size, sizeof(struct page *), gfp_flags); kmalloc_array 582 fs/nfsd/nfs4recover.c nn->reclaim_str_hashtbl = kmalloc_array(CLIENT_HASH_SIZE, kmalloc_array 1494 fs/nfsd/nfs4recover.c nn->reclaim_str_hashtbl = kmalloc_array(CLIENT_HASH_SIZE, kmalloc_array 1888 fs/nfsd/nfs4state.c clp->cl_ownerstr_hashtbl = kmalloc_array(OWNER_HASH_SIZE, kmalloc_array 7622 fs/nfsd/nfs4state.c nn->conf_id_hashtbl = kmalloc_array(CLIENT_HASH_SIZE, kmalloc_array 7627 fs/nfsd/nfs4state.c nn->unconf_id_hashtbl = kmalloc_array(CLIENT_HASH_SIZE, kmalloc_array 7632 fs/nfsd/nfs4state.c nn->sessionid_hashtbl = kmalloc_array(SESSION_HASH_SIZE, kmalloc_array 155 fs/nfsd/nfssvc.c bool *vers = kmalloc_array(NFSD_NRVERS, sizeof(bool), GFP_KERNEL); kmalloc_array 169 fs/nfsd/nfssvc.c bool *vers = kmalloc_array(NFSD_SUPPORTED_MINOR_VERSION + 1, kmalloc_array 515 fs/ntfs/compress.c pages = kmalloc_array(nr_pages, sizeof(struct page *), GFP_NOFS); kmalloc_array 516 fs/ntfs/compress.c completed_pages = kmalloc_array(nr_pages + 1, sizeof(int), GFP_NOFS); kmalloc_array 1065 fs/ocfs2/cluster/tcp.c vec = kmalloc_array(veclen, sizeof(struct kvec), GFP_ATOMIC); kmalloc_array 74 fs/ocfs2/dlm/dlmdomain.c void **vec = kmalloc_array(pages, sizeof(void *), GFP_KERNEL); kmalloc_array 445 fs/proc/base.c entries = kmalloc_array(MAX_STACK_TRACE_DEPTH, sizeof(*entries), kmalloc_array 1563 fs/proc/task_mmu.c pm.buffer = kmalloc_array(pm.len, PM_ENTRY_BYTES, GFP_KERNEL); kmalloc_array 232 fs/pstore/ram_core.c prz->ecc_info.par = kmalloc_array(prz->ecc_info.ecc_size, kmalloc_array 419 fs/pstore/ram_core.c pages = kmalloc_array(page_count, sizeof(struct page *), GFP_KERNEL); kmalloc_array 792 fs/read_write.c iov = kmalloc_array(nr_segs, sizeof(struct iovec), GFP_KERNEL); kmalloc_array 863 fs/read_write.c iov = kmalloc_array(nr_segs, sizeof(struct iovec), GFP_KERNEL); kmalloc_array 2187 fs/reiserfs/journal.c log_blocks = kmalloc_array(get_desc_trans_len(desc), kmalloc_array 2190 fs/reiserfs/journal.c real_blocks = kmalloc_array(get_desc_trans_len(desc), kmalloc_array 1203 fs/select.c bits = kmalloc_array(6, size, GFP_KERNEL); kmalloc_array 261 fs/splice.c spd->pages = kmalloc_array(buffers, sizeof(struct page *), GFP_KERNEL); kmalloc_array 262 fs/splice.c spd->partial = kmalloc_array(buffers, sizeof(struct partial_page), kmalloc_array 396 fs/splice.c vec = kmalloc_array(nr_pages, sizeof(struct kvec), GFP_KERNEL); kmalloc_array 46 fs/squashfs/file_direct.c page = kmalloc_array(pages, sizeof(void *), GFP_KERNEL); kmalloc_array 1445 fs/ubifs/journal.c buf = kmalloc_array(out_len, WORST_COMPR_FACTOR, GFP_NOFS); kmalloc_array 627 fs/ubifs/lpt.c lsave = kmalloc_array(c->lsave_cnt, sizeof(int), GFP_KERNEL); kmalloc_array 1791 fs/ubifs/lpt.c c->lpt_heap[i].arr = kmalloc_array(LPT_HEAP_SZ, kmalloc_array 1800 fs/ubifs/lpt.c c->dirty_idx.arr = kmalloc_array(LPT_HEAP_SZ, sizeof(void *), kmalloc_array 1859 fs/ubifs/lpt.c c->lsave = kmalloc_array(c->lsave_cnt, sizeof(int), GFP_NOFS); kmalloc_array 2101 fs/ubifs/lpt.c path = kmalloc_array(c->lpt_hght + 1, sizeof(struct lpt_scan_node), kmalloc_array 1255 fs/ubifs/super.c c->bottom_up_buf = kmalloc_array(BOTTOM_UP_HEIGHT, sizeof(int), kmalloc_array 1100 fs/ubifs/tnc.c c->bottom_up_buf = kmalloc_array(c->zroot.znode->level, kmalloc_array 362 fs/ubifs/tnc_commit.c c->gap_lebs = kmalloc_array(c->lst.idx_lebs + 1, sizeof(int), kmalloc_array 693 fs/ubifs/tnc_commit.c c->ilebs = kmalloc_array(leb_cnt, sizeof(int), GFP_NOFS); kmalloc_array 545 fs/ufs/super.c sbi->s_ucg = kmalloc_array(uspi->s_ncg, sizeof(struct buffer_head *), kmalloc_array 627 include/linux/ptr_ring.h queues = kmalloc_array(nrings, sizeof(*queues), gfp); kmalloc_array 629 include/linux/slab.h return kmalloc_array(n, size, flags | __GFP_ZERO); kmalloc_array 96 kernel/bpf/devmap.c hash = kmalloc_array(entries, sizeof(*hash), GFP_KERNEL); kmalloc_array 660 kernel/bpf/lpm_trie.c node_stack = kmalloc_array(trie->max_prefixlen, kmalloc_array 576 kernel/bpf/verifier.c new_##FIELD = kmalloc_array(slot, sizeof(struct bpf_##NAME##_state), \ kmalloc_array 9445 kernel/bpf/verifier.c env->prog->aux->used_maps = kmalloc_array(env->used_map_cnt, kmalloc_array 769 kernel/cgroup/cpuset.c csa = kmalloc_array(nr_cpusets(), sizeof(cp), GFP_KERNEL); kmalloc_array 850 kernel/cgroup/cpuset.c dattr = kmalloc_array(ndoms, sizeof(struct sched_domain_attr), kmalloc_array 732 kernel/debug/kdb/kdb_main.c defcmd_set = kmalloc_array(defcmd_set_count + 1, sizeof(*defcmd_set), kmalloc_array 2688 kernel/debug/kdb/kdb_main.c kdbtab_t *new = kmalloc_array(kdb_max_commands - kmalloc_array 79 kernel/irq/irq_sim.c sim->irqs = kmalloc_array(num_irqs, sizeof(*sim->irqs), GFP_KERNEL); kmalloc_array 908 kernel/locking/locktorture.c cxt.lwsa = kmalloc_array(cxt.nrealwriters_stress, kmalloc_array 939 kernel/locking/locktorture.c cxt.lrsa = kmalloc_array(cxt.nrealreaders_stress, kmalloc_array 281 kernel/locking/test-ww_mutex.c cycles = kmalloc_array(nthreads, sizeof(*cycles), GFP_KERNEL); kmalloc_array 354 kernel/locking/test-ww_mutex.c order = kmalloc_array(count, sizeof(*order), GFP_KERNEL); kmalloc_array 529 kernel/locking/test-ww_mutex.c locks = kmalloc_array(nlocks, sizeof(*locks), GFP_KERNEL); kmalloc_array 172 kernel/relay.c buf->padding = kmalloc_array(chan->n_subbufs, sizeof(size_t *), kmalloc_array 2116 kernel/sched/topology.c doms = kmalloc_array(ndoms, sizeof(*doms), GFP_KERNEL); kmalloc_array 351 kernel/trace/fgraph.c kmalloc_array(FTRACE_RETFUNC_DEPTH, kmalloc_array 494 kernel/trace/fgraph.c kmalloc_array(FTRACE_RETFUNC_DEPTH, kmalloc_array 516 kernel/trace/fgraph.c ret_stack = kmalloc_array(FTRACE_RETFUNC_DEPTH, kmalloc_array 542 kernel/trace/fgraph.c ret_stack_list = kmalloc_array(FTRACE_RETSTACK_ALLOC_SIZE, kmalloc_array 1966 kernel/trace/trace.c s->map_cmdline_to_pid = kmalloc_array(val, kmalloc_array 1972 kernel/trace/trace.c s->saved_cmdlines = kmalloc_array(TASK_COMM_LEN, val, GFP_KERNEL); kmalloc_array 5372 kernel/trace/trace.c map_array = kmalloc_array(len + 2, sizeof(*map_array), GFP_KERNEL); kmalloc_array 428 kernel/trace/trace_events_filter.c op_stack = kmalloc_array(nr_parens, sizeof(*op_stack), GFP_KERNEL); kmalloc_array 436 kernel/trace/trace_events_filter.c inverts = kmalloc_array(nr_preds, sizeof(*inverts), GFP_KERNEL); kmalloc_array 761 kernel/user_namespace.c forward = kmalloc_array(UID_GID_MAP_MAX_EXTENTS, kmalloc_array 72 lib/argv_split.c argv = kmalloc_array(argc + 2, sizeof(*argv), gfp); kmalloc_array 1173 lib/bitmap.c return kmalloc_array(BITS_TO_LONGS(nbits), sizeof(unsigned long), kmalloc_array 68 lib/interval_tree_test.c nodes = kmalloc_array(nnodes, sizeof(struct interval_tree_node), kmalloc_array 73 lib/interval_tree_test.c queries = kmalloc_array(nsearches, sizeof(int), GFP_KERNEL); kmalloc_array 43 lib/kfifo.c fifo->data = kmalloc_array(esize, size, gfp_mask); kmalloc_array 23 lib/memcat_p.c new = kmalloc_array(nr, sizeof(void *), GFP_KERNEL); kmalloc_array 94 lib/mpi/mpiutil.c p = kmalloc_array(nlimbs, sizeof(mpi_limb_t), GFP_KERNEL); kmalloc_array 248 lib/rbtree_test.c nodes = kmalloc_array(nnodes, sizeof(*nodes), GFP_KERNEL); kmalloc_array 91 lib/reed_solomon/reed_solomon.c rs->alpha_to = kmalloc_array(rs->nn + 1, sizeof(uint16_t), gfp); kmalloc_array 95 lib/reed_solomon/reed_solomon.c rs->index_of = kmalloc_array(rs->nn + 1, sizeof(uint16_t), gfp); kmalloc_array 99 lib/reed_solomon/reed_solomon.c rs->genpoly = kmalloc_array(rs->nroots + 1, sizeof(uint16_t), gfp); kmalloc_array 118 lib/reed_solomon/test_rslib.c ws->c = kmalloc_array(2 * (nn + nroots), kmalloc_array 127 lib/reed_solomon/test_rslib.c ws->errlocs = kmalloc_array(nn + nroots, sizeof(int), GFP_KERNEL); kmalloc_array 165 lib/scatterlist.c return kmalloc_array(nents, sizeof(struct scatterlist), kmalloc_array 506 lib/scatterlist.c sgl = kmalloc_array(nalloc, sizeof(struct scatterlist), kmalloc_array 168 lib/sg_split.c splitters[i].out_sg = kmalloc_array(splitters[i].nents, kmalloc_array 94 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 113 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 133 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 159 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 178 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 201 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 223 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 249 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 272 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 298 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 324 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 358 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 381 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 410 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 434 lib/test_bpf.c insn = kmalloc_array(len, sizeof(*insn), GFP_KERNEL); kmalloc_array 269 lib/test_meminit.c used_objects = kmalloc_array(maxiter, sizeof(void *), GFP_KERNEL); kmalloc_array 19 lib/test_sort.c a = kmalloc_array(TEST_LEN, sizeof(*a), GFP_KERNEL); kmalloc_array 1211 mm/huge_memory.c pages = kmalloc_array(HPAGE_PMD_NR, sizeof(struct page *), kmalloc_array 2981 mm/hugetlb.c kmalloc_array(num_fault_mutexes, sizeof(struct mutex), kmalloc_array 322 mm/mempool.c new_elements = kmalloc_array(new_min_nr, sizeof(*new_elements), kmalloc_array 5366 mm/slub.c int *data = kmalloc_array(nr_cpu_ids, sizeof(int), GFP_KERNEL); kmalloc_array 3774 mm/swapfile.c swap_avail_heads = kmalloc_array(nr_node_ids, sizeof(struct plist_head), kmalloc_array 235 net/9p/protocol.c kmalloc_array(*nwname, kmalloc_array 279 net/9p/protocol.c kmalloc_array(*nwqid, kmalloc_array 357 net/9p/trans_virtio.c *pages = kmalloc_array(nr_pages, sizeof(struct page *), kmalloc_array 476 net/atm/mpc.c mpc->mps_macs = kmalloc_array(ETH_ALEN, num_macs, GFP_KERNEL); kmalloc_array 638 net/batman-adv/distributed-arp-table.c res = kmalloc_array(BATADV_DAT_CANDIDATES_NUM, sizeof(*res), kmalloc_array 52 net/batman-adv/hash.c hash->table = kmalloc_array(size, sizeof(*hash->table), GFP_ATOMIC); kmalloc_array 56 net/batman-adv/hash.c hash->list_locks = kmalloc_array(size, sizeof(*hash->list_locks), kmalloc_array 1332 net/bluetooth/hci_core.c buf = kmalloc_array(max_rsp, sizeof(struct inquiry_info), GFP_KERNEL); kmalloc_array 339 net/bluetooth/l2cap_core.c seq_list->list = kmalloc_array(alloc_size, sizeof(u16), GFP_KERNEL); kmalloc_array 906 net/can/bcm.c op->frames = kmalloc_array(msg_head->nframes, kmalloc_array 1081 net/can/bcm.c op->frames = kmalloc_array(msg_head->nframes, kmalloc_array 3360 net/ceph/messenger.c m->data = kmalloc_array(max_data_items, sizeof(*m->data), kmalloc_array 198 net/ceph/osdmap.c a = kmalloc_array(len, sizeof(u32), GFP_NOIO); kmalloc_array 230 net/ceph/osdmap.c arg->weight_set = kmalloc_array(arg->weight_set_size, kmalloc_array 44 net/ceph/pagevec.c pages = kmalloc_array(num_pages, sizeof(*pages), flags); kmalloc_array 233 net/ceph/striper.c *file_extents = kmalloc_array(*num_file_extents, sizeof(**file_extents), kmalloc_array 9923 net/core/dev.c hash = kmalloc_array(NETDEV_HASHENTRIES, sizeof(*hash), GFP_KERNEL); kmalloc_array 3840 net/core/devlink.c attrs = kmalloc_array(DEVLINK_ATTR_MAX + 1, sizeof(*attrs), GFP_KERNEL); kmalloc_array 4895 net/core/devlink.c attrs = kmalloc_array(DEVLINK_ATTR_MAX + 1, sizeof(*attrs), GFP_KERNEL); kmalloc_array 1767 net/core/ethtool.c data = kmalloc_array(test_len, sizeof(u64), GFP_USER); kmalloc_array 2389 net/core/ethtool.c tmp = backup = kmalloc_array(n_queue, sizeof(*backup), GFP_KERNEL); kmalloc_array 895 net/core/filter.c masks = kmalloc_array(flen, sizeof(*masks), GFP_KERNEL); kmalloc_array 3281 net/core/rtnetlink.c attr = kmalloc_array(RTNL_MAX_TYPE + 1, sizeof(*attr), GFP_KERNEL); kmalloc_array 990 net/dcb/dcbnl.c table = kmalloc_array(app_count, sizeof(struct dcb_app), kmalloc_array 36 net/dccp/ccids/ccid2.c seqp = kmalloc_array(CCID2_SEQBUF_LEN, sizeof(struct ccid2_seq), kmalloc_array 791 net/ipv4/inet_hashtables.c h->lhash2 = kmalloc_array(INET_LHTABLE_SIZE, sizeof(*h->lhash2), GFP_KERNEL); kmalloc_array 3456 net/ipv4/route.c ip_idents = kmalloc_array(IP_IDENTS_SZ, sizeof(*ip_idents), kmalloc_array 824 net/mac80211/main.c suites = kmalloc_array(n_suites, sizeof(u32), GFP_KERNEL); kmalloc_array 1579 net/mac80211/rc80211_minstrel_ht.c msp->sample_table = kmalloc_array(max_rates, SAMPLE_COLUMNS, gfp); kmalloc_array 5092 net/netfilter/nf_tables_api.c tb = kmalloc_array(type->maxattr + 1, sizeof(*tb), GFP_KERNEL); kmalloc_array 322 net/netfilter/nfnetlink_cthelper.c new_policy = kmalloc_array(helper->expect_class_max + 1, kmalloc_array 355 net/netlink/genetlink.c family->attrbuf = kmalloc_array(family->maxattr + 1, kmalloc_array 593 net/netlink/genetlink.c attrbuf = kmalloc_array(family->maxattr + 1, kmalloc_array 1860 net/openvswitch/conntrack.c kmalloc_array(CT_LIMIT_HASH_BUCKETS, sizeof(struct hlist_head), kmalloc_array 1625 net/openvswitch/datapath.c dp->ports = kmalloc_array(DP_VPORT_HASH_BUCKETS, kmalloc_array 574 net/openvswitch/meter.c dp->meters = kmalloc_array(METER_HASH_BUCKETS, kmalloc_array 191 net/rds/info.c pages = kmalloc_array(nr_pages, sizeof(struct page *), GFP_KERNEL); kmalloc_array 458 net/rxrpc/rxkad.c sg = kmalloc_array(nsg, sizeof(*sg), GFP_NOIO); kmalloc_array 377 net/sched/sch_dsmark.c p->mv = kmalloc_array(indices, sizeof(*p->mv), GFP_KERNEL); kmalloc_array 1454 net/sctp/protocol.c kmalloc_array(64, sizeof(struct sctp_hashbucket), GFP_KERNEL); kmalloc_array 1801 net/sunrpc/auth_gss/auth_gss.c = kmalloc_array(rqstp->rq_enc_pages_num, kmalloc_array 186 net/sunrpc/auth_gss/gss_krb5_crypto.c rc4salt = kmalloc_array(4, sizeof(*rc4salt), GFP_NOFS); kmalloc_array 148 net/sunrpc/xdr.c buf->bvec = kmalloc_array(n, sizeof(buf->bvec[0]), gfp); kmalloc_array 311 net/tipc/netlink_compat.c attrbuf = kmalloc_array(tipc_genl_family.maxattr + 1, kmalloc_array 394 net/tls/tls_device_fallback.c sg_in = kmalloc_array(sg_in_max_elements, sizeof(*sg_in), GFP_ATOMIC); kmalloc_array 221 security/integrity/ima/ima_template.c *fields = kmalloc_array(i, sizeof(*fields), GFP_KERNEL); kmalloc_array 177 security/selinux/ss/conditional.c p->bool_val_to_struct = kmalloc_array(p->p_bools.nprim, kmalloc_array 30 security/selinux/ss/hashtab.c p->htable = kmalloc_array(size, sizeof(*p->htable), GFP_KERNEL); kmalloc_array 415 sound/core/pcm_compat.c bufs = kmalloc_array(ch, sizeof(void __user *), GFP_KERNEL); kmalloc_array 3134 sound/core/pcm_native.c bufs = kmalloc_array(to->nr_segs, sizeof(void *), GFP_KERNEL); kmalloc_array 3169 sound/core/pcm_native.c bufs = kmalloc_array(from->nr_segs, sizeof(void *), GFP_KERNEL); kmalloc_array 646 sound/core/seq/seq_midi_emul.c chan = kmalloc_array(n, sizeof(struct snd_midi_channel), GFP_KERNEL); kmalloc_array 115 sound/firewire/bebob/bebob_maudio.c cues = kmalloc_array(3, sizeof(*cues), GFP_KERNEL); kmalloc_array 147 sound/firewire/dice/dice-extension.c pointers = kmalloc_array(9, sizeof(__be32) * 2, GFP_KERNEL); kmalloc_array 279 sound/firewire/dice/dice-transaction.c pointers = kmalloc_array(ARRAY_SIZE(min_values), sizeof(__be32), kmalloc_array 30 sound/firewire/packets-buffer.c b->packets = kmalloc_array(count, sizeof(*b->packets), GFP_KERNEL); kmalloc_array 423 sound/oss/dmasound/dmasound_core.c sq->buffers = kmalloc_array (num, sizeof(char *), GFP_KERNEL); kmalloc_array 449 sound/pci/cs46xx/cs46xx_lib.c entry->data = kmalloc_array(entry->size, 4, GFP_KERNEL); kmalloc_array 4021 sound/pci/cs46xx/cs46xx_lib.c chip->saved_regs = kmalloc_array(ARRAY_SIZE(saved_regs), kmalloc_array 234 sound/pci/cs46xx/dsp_spos.c ins->modules = kmalloc_array(DSP_MAX_MODULES, kmalloc_array 2677 sound/pci/emu10k1/emufx.c emu->saved_gpr = kmalloc_array(len, 4, GFP_KERNEL); kmalloc_array 2681 sound/pci/emu10k1/emufx.c emu->tram_val_saved = kmalloc_array(len, 4, GFP_KERNEL); kmalloc_array 2682 sound/pci/emu10k1/emufx.c emu->tram_addr_saved = kmalloc_array(len, 4, GFP_KERNEL); kmalloc_array 141 sound/pci/hda/hda_codec.c result = kmalloc_array(len, sizeof(hda_nid_t), GFP_KERNEL); kmalloc_array 421 sound/pci/hda/hda_codec.c codec->wcaps = kmalloc_array(codec->core.num_nodes, 4, GFP_KERNEL); kmalloc_array 814 sound/pci/hda/hda_proc.c conn = kmalloc_array(conn_len, kmalloc_array 428 sound/pci/via82xx.c dev->idx_table = kmalloc_array(VIA_TABLE_SIZE, kmalloc_array 281 sound/pci/via82xx_modem.c dev->idx_table = kmalloc_array(VIA_TABLE_SIZE, kmalloc_array 2416 sound/pci/ymfpci/ymfpci_main.c chip->saved_regs = kmalloc_array(YDSXGR_NUM_SAVED_REGS, sizeof(u32), kmalloc_array 2043 sound/soc/codecs/wm8904.c wm8904->drc_texts = kmalloc_array(pdata->num_drc_cfgs, kmalloc_array 932 sound/soc/codecs/wm8958-dsp2.c wm8994->mbc_texts = kmalloc_array(pdata->num_mbc_cfgs, kmalloc_array 958 sound/soc/codecs/wm8958-dsp2.c wm8994->vss_texts = kmalloc_array(pdata->num_vss_cfgs, kmalloc_array 985 sound/soc/codecs/wm8958-dsp2.c wm8994->vss_hpf_texts = kmalloc_array(pdata->num_vss_hpf_cfgs, kmalloc_array 1013 sound/soc/codecs/wm8958-dsp2.c wm8994->enh_eq_texts = kmalloc_array(pdata->num_enh_eq_cfgs, kmalloc_array 718 sound/usb/caiaq/audio.c urbs = kmalloc_array(N_URBS, sizeof(*urbs), GFP_KERNEL); kmalloc_array 732 sound/usb/caiaq/audio.c kmalloc_array(BYTES_PER_FRAME, FRAMES_PER_URB, kmalloc_array 848 sound/usb/caiaq/audio.c kmalloc_array(N_URBS, sizeof(struct snd_usb_caiaq_cb_info), kmalloc_array 183 sound/usb/format.c fp->rate_table = kmalloc_array(nr_rates, sizeof(int), kmalloc_array 452 sound/usb/format.c fp->rate_table = kmalloc_array(fp->nr_rates, sizeof(int), GFP_KERNEL); kmalloc_array 1208 sound/usb/pcm.c kmalloc_array(count, sizeof(int), GFP_KERNEL); kmalloc_array 256 sound/usb/usx2y/usbusx2y.c usX2Y->AS04.buffer = kmalloc_array(URBS_AsyncSeq, kmalloc_array 426 sound/usb/usx2y/usbusx2yaudio.c kmalloc_array(subs->maxpacksize, kmalloc_array 653 sound/usb/usx2y/usbusx2yaudio.c usbdata = kmalloc_array(NOOF_SETRATE_URBS, sizeof(int), kmalloc_array 52 tools/virtio/ringtest/ptr_ring.c return kmalloc_array(n, size, flags | __GFP_ZERO); kmalloc_array 61 tools/virtio/ringtest/ptr_ring.c #define kvmalloc_array kmalloc_array kmalloc_array 328 virt/kvm/arm/vgic/vgic-its.c intids = kmalloc_array(irq_count, sizeof(intids[0]), GFP_KERNEL);