kcalloc 96 arch/alpha/kernel/module.c chains = kcalloc(nsyms, sizeof(struct got_entry), GFP_KERNEL); kcalloc 97 arch/arm/kernel/suspend.c ctx_ptr = kcalloc(mpidr_hash_size(), sizeof(u32), GFP_KERNEL); kcalloc 94 arch/arm/kernel/topology.c __cpu_capacity = kcalloc(nr_cpu_ids, sizeof(*__cpu_capacity), kcalloc 201 arch/arm/kernel/vdso.c vdso_text_pagelist = kcalloc(text_pages, sizeof(struct page *), kcalloc 252 arch/arm/mach-footbridge/dc21285.c res = kcalloc(2, sizeof(struct resource), GFP_KERNEL); kcalloc 420 arch/arm/mach-ixp4xx/common-pci.c res = kcalloc(2, sizeof(*res), GFP_KERNEL); kcalloc 389 arch/arm/mach-omap1/mcbsp.c omap_mcbsp_devices = kcalloc(size, sizeof(struct platform_device *), kcalloc 160 arch/arm/mach-omap2/omap_device.c hwmods = kcalloc(oh_cnt, sizeof(struct omap_hwmod *), GFP_KERNEL); kcalloc 411 arch/arm/mach-omap2/omap_device.c res = kcalloc(2, sizeof(*res), GFP_KERNEL); kcalloc 3498 arch/arm/mach-omap2/omap_hwmod.c oi = kcalloc(1, sizeof(*oi), GFP_KERNEL); kcalloc 284 arch/arm/mach-omap2/prm_common.c prcm_irq_chips = kcalloc(nr_regs, sizeof(void *), GFP_KERNEL); kcalloc 285 arch/arm/mach-omap2/prm_common.c prcm_irq_setup->saved_mask = kcalloc(nr_regs, sizeof(u32), kcalloc 287 arch/arm/mach-omap2/prm_common.c prcm_irq_setup->priority_mask = kcalloc(nr_regs, sizeof(u32), kcalloc 44 arch/arm/mach-omap2/sr_device.c nvalue_table = kcalloc(count, sizeof(*nvalue_table), GFP_KERNEL); kcalloc 406 arch/arm/mach-vexpress/spc.c opps = kcalloc(MAX_OPPS, sizeof(*opps), GFP_KERNEL); kcalloc 2097 arch/arm/mm/dma-mapping.c mapping->bitmaps = kcalloc(extensions, sizeof(unsigned long *), kcalloc 1910 arch/arm/net/bpf_jit_32.c ctx.offsets = kcalloc(prog->len, sizeof(int), GFP_KERNEL); kcalloc 1944 arch/arm/net/bpf_jit_32.c ctx.imms = kcalloc(ctx.imm_count, sizeof(u32), GFP_KERNEL); kcalloc 1316 arch/arm/plat-omap/dma.c dma_linked_lch = kcalloc(dma_lch_count, kcalloc 237 arch/arm64/kernel/armv8_deprecated.c insns_sysctl = kcalloc(nr_insn_emulated + 1, sizeof(*sysctl), kcalloc 138 arch/arm64/kernel/suspend.c sleep_save_stash = kcalloc(mpidr_hash_size(), sizeof(*sleep_save_stash), kcalloc 117 arch/arm64/kernel/vdso.c vdso_pagelist = kcalloc(vdso_lookup[arch_index].vdso_pages + 1, kcalloc 258 arch/arm64/mm/context.c asid_map = kcalloc(BITS_TO_LONGS(NUM_USER_ASIDS), sizeof(*asid_map), kcalloc 874 arch/arm64/net/bpf_jit_comp.c ctx.offset = kcalloc(prog->len, sizeof(int), GFP_KERNEL); kcalloc 181 arch/csky/mm/asid.c info->map = kcalloc(BITS_TO_LONGS(NUM_CTXT_ASIDS(info)), kcalloc 84 arch/ia64/kernel/topology.c sysfs_cpus = kcalloc(NR_CPUS, sizeof(struct ia64_cpu), GFP_KERNEL); kcalloc 318 arch/ia64/kernel/topology.c this_cache=kcalloc(unique_caches, sizeof(struct cache_info), kcalloc 988 arch/mips/alchemy/common/clock.c a = kcalloc(6, sizeof(*a), GFP_KERNEL); kcalloc 1053 arch/mips/alchemy/common/dbdma.c dbdev_tab = kcalloc(DBDEV_TAB_SIZE, sizeof(dbdev_tab_t), GFP_KERNEL); kcalloc 118 arch/mips/alchemy/common/platform.c ports = kcalloc(s, (c + 1), GFP_KERNEL); kcalloc 199 arch/mips/alchemy/common/platform.c *r = kcalloc(2, sizeof(struct resource), GFP_KERNEL); kcalloc 107 arch/mips/alchemy/devboards/platform.c sr = kcalloc(cnt, sizeof(struct resource), GFP_KERNEL); kcalloc 182 arch/mips/alchemy/devboards/platform.c parts = kcalloc(5, sizeof(struct mtd_partition), GFP_KERNEL); kcalloc 103 arch/mips/bmips/dma.c bmips_dma_ranges = kcalloc(len + 1, sizeof(struct bmips_dma_range), kcalloc 368 arch/mips/kernel/pm-cps.c p = buf = kcalloc(max_instrs, sizeof(u32), GFP_KERNEL); kcalloc 172 arch/mips/kernel/smp-cps.c mips_cps_core_bootcfg = kcalloc(ncores, sizeof(*mips_cps_core_bootcfg), kcalloc 182 arch/mips/kernel/smp-cps.c mips_cps_core_bootcfg[c].vpe_config = kcalloc(core_vpes, kcalloc 86 arch/mips/math-emu/dsemul.c kcalloc(BITS_TO_LONGS(emupage_frame_count), kcalloc 280 arch/mips/mm/context.c mmid_map = kcalloc(BITS_TO_LONGS(num_mmids), sizeof(*mmid_map), kcalloc 1836 arch/mips/net/ebpf_jit.c ctx.offsets = kcalloc(prog->len + 1, sizeof(*ctx.offsets), GFP_KERNEL); kcalloc 1840 arch/mips/net/ebpf_jit.c ctx.reg_val_types = kcalloc(prog->len + 1, sizeof(*ctx.reg_val_types), GFP_KERNEL); kcalloc 222 arch/mips/txx9/rbtx4939/setup.c leds_data = kcalloc(RBTX4939_MAX_7SEGLEDS, sizeof(*leds_data), kcalloc 81 arch/nds32/kernel/vdso.c vdso_pagelist = kcalloc(vdso_pages, sizeof(struct page *), GFP_KERNEL); kcalloc 770 arch/powerpc/kernel/vdso.c vdso32_pagelist = kcalloc(vdso32_pages + 2, sizeof(struct page *), kcalloc 783 arch/powerpc/kernel/vdso.c vdso64_pagelist = kcalloc(vdso64_pages + 2, sizeof(struct page *), kcalloc 799 arch/powerpc/kvm/e500_mmu.c privs[0] = kcalloc(params.tlb_sizes[0], sizeof(*privs[0]), GFP_KERNEL); kcalloc 805 arch/powerpc/kvm/e500_mmu.c privs[1] = kcalloc(params.tlb_sizes[1], sizeof(*privs[1]), GFP_KERNEL); kcalloc 811 arch/powerpc/kvm/e500_mmu.c g2h_bitmap = kcalloc(params.tlb_sizes[1], kcalloc 929 arch/powerpc/kvm/e500_mmu.c vcpu_e500->gtlb_priv[0] = kcalloc(vcpu_e500->gtlb_params[0].entries, kcalloc 935 arch/powerpc/kvm/e500_mmu.c vcpu_e500->gtlb_priv[1] = kcalloc(vcpu_e500->gtlb_params[1].entries, kcalloc 941 arch/powerpc/kvm/e500_mmu.c vcpu_e500->g2h_tlb1_map = kcalloc(vcpu_e500->gtlb_params[1].entries, kcalloc 799 arch/powerpc/kvm/e500_mmu_host.c vcpu_e500->h2g_tlb1_rmap = kcalloc(host_tlb_params[1].entries, kcalloc 360 arch/powerpc/mm/drmem.c drmem_info->lmbs = kcalloc(drmem_info->n_lmbs, sizeof(*lmb), kcalloc 390 arch/powerpc/mm/drmem.c drmem_info->lmbs = kcalloc(drmem_info->n_lmbs, sizeof(*lmb), kcalloc 1331 arch/powerpc/mm/numa.c updates = kcalloc(weight, sizeof(*updates), GFP_KERNEL); kcalloc 565 arch/powerpc/net/bpf_jit_comp.c addrs = kcalloc(flen + 1, sizeof(*addrs), GFP_KERNEL); kcalloc 1126 arch/powerpc/net/bpf_jit_comp64.c addrs = kcalloc(flen + 1, sizeof(*addrs), GFP_KERNEL); kcalloc 209 arch/powerpc/oprofile/cell/spu_profiler.c samples = kcalloc(SPUS_PER_NODE * TRACE_ARRAY_SIZE, sizeof(u32), kcalloc 246 arch/powerpc/perf/imc-pmu.c pmu->events = kcalloc(ct, sizeof(struct imc_events), GFP_KERNEL); kcalloc 273 arch/powerpc/perf/imc-pmu.c attrs = kcalloc(((ct * 3) + 1), sizeof(struct attribute *), GFP_KERNEL); kcalloc 1374 arch/powerpc/perf/imc-pmu.c nest_imc_refc = kcalloc(num_possible_nodes(), sizeof(*nest_imc_refc), kcalloc 1546 arch/powerpc/perf/imc-pmu.c per_nest_pmu_arr = kcalloc(get_max_nest_dev() + 1, kcalloc 1561 arch/powerpc/perf/imc-pmu.c pmu_ptr->mem_info = kcalloc(nr_cores, sizeof(struct imc_mem_info), kcalloc 1567 arch/powerpc/perf/imc-pmu.c core_imc_refc = kcalloc(nr_cores, sizeof(struct imc_pmu_ref), kcalloc 1601 arch/powerpc/perf/imc-pmu.c trace_imc_refc = kcalloc(nr_cores, sizeof(struct imc_pmu_ref), kcalloc 1451 arch/powerpc/platforms/4xx/pci.c kcalloc(count, sizeof(struct ppc4xx_pciex_port), kcalloc 1238 arch/powerpc/platforms/powernv/idle.c pnv_idle_states = kcalloc(nr_idle_states, sizeof(*pnv_idle_states), kcalloc 1240 arch/powerpc/platforms/powernv/idle.c temp_u32 = kcalloc(nr_idle_states, sizeof(u32), GFP_KERNEL); kcalloc 1241 arch/powerpc/platforms/powernv/idle.c temp_u64 = kcalloc(nr_idle_states, sizeof(u64), GFP_KERNEL); kcalloc 1242 arch/powerpc/platforms/powernv/idle.c temp_string = kcalloc(nr_idle_states, sizeof(char *), GFP_KERNEL); kcalloc 138 arch/powerpc/platforms/powernv/memtrace.c memtrace_array = kcalloc(num_online_nodes(), kcalloc 268 arch/powerpc/platforms/powernv/opal-async.c opal_async_tokens = kcalloc(opal_max_async_tokens, kcalloc 105 arch/powerpc/platforms/powernv/opal-imc.c base_addr_arr = kcalloc(nr_chips, sizeof(*base_addr_arr), GFP_KERNEL); kcalloc 109 arch/powerpc/platforms/powernv/opal-imc.c chipid_arr = kcalloc(nr_chips, sizeof(*chipid_arr), GFP_KERNEL); kcalloc 122 arch/powerpc/platforms/powernv/opal-imc.c pmu_ptr->mem_info = kcalloc(nr_chips + 1, sizeof(*pmu_ptr->mem_info), kcalloc 226 arch/powerpc/platforms/powernv/opal-irqchip.c opal_irqs = kcalloc(opal_irq_count, sizeof(struct resource), GFP_KERNEL); kcalloc 153 arch/powerpc/platforms/powernv/opal-powercap.c pcaps = kcalloc(of_get_child_count(powercap), sizeof(*pcaps), kcalloc 185 arch/powerpc/platforms/powernv/opal-powercap.c pcaps[i].pattrs = kcalloc(j, sizeof(struct powercap_attr), kcalloc 190 arch/powerpc/platforms/powernv/opal-powercap.c pcaps[i].pg.attrs = kcalloc(j + 1, sizeof(struct attribute *), kcalloc 135 arch/powerpc/platforms/powernv/opal-psr.c psr_attrs = kcalloc(of_get_child_count(psr), sizeof(*psr_attrs), kcalloc 171 arch/powerpc/platforms/powernv/opal-sensor-groups.c sgs = kcalloc(of_get_child_count(sg), sizeof(*sgs), GFP_KERNEL); kcalloc 193 arch/powerpc/platforms/powernv/opal-sensor-groups.c sgs[i].sgattrs = kcalloc(nr_attrs, sizeof(*sgs[i].sgattrs), kcalloc 198 arch/powerpc/platforms/powernv/opal-sensor-groups.c sgs[i].sg.attrs = kcalloc(nr_attrs + 1, kcalloc 188 arch/powerpc/platforms/powernv/opal-sysparam.c id = kcalloc(count, sizeof(*id), GFP_KERNEL); kcalloc 195 arch/powerpc/platforms/powernv/opal-sysparam.c size = kcalloc(count, sizeof(*size), GFP_KERNEL); kcalloc 202 arch/powerpc/platforms/powernv/opal-sysparam.c perm = kcalloc(count, sizeof(*perm), GFP_KERNEL); kcalloc 225 arch/powerpc/platforms/powernv/opal-sysparam.c attr = kcalloc(count, sizeof(*attr), GFP_KERNEL); kcalloc 687 arch/powerpc/platforms/pseries/hotplug-cpu.c cpu_drcs = kcalloc(cpus_to_remove, sizeof(*cpu_drcs), GFP_KERNEL); kcalloc 766 arch/powerpc/platforms/pseries/hotplug-cpu.c cpu_drcs = kcalloc(cpus_to_add, sizeof(*cpu_drcs), GFP_KERNEL); kcalloc 205 arch/powerpc/platforms/pseries/lpar.c vcpu_associativity = kcalloc(num_possible_cpus() / threads_per_core, kcalloc 207 arch/powerpc/platforms/pseries/lpar.c pcpu_associativity = kcalloc(NR_CPUS_H / threads_per_core, kcalloc 547 arch/powerpc/sysdev/mpic.c mpic->fixups = kcalloc(128, sizeof(*mpic->fixups), GFP_KERNEL); kcalloc 1327 arch/powerpc/sysdev/mpic.c mpic->protected = kcalloc(mapsize, sizeof(long), GFP_KERNEL); kcalloc 182 arch/powerpc/sysdev/mpic_msgr.c mpic_msgrs = kcalloc(mpic_msgr_count, sizeof(*mpic_msgrs), kcalloc 503 arch/powerpc/sysdev/xive/native.c xive_provision_chips = kcalloc(4, xive_provision_chip_count, kcalloc 37 arch/riscv/kernel/vdso.c kcalloc(vdso_pages + 1, sizeof(struct page *), GFP_KERNEL); kcalloc 1594 arch/riscv/net/bpf_jit_comp.c ctx->offset = kcalloc(prog->len, sizeof(int), GFP_KERNEL); kcalloc 370 arch/s390/appldata/appldata_base.c ops->ctl_table = kcalloc(4, sizeof(struct ctl_table), GFP_KERNEL); kcalloc 243 arch/s390/kernel/debug.c rc->active_entries = kcalloc(nr_areas, sizeof(int), GFP_KERNEL); kcalloc 246 arch/s390/kernel/debug.c rc->active_pages = kcalloc(nr_areas, sizeof(int), GFP_KERNEL); kcalloc 276 arch/s390/kernel/vdso.c vdso32_pagelist = kcalloc(vdso32_pages + 1, sizeof(struct page *), kcalloc 293 arch/s390/kernel/vdso.c vdso64_pagelist = kcalloc(vdso64_pages + 1, sizeof(struct page *), kcalloc 830 arch/s390/pci/pci.c zpci_iomap_start = kcalloc(ZPCI_IOMAP_ENTRIES, kcalloc 835 arch/s390/pci/pci.c zpci_iomap_bitmap = kcalloc(BITS_TO_LONGS(ZPCI_IOMAP_ENTRIES), kcalloc 391 arch/s390/pci/pci_irq.c zpci_ibv = kcalloc(num_possible_cpus(), sizeof(*zpci_ibv), kcalloc 417 arch/s390/pci/pci_irq.c zpci_ibv = kcalloc(ZPCI_NR_DEVICES, sizeof(*zpci_ibv), GFP_KERNEL); kcalloc 156 arch/sh/drivers/dma/dmabrg.c dmabrg_handlers = kcalloc(10, sizeof(struct dmabrg_handler), kcalloc 561 arch/sh/drivers/pci/pcie-sh7786.c sh7786_pcie_ports = kcalloc(nr_ports, sizeof(struct sh7786_pcie_port), kcalloc 632 arch/sparc/kernel/sys_sparc_64.c kcalloc(UT_TRAP_INSTRUCTION_31 + 1, sizeof(long), kcalloc 268 arch/sparc/vdso/vma.c cpp = kcalloc(cnpages, sizeof(struct page *), GFP_KERNEL); kcalloc 290 arch/sparc/vdso/vma.c dpp = kcalloc(dnpages, sizeof(struct page *), GFP_KERNEL); kcalloc 382 arch/x86/events/amd/iommu.c attrs = kcalloc(i + 1, sizeof(struct attribute **), GFP_KERNEL); kcalloc 914 arch/x86/events/intel/uncore.c pmus = kcalloc(type->num_boxes, sizeof(*pmus), GFP_KERNEL); kcalloc 284 arch/x86/hyperv/hv_init.c hv_vp_assist_page = kcalloc(num_possible_cpus(), kcalloc 264 arch/x86/kernel/amd_nb.c nb = kcalloc(misc_count, sizeof(struct amd_northbridge), GFP_KERNEL); kcalloc 546 arch/x86/kernel/cpu/cacheinfo.c amd_l3_attrs = kcalloc(n, sizeof(*amd_l3_attrs), GFP_KERNEL); kcalloc 1465 arch/x86/kernel/cpu/mce/amd.c bp = kcalloc(per_cpu(mce_num_banks, cpu), sizeof(struct threshold_bank *), kcalloc 46 arch/x86/kernel/cpu/mtrr/if.c fcount = kcalloc(max, sizeof(*fcount), GFP_KERNEL); kcalloc 520 arch/x86/kernel/cpu/resctrl/core.c d->mbm_total = kcalloc(r->num_rmid, tsize, GFP_KERNEL); kcalloc 528 arch/x86/kernel/cpu/resctrl/core.c d->mbm_local = kcalloc(r->num_rmid, tsize, GFP_KERNEL); kcalloc 559 arch/x86/kernel/cpu/resctrl/monitor.c rmid_ptrs = kcalloc(nr_rmids, sizeof(struct rmid_entry), GFP_KERNEL); kcalloc 859 arch/x86/kernel/hpet.c hc = kcalloc(channels, sizeof(*hc), GFP_KERNEL); kcalloc 172 arch/x86/pci/xen.c v = kcalloc(max(1, nvec), sizeof(int), GFP_KERNEL); kcalloc 2129 arch/x86/platform/uv/tlb_uv.c uvhub_descs = kcalloc(nuvhubs, sizeof(struct uvhub_desc), GFP_KERNEL); kcalloc 148 arch/x86/platform/uv/uv_time.c blade_info = kcalloc(uv_possible_blades, sizeof(void *), GFP_KERNEL); kcalloc 2209 block/bio.c bio_slabs = kcalloc(bio_slab_max, sizeof(struct bio_slab), kcalloc 219 block/partitions/aix.c lvip = kcalloc(state->limit, sizeof(struct lv_info), GFP_KERNEL); kcalloc 266 crypto/asymmetric_keys/verify_pefile.c canon = kcalloc(ctx->n_sections, sizeof(unsigned), GFP_KERNEL); kcalloc 190 crypto/tcrypt.c rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); kcalloc 217 crypto/tcrypt.c rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); kcalloc 280 crypto/tcrypt.c data = kcalloc(num_mb, sizeof(*data), GFP_KERNEL); kcalloc 751 crypto/tcrypt.c rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); kcalloc 778 crypto/tcrypt.c rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); kcalloc 819 crypto/tcrypt.c data = kcalloc(num_mb, sizeof(*data), GFP_KERNEL); kcalloc 1188 crypto/tcrypt.c rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); kcalloc 1215 crypto/tcrypt.c rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); kcalloc 1266 crypto/tcrypt.c data = kcalloc(num_mb, sizeof(*data), GFP_KERNEL); kcalloc 181 drivers/acpi/acpi_adxl.c adxl_component_names = kcalloc(adxl_count + 1, sizeof(char *), GFP_KERNEL); kcalloc 107 drivers/acpi/acpi_lpat.c lpat = kcalloc(obj_p->package.count, sizeof(int), GFP_KERNEL); kcalloc 121 drivers/acpi/acpi_platform.c resources = kcalloc(count, sizeof(struct resource), kcalloc 1338 drivers/acpi/acpi_video.c active_list = kcalloc(1 + dod->package.count, kcalloc 174 drivers/acpi/acpi_watchdog.c resources = kcalloc(nresources, sizeof(*resources), GFP_KERNEL); kcalloc 1477 drivers/acpi/arm64/iort.c r = kcalloc(count, sizeof(*r), GFP_KERNEL); kcalloc 255 drivers/acpi/pci_mcfg.c arr = kcalloc(n, sizeof(*arr), GFP_KERNEL); kcalloc 996 drivers/acpi/processor_idle.c lpi_state = kcalloc(pkg_count, sizeof(*lpi_state), GFP_KERNEL); kcalloc 751 drivers/acpi/sleep.c lpi_constraints_table = kcalloc(out_obj->package.count, kcalloc 863 drivers/acpi/sysfs.c all_attrs = kcalloc(num_counters + 1, sizeof(struct attribute *), kcalloc 868 drivers/acpi/sysfs.c all_counters = kcalloc(num_counters, sizeof(struct event_counter), kcalloc 877 drivers/acpi/sysfs.c counter_attrs = kcalloc(num_counters, sizeof(struct kobj_attribute), kcalloc 697 drivers/android/binder_alloc.c alloc->pages = kcalloc(alloc->buffer_size / PAGE_SIZE, kcalloc 476 drivers/ata/libahci_platform.c hpriv->target_pwrs = kcalloc(hpriv->nports, sizeof(*hpriv->target_pwrs), GFP_KERNEL); kcalloc 7040 drivers/ata/libata-core.c ata_force_tbl = kcalloc(size, sizeof(ata_force_tbl[0]), GFP_KERNEL); kcalloc 342 drivers/ata/libata-pmp.c pmp_link = kcalloc(SATA_PMP_MAX_PORTS, sizeof(pmp_link[0]), kcalloc 1792 drivers/atm/firestream.c dev->atm_vccs = kcalloc (dev->nchannels, sizeof (struct atm_vcc *), kcalloc 2027 drivers/atm/fore200e.c buffer = bsq->buffer = kcalloc(nbr, sizeof(struct buffer), kcalloc 1622 drivers/atm/iphase.c iadev->rx_open = kcalloc(iadev->num_vc, sizeof(void *), GFP_KERNEL); kcalloc 607 drivers/atm/zatm.c zatm_dev->rx_map = kcalloc(zatm_dev->chans, kcalloc 141 drivers/base/arch_topology.c raw_capacity = kcalloc(num_possible_cpus(), kcalloc 319 drivers/base/cacheinfo.c per_cpu_cacheinfo(cpu) = kcalloc(cache_leaves(cpu), kcalloc 591 drivers/base/cacheinfo.c per_cpu_index_dev(cpu) = kcalloc(cache_leaves(cpu), kcalloc 201 drivers/base/power/clock_ops.c clks = kcalloc(count, sizeof(*clks), GFP_KERNEL); kcalloc 2668 drivers/base/power/domain.c st = kcalloc(ret, sizeof(*st), GFP_KERNEL); kcalloc 438 drivers/base/property.c values = kcalloc(nval, sizeof(*values), GFP_KERNEL); kcalloc 29 drivers/base/regmap/regcache-flat.c map->cache = kcalloc(regcache_flat_get_index(map, map->max_register) kcalloc 138 drivers/base/regmap/regcache-lzo.c map->cache = kcalloc(blkcount, sizeof(*lzo_blocks), kcalloc 354 drivers/base/regmap/regcache-rbtree.c rbnode->cache_present = kcalloc(BITS_TO_LONGS(rbnode->blklen), kcalloc 598 drivers/base/regmap/regmap-irq.c d->main_status_buf = kcalloc(chip->num_main_regs, kcalloc 606 drivers/base/regmap/regmap-irq.c d->status_buf = kcalloc(chip->num_regs, sizeof(unsigned int), kcalloc 611 drivers/base/regmap/regmap-irq.c d->mask_buf = kcalloc(chip->num_regs, sizeof(unsigned int), kcalloc 616 drivers/base/regmap/regmap-irq.c d->mask_buf_def = kcalloc(chip->num_regs, sizeof(unsigned int), kcalloc 622 drivers/base/regmap/regmap-irq.c d->wake_buf = kcalloc(chip->num_regs, sizeof(unsigned int), kcalloc 630 drivers/base/regmap/regmap-irq.c d->type_buf_def = kcalloc(num_type_reg, kcalloc 635 drivers/base/regmap/regmap-irq.c d->type_buf = kcalloc(num_type_reg, sizeof(unsigned int), kcalloc 347 drivers/base/swnode.c d = kcalloc(nval, sizeof(*d), GFP_KERNEL); kcalloc 431 drivers/base/swnode.c p = kcalloc(n + 1, sizeof(*p), GFP_KERNEL); kcalloc 623 drivers/bcma/sprom.c sprom = kcalloc(words, sizeof(u16), GFP_KERNEL); kcalloc 215 drivers/block/aoe/aoecmd.c f = kcalloc(1, sizeof(*f), GFP_ATOMIC); kcalloc 1429 drivers/block/aoe/aoecmd.c tt = kcalloc(newn, sizeof(*d->targets), GFP_ATOMIC); kcalloc 1697 drivers/block/aoe/aoecmd.c iocq = kcalloc(ncpus, sizeof(struct iocq_ktio), GFP_KERNEL); kcalloc 1701 drivers/block/aoe/aoecmd.c kts = kcalloc(ncpus, sizeof(struct ktstate), GFP_KERNEL); kcalloc 1707 drivers/block/aoe/aoecmd.c ktiowq = kcalloc(ncpus, sizeof(wait_queue_head_t), GFP_KERNEL); kcalloc 463 drivers/block/aoe/aoedev.c d = kcalloc(1, sizeof *d, GFP_ATOMIC); kcalloc 466 drivers/block/aoe/aoedev.c d->targets = kcalloc(NTARGETS, sizeof(*d->targets), GFP_ATOMIC); kcalloc 504 drivers/block/drbd/drbd_main.c resources_per_cpu = kcalloc(nr_cpu_ids, sizeof(*resources_per_cpu), kcalloc 1476 drivers/block/null_blk_main.c nq->cmds = kcalloc(nq->queue_depth, sizeof(*cmd), GFP_KERNEL); kcalloc 1481 drivers/block/null_blk_main.c nq->tag_map = kcalloc(tag_size, sizeof(unsigned long), GFP_KERNEL); kcalloc 1499 drivers/block/null_blk_main.c nullb->queues = kcalloc(nullb->dev->submit_queues, kcalloc 411 drivers/block/ps3vram.c priv->cache.tags = kcalloc(CACHE_PAGE_COUNT, kcalloc 3215 drivers/block/rbd.c obj_req->copyup_bvecs = kcalloc(obj_req->copyup_bvec_count, kcalloc 852 drivers/block/rsxx/core.c card->ctrl = kcalloc(card->n_targets, sizeof(*card->ctrl), kcalloc 1027 drivers/block/rsxx/dma.c issued_dmas = kcalloc(card->n_targets, sizeof(*issued_dmas), kcalloc 2494 drivers/block/skd_main.c skdev->msix_entries = kcalloc(SKD_MAX_MSIX_COUNT, kcalloc 2669 drivers/block/skd_main.c skdev->skmsg_table = kcalloc(skdev->num_fitmsg_context, kcalloc 134 drivers/block/xen-blkback/xenbus.c blkif->rings = kcalloc(blkif->nr_rings, sizeof(struct xen_blkif_ring), kcalloc 431 drivers/block/xen-blkfront.c bitmap = kcalloc(BITS_TO_LONGS(end), sizeof(*bitmap), kcalloc 454 drivers/bus/arm-cci.c ports = kcalloc(nb_cci_ports, sizeof(*ports), GFP_KERNEL); kcalloc 221 drivers/bus/ti-sysc.c cl = kcalloc(1, sizeof(*cl), GFP_KERNEL); kcalloc 88 drivers/char/agp/amd-k7-agp.c tables = kcalloc(nr_tables + 1, sizeof(struct amd_page_map *), kcalloc 111 drivers/char/agp/ati-agp.c tables = kcalloc(nr_tables + 1, sizeof(struct ati_page_map *), kcalloc 99 drivers/char/agp/sworks-agp.c tables = kcalloc(nr_tables + 1, sizeof(struct serverworks_page_map *), kcalloc 2030 drivers/char/ipmi/ipmi_ssif.c address_list = kcalloc(count + 1, sizeof(*address_list), kcalloc 165 drivers/char/powernv-op-panel.c oppanel_data = kcalloc(oppanel_size, sizeof(*oppanel_data), GFP_KERNEL); kcalloc 169 drivers/char/powernv-op-panel.c oppanel_lines = kcalloc(num_lines, sizeof(oppanel_line_t), GFP_KERNEL); kcalloc 899 drivers/char/random.c pool = kcalloc(nr_node_ids, sizeof(*pool), GFP_KERNEL|__GFP_NOFAIL); kcalloc 782 drivers/char/tpm/tpm1-cmd.c chip->allocated_banks = kcalloc(1, sizeof(*chip->allocated_banks), kcalloc 875 drivers/char/tpm/tpm2-cmd.c chip->allocated_banks = kcalloc(nr_possible_banks, kcalloc 519 drivers/clk/at91/dt-compat.c output = kcalloc(num_output, sizeof(*output), GFP_KERNEL); kcalloc 524 drivers/clk/at91/dt-compat.c out = kcalloc(num_output, sizeof(*out), GFP_KERNEL); kcalloc 530 drivers/clk/at91/dt-compat.c icpll = kcalloc(num_output, sizeof(*icpll), GFP_KERNEL); kcalloc 96 drivers/clk/at91/pmc.c pmc_data->chws = kcalloc(ncore, sizeof(struct clk_hw *), GFP_KERNEL); kcalloc 101 drivers/clk/at91/pmc.c pmc_data->shws = kcalloc(nsystem, sizeof(struct clk_hw *), GFP_KERNEL); kcalloc 106 drivers/clk/at91/pmc.c pmc_data->phws = kcalloc(nperiph, sizeof(struct clk_hw *), GFP_KERNEL); kcalloc 111 drivers/clk/at91/pmc.c pmc_data->ghws = kcalloc(ngck, sizeof(struct clk_hw *), GFP_KERNEL); kcalloc 206 drivers/clk/bcm/clk-iproc-asiu.c asiu->clks = kcalloc(num_clks, sizeof(*asiu->clks), GFP_KERNEL); kcalloc 752 drivers/clk/bcm/clk-iproc-pll.c iclk_array = kcalloc(num_clks, sizeof(struct iproc_clk), GFP_KERNEL); kcalloc 1254 drivers/clk/clk-qoriq.c subclks = kcalloc(4, sizeof(struct clk *), GFP_KERNEL); kcalloc 3599 drivers/clk/clk.c parents = kcalloc(num_parents, sizeof(*parents), GFP_KERNEL); kcalloc 391 drivers/clk/davinci/psc.c pm_domains = kcalloc(num_clks, sizeof(*pm_domains), GFP_KERNEL); kcalloc 469 drivers/clk/hisilicon/clk-hi3620.c clk_data->clks = kcalloc(num, sizeof(*clk_data->clks), GFP_KERNEL); kcalloc 76 drivers/clk/hisilicon/clk.c clk_table = kcalloc(nr_clks, sizeof(*clk_table), GFP_KERNEL); kcalloc 120 drivers/clk/hisilicon/clkdivider-hi6220.c table = kcalloc(max_div + 1, sizeof(*table), GFP_KERNEL); kcalloc 775 drivers/clk/ingenic/cgu.c cgu->clocks.clks = kcalloc(cgu->clocks.clk_num, sizeof(struct clk *), kcalloc 303 drivers/clk/keystone/sci-clk.c parent_names = kcalloc(sci_clk->num_parents, sizeof(char *), kcalloc 29 drivers/clk/mediatek/clk-mtk.c clk_data->clks = kcalloc(clk_num, sizeof(*clk_data->clks), GFP_KERNEL); kcalloc 287 drivers/clk/mmp/clk-of-mmp2.c cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); kcalloc 235 drivers/clk/mmp/clk-of-pxa168.c cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); kcalloc 191 drivers/clk/mmp/clk-of-pxa1928.c cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); kcalloc 243 drivers/clk/mmp/clk-of-pxa910.c cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); kcalloc 15 drivers/clk/mmp/clk.c clk_table = kcalloc(nr_clks, sizeof(struct clk *), GFP_KERNEL); kcalloc 271 drivers/clk/mvebu/clk-corediv.c clks = kcalloc(clk_data.clk_num, sizeof(struct clk *), kcalloc 276 drivers/clk/mvebu/clk-corediv.c corediv = kcalloc(clk_data.clk_num, sizeof(struct clk_corediv), kcalloc 187 drivers/clk/mvebu/clk-cpu.c cpuclk = kcalloc(ncpus, sizeof(*cpuclk), GFP_KERNEL); kcalloc 191 drivers/clk/mvebu/clk-cpu.c clks = kcalloc(ncpus, sizeof(*clks), GFP_KERNEL); kcalloc 127 drivers/clk/mvebu/common.c clk_data.clks = kcalloc(clk_data.clk_num, sizeof(*clk_data.clks), kcalloc 271 drivers/clk/mvebu/common.c ctrl->gates = kcalloc(ctrl->num_gates, sizeof(*ctrl->gates), kcalloc 311 drivers/clk/mvebu/kirkwood.c ctrl->muxes = kcalloc(ctrl->num_muxes, sizeof(struct clk *), kcalloc 287 drivers/clk/nxp/clk-lpc18xx-ccu.c clk_data->name = kcalloc(clk_data->num, sizeof(char *), GFP_KERNEL); kcalloc 24 drivers/clk/pistachio/clk.c p->clk_data.clks = kcalloc(num_clks, sizeof(struct clk *), GFP_KERNEL); kcalloc 1006 drivers/clk/qcom/clk-rcg2.c freq_tbl = kcalloc(MAX_PERF_LEVEL + 1, sizeof(*freq_tbl), GFP_KERNEL); kcalloc 203 drivers/clk/renesas/clk-r8a73a4.c clks = kcalloc(num_clks, sizeof(*clks), GFP_KERNEL); kcalloc 162 drivers/clk/renesas/clk-r8a7740.c clks = kcalloc(num_clks, sizeof(*clks), GFP_KERNEL); kcalloc 104 drivers/clk/renesas/clk-r8a7778.c clks = kcalloc(num_clks, sizeof(*clks), GFP_KERNEL); kcalloc 138 drivers/clk/renesas/clk-r8a7779.c clks = kcalloc(CPG_NUM_CLOCKS, sizeof(*clks), GFP_KERNEL); kcalloc 418 drivers/clk/renesas/clk-rcar-gen2.c clks = kcalloc(num_clks, sizeof(*clks), GFP_KERNEL); kcalloc 98 drivers/clk/renesas/clk-rz.c clks = kcalloc(num_clks, sizeof(*clks), GFP_KERNEL); kcalloc 176 drivers/clk/renesas/clk-sh73a0.c clks = kcalloc(num_clks, sizeof(*clks), GFP_KERNEL); kcalloc 375 drivers/clk/rockchip/clk.c clk_table = kcalloc(nr_clks, sizeof(struct clk *), GFP_KERNEL); kcalloc 46 drivers/clk/samsung/clk.c rd = kcalloc(nr_rdump, sizeof(*rd), GFP_KERNEL); kcalloc 106 drivers/clk/sprd/pll.c cfg = kcalloc(regs_num, sizeof(*cfg), GFP_KERNEL); kcalloc 157 drivers/clk/sprd/pll.c cfg = kcalloc(regs_num, sizeof(*cfg), GFP_KERNEL); kcalloc 280 drivers/clk/st/clk-flexgen.c parents = kcalloc(nparents, sizeof(const char *), GFP_KERNEL); kcalloc 358 drivers/clk/st/clk-flexgen.c clk_data->clks = kcalloc(clk_data->clk_num, sizeof(struct clk *), kcalloc 872 drivers/clk/st/clkgen-fsyn.c clk_data->clks = kcalloc(QUADFS_MAX_CHAN, sizeof(struct clk *), kcalloc 28 drivers/clk/st/clkgen-mux.c parents = kcalloc(nparents, sizeof(const char *), GFP_KERNEL); kcalloc 723 drivers/clk/st/clkgen-pll.c clk_data->clks = kcalloc(clk_data->clk_num, sizeof(struct clk *), kcalloc 57 drivers/clk/sunxi/clk-a10-pll2.c clks = kcalloc(SUN4I_PLL2_OUTPUTS, sizeof(struct clk *), GFP_KERNEL); kcalloc 309 drivers/clk/sunxi/clk-mod0.c clk_data->clks = kcalloc(3, sizeof(*clk_data->clks), GFP_KERNEL); kcalloc 46 drivers/clk/sunxi/clk-simple-gates.c clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); kcalloc 56 drivers/clk/sunxi/clk-sun8i-bus-gates.c clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); kcalloc 37 drivers/clk/sunxi/clk-sun8i-mbus.c parents = kcalloc(num_parents, sizeof(*parents), GFP_KERNEL); kcalloc 1009 drivers/clk/sunxi/clk-sunxi.c clks = kcalloc(ndivs, sizeof(*clks), GFP_KERNEL); kcalloc 117 drivers/clk/sunxi/clk-usb.c clk_data->clks = kcalloc(qty + 1, sizeof(struct clk *), GFP_KERNEL); kcalloc 414 drivers/clk/tegra/clk-bpmp.c clocks = kcalloc(max_id + 1, sizeof(*clocks), GFP_KERNEL); kcalloc 509 drivers/clk/tegra/clk-bpmp.c parents = kcalloc(info->num_parents, sizeof(*parents), GFP_KERNEL); kcalloc 490 drivers/clk/tegra/clk-emc.c tegra = kcalloc(1, sizeof(*tegra), GFP_KERNEL); kcalloc 209 drivers/clk/tegra/clk.c periph_clk_enb_refcnt = kcalloc(32 * banks, kcalloc 217 drivers/clk/tegra/clk.c clks = kcalloc(num, sizeof(struct clk *), GFP_KERNEL); kcalloc 210 drivers/clk/ti/apll.c parent_names = kcalloc(init->num_parents, sizeof(char *), GFP_KERNEL); kcalloc 405 drivers/clk/ti/divider.c tmp = kcalloc(valid_div + 1, sizeof(*tmp), GFP_KERNEL); kcalloc 459 drivers/clk/ti/divider.c table = kcalloc(valid_div + 1, sizeof(*table), GFP_KERNEL); kcalloc 314 drivers/clk/ti/dpll.c parent_names = kcalloc(init->num_parents, sizeof(char *), GFP_KERNEL); kcalloc 284 drivers/clk/x86/clk-pmc-atom.c parent_names = kcalloc(nparents, sizeof(*parent_names), kcalloc 721 drivers/clk/zynqmp/clkc.c clock = kcalloc(clock_max_idx, sizeof(*clock), GFP_KERNEL); kcalloc 1521 drivers/clocksource/arm_arch_timer.c timers = kcalloc(platform_timer_count, sizeof(*timers), kcalloc 1012 drivers/clocksource/sh_cmt.c cmt->channels = kcalloc(cmt->num_channels, sizeof(*cmt->channels), kcalloc 419 drivers/clocksource/sh_mtu2.c mtu->channels = kcalloc(mtu->num_channels, sizeof(*mtu->channels), kcalloc 561 drivers/clocksource/sh_tmu.c tmu->channels = kcalloc(tmu->num_channels, sizeof(*tmu->channels), kcalloc 1288 drivers/counter/counter.c groups_list = kcalloc(total_num_groups, sizeof(*groups_list), kcalloc 1335 drivers/counter/counter.c device_state->groups = kcalloc(device_state->num_groups + 1, kcalloc 1346 drivers/counter/counter.c group->attr_group.attrs = kcalloc(group->num_attr + 1, kcalloc 749 drivers/cpufreq/acpi-cpufreq.c freq_table = kcalloc(perf->state_count + 1, sizeof(*freq_table), kcalloc 283 drivers/cpufreq/arm_big_little.c table = kcalloc(count, sizeof(*table), GFP_KERNEL); kcalloc 138 drivers/cpufreq/armada-8k-cpufreq.c freq_tables = kcalloc(nb_cpus, sizeof(*freq_tables), GFP_KERNEL); kcalloc 427 drivers/cpufreq/cppc_cpufreq.c all_cpu_data = kcalloc(num_possible_cpus(), sizeof(void *), kcalloc 243 drivers/cpufreq/ia64-acpi-cpufreq.c freq_table = kcalloc(data->acpi_data.state_count + 1, kcalloc 2395 drivers/cpufreq/intel_pstate.c req = kcalloc(2, sizeof(*req), GFP_KERNEL); kcalloc 477 drivers/cpufreq/longhaul.c longhaul_table = kcalloc(numscales + 1, sizeof(*longhaul_table), kcalloc 89 drivers/cpufreq/loongson1-cpufreq.c freq_tbl = kcalloc(steps, sizeof(*freq_tbl), GFP_KERNEL); kcalloc 1049 drivers/cpufreq/powernv-cpufreq.c chip = kcalloc(num_possible_cpus(), sizeof(*chip), GFP_KERNEL); kcalloc 1062 drivers/cpufreq/powernv-cpufreq.c chips = kcalloc(nr_chips, sizeof(struct chip), GFP_KERNEL); kcalloc 92 drivers/cpufreq/pxa3xx-cpufreq.c table = kcalloc(num + 1, sizeof(*table), GFP_KERNEL); kcalloc 93 drivers/cpufreq/qcom-cpufreq-hw.c table = kcalloc(LUT_MAX_ENTRIES + 1, sizeof(*table), GFP_KERNEL); kcalloc 193 drivers/cpufreq/qcom-cpufreq-nvmem.c drv->opp_tables = kcalloc(num_possible_cpus(), sizeof(*drv->opp_tables), kcalloc 200 drivers/cpufreq/qcom-cpufreq-nvmem.c drv->genpd_opp_tables = kcalloc(num_possible_cpus(), kcalloc 189 drivers/cpufreq/qoriq-cpufreq.c data->pclk = kcalloc(count, sizeof(struct clk *), GFP_KERNEL); kcalloc 193 drivers/cpufreq/qoriq-cpufreq.c table = kcalloc(count + 1, sizeof(*table), GFP_KERNEL); kcalloc 562 drivers/cpufreq/s3c24xx-cpufreq.c ftab = kcalloc(size, sizeof(*ftab), GFP_KERNEL); kcalloc 90 drivers/cpufreq/sfi-cpufreq.c freq_table = kcalloc(num_freq_table_entries + 1, sizeof(*freq_table), kcalloc 199 drivers/cpufreq/spear-cpufreq.c freq_tbl = kcalloc(cnt + 1, sizeof(*freq_tbl), GFP_KERNEL); kcalloc 95 drivers/cpufreq/sun50i-cpufreq-nvmem.c opp_tables = kcalloc(num_possible_cpus(), sizeof(*opp_tables), kcalloc 92 drivers/cpuidle/cpuidle-psci.c psci_states = kcalloc(count, sizeof(*psci_states), GFP_KERNEL); kcalloc 137 drivers/crypto/amcc/crypto4xx_core.c ctx->sa_in = kcalloc(size, 4, GFP_ATOMIC); kcalloc 141 drivers/crypto/amcc/crypto4xx_core.c ctx->sa_out = kcalloc(size, 4, GFP_ATOMIC); kcalloc 176 drivers/crypto/amcc/crypto4xx_core.c dev->pdr_uinfo = kcalloc(PPC4XX_NUM_PD, sizeof(struct pd_uinfo), kcalloc 143 drivers/crypto/bcm/cipher.c mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist), kcalloc 211 drivers/crypto/bcm/cipher.c mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist), kcalloc 571 drivers/crypto/bcm/cipher.c mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist), kcalloc 626 drivers/crypto/bcm/cipher.c mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist), kcalloc 1117 drivers/crypto/bcm/cipher.c mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist), kcalloc 1219 drivers/crypto/bcm/cipher.c mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist), kcalloc 318 drivers/crypto/cavium/nitrox/nitrox_isr.c ndev->qvec = kcalloc(nr_vecs, sizeof(*qvec), GFP_KERNEL); kcalloc 422 drivers/crypto/cavium/nitrox/nitrox_isr.c qvec = kcalloc(NR_NON_RING_VECTORS, sizeof(*qvec), GFP_KERNEL); kcalloc 171 drivers/crypto/cavium/nitrox/nitrox_mbx.c ndev->iov.vfdev = kcalloc(ndev->iov.num_vfs, kcalloc 555 drivers/crypto/hisilicon/sec/sec_algs.c sizes = kcalloc(*steps, sizeof(*sizes), GFP_KERNEL); kcalloc 579 drivers/crypto/hisilicon/sec/sec_algs.c *splits = kcalloc(steps, sizeof(struct scatterlist *), GFP_KERNEL); kcalloc 584 drivers/crypto/hisilicon/sec/sec_algs.c *splits_nents = kcalloc(steps, sizeof(int), GFP_KERNEL); kcalloc 222 drivers/crypto/hisilicon/zip/zip_crypto.c req_q->req_bitmap = kcalloc(BITS_TO_LONGS(req_q->size), kcalloc 233 drivers/crypto/hisilicon/zip/zip_crypto.c req_q->q = kcalloc(req_q->size, sizeof(struct hisi_zip_req), kcalloc 1028 drivers/crypto/inside-secure/safexcel_hash.c ipad = kcalloc(2, blocksize, GFP_KERNEL); kcalloc 1195 drivers/crypto/marvell/hash.c ipad = kcalloc(2, blocksize, GFP_KERNEL); kcalloc 1913 drivers/crypto/n2_core.c cpu_to_cwq = kcalloc(NR_CPUS, sizeof(struct spu_queue *), kcalloc 1918 drivers/crypto/n2_core.c cpu_to_mau = kcalloc(NR_CPUS, sizeof(struct spu_queue *), kcalloc 246 drivers/crypto/qat/qat_common/adf_isr.c names = kcalloc(msix_num_entries, sizeof(char *), GFP_KERNEL); kcalloc 266 drivers/crypto/qat/qat_common/adf_sriov.c accel_dev->pf.vf_info = kcalloc(totalvfs, kcalloc 417 drivers/crypto/qat/qat_common/qat_uclo.c fill_data = kcalloc(ICP_QAT_UCLO_MAX_USTORE, sizeof(uint64_t), kcalloc 984 drivers/crypto/qat/qat_common/qat_uclo.c obj_handle->uword_buf = kcalloc(UWORD_CPYBUF_SIZE, sizeof(uint64_t), kcalloc 1165 drivers/crypto/qat/qat_common/qat_uclo.c suof_img_hdr = kcalloc(suof_handle->img_table.num_simgs, kcalloc 65 drivers/crypto/virtio/virtio_crypto_core.c vqs = kcalloc(total_vqs, sizeof(*vqs), GFP_KERNEL); kcalloc 68 drivers/crypto/virtio/virtio_crypto_core.c callbacks = kcalloc(total_vqs, sizeof(*callbacks), GFP_KERNEL); kcalloc 71 drivers/crypto/virtio/virtio_crypto_core.c names = kcalloc(total_vqs, sizeof(*names), GFP_KERNEL); kcalloc 123 drivers/crypto/virtio/virtio_crypto_core.c vi->data_vq = kcalloc(vi->max_data_queues, sizeof(*vi->data_vq), kcalloc 583 drivers/dma-buf/dma-fence.c cb = kcalloc(count, sizeof(struct default_wait_cb), GFP_KERNEL); kcalloc 228 drivers/dma-buf/sync_file.c fences = kcalloc(num_fences, sizeof(*fences), GFP_KERNEL); kcalloc 658 drivers/dma/altera-msgdma.c mdev->sw_desq = kcalloc(MSGDMA_DESC_NUM, sizeof(*desc), GFP_NOWAIT); kcalloc 512 drivers/dma/dmatest.c d->raw = kcalloc(d->cnt + 1, sizeof(u8 *), GFP_KERNEL); kcalloc 516 drivers/dma/dmatest.c d->aligned = kcalloc(d->cnt + 1, sizeof(u8 *), GFP_KERNEL); kcalloc 648 drivers/dma/dmatest.c srcs = kcalloc(src->cnt, sizeof(dma_addr_t), GFP_KERNEL); kcalloc 652 drivers/dma/dmatest.c dma_pq = kcalloc(dst->cnt, sizeof(dma_addr_t), GFP_KERNEL); kcalloc 241 drivers/dma/hsu/hsu.c desc->sg = kcalloc(nents, sizeof(*desc->sg), GFP_NOWAIT); kcalloc 195 drivers/dma/idma64.c desc->hw = kcalloc(ndesc, sizeof(*desc->hw), GFP_NOWAIT); kcalloc 888 drivers/dma/imx-dma.c imxdmac->sg_list = kcalloc(periods + 1, kcalloc 369 drivers/dma/ioat/dma.c ring = kcalloc(total_descs, sizeof(*ring), flags); kcalloc 507 drivers/dma/mediatek/mtk-cqdma.c cvd = kcalloc(nr_vd, sizeof(*cvd), GFP_NOWAIT); kcalloc 338 drivers/dma/mediatek/mtk-hsdma.c ring->cb = kcalloc(MTK_DMA_SIZE, sizeof(*ring->cb), GFP_NOWAIT); kcalloc 1878 drivers/dma/pl330.c pl330->channels = kcalloc(1 + chans, sizeof(*thrd), kcalloc 2538 drivers/dma/pl330.c desc = kcalloc(count, sizeof(*desc), flg); kcalloc 3093 drivers/dma/pl330.c pl330->peripherals = kcalloc(num_chan, sizeof(*pch), GFP_KERNEL); kcalloc 356 drivers/dma/qcom/hidma_mgmt.c res = kcalloc(3, sizeof(*res), GFP_KERNEL); kcalloc 1223 drivers/dma/sh/rcar-dmac.c sgl = kcalloc(sg_len, sizeof(*sgl), GFP_NOWAIT); kcalloc 227 drivers/dma/sh/shdma-base.c schan->desc = kcalloc(NR_DESCS_PER_CHANNEL, kcalloc 731 drivers/dma/sh/shdma-base.c sgl = kcalloc(sg_len, sizeof(*sgl), GFP_KERNEL); kcalloc 1011 drivers/dma/sh/shdma-base.c sdev->schan = kcalloc(chan_num, sizeof(*sdev->schan), GFP_KERNEL); kcalloc 1045 drivers/dma/sh/shdma-base.c shdma_slave_used = kcalloc(DIV_ROUND_UP(slave_num, BITS_PER_LONG), kcalloc 2518 drivers/dma/ste_dma40.c sg = kcalloc(periods + 1, sizeof(struct scatterlist), GFP_NOWAIT); kcalloc 3247 drivers/dma/ste_dma40.c base->phy_res = kcalloc(num_phy_chans, kcalloc 3253 drivers/dma/ste_dma40.c base->lookup_phy_chans = kcalloc(num_phy_chans, kcalloc 3259 drivers/dma/ste_dma40.c base->lookup_log_chans = kcalloc(num_log_chans, kcalloc 3271 drivers/dma/ste_dma40.c base->lcla_pool.alloc_map = kcalloc(num_phy_chans kcalloc 388 drivers/dma/ti/dma-crossbar.c rsv_events = kcalloc(nelm, sizeof(*rsv_events), GFP_KERNEL); kcalloc 2155 drivers/dma/ti/edma.c tmp = kcalloc(nelm, sizeof(*tmp), GFP_KERNEL); kcalloc 472 drivers/dma/xilinx/zynqmp_dma.c chan->sw_desc_pool = kcalloc(ZYNQMP_DMA_NUM_DESCS, sizeof(*desc), kcalloc 3446 drivers/edac/amd64_edac.c pvt->umc = kcalloc(num_umcs, sizeof(struct amd64_umc), GFP_KERNEL); kcalloc 3665 drivers/edac/amd64_edac.c ecc_stngs = kcalloc(amd_nb_num(), sizeof(ecc_stngs[0]), GFP_KERNEL); kcalloc 392 drivers/edac/edac_mc.c mci->csrows = kcalloc(tot_csrows, sizeof(*mci->csrows), GFP_KERNEL); kcalloc 403 drivers/edac/edac_mc.c csr->channels = kcalloc(tot_channels, sizeof(*csr->channels), kcalloc 421 drivers/edac/edac_mc.c mci->dimms = kcalloc(tot_dimms, sizeof(*mci->dimms), GFP_KERNEL); kcalloc 462 drivers/edac/i7core_edac.c i7core_dev->pdev = kcalloc(table->n_devs, sizeof(*i7core_dev->pdev), kcalloc 768 drivers/edac/sb_edac.c sbridge_dev->pdev = kcalloc(table->n_devs_per_imc, kcalloc 70 drivers/edac/skx_common.c adxl_values = kcalloc(adxl_component_count, sizeof(*adxl_values), kcalloc 1260 drivers/extcon/extcon-arizona.c vals = kcalloc(nconfs, sizeof(u32), GFP_KERNEL); kcalloc 1121 drivers/extcon/extcon.c edev->cables = kcalloc(edev->max_supported, kcalloc 1169 drivers/extcon/extcon.c edev->attrs_muex = kcalloc(index + 1, kcalloc 1177 drivers/extcon/extcon.c edev->d_attrs_muex = kcalloc(index, kcalloc 1212 drivers/extcon/extcon.c kcalloc(edev->max_supported + 2, kcalloc 635 drivers/firmware/arm_scpi.c info->opps = kcalloc(info->count, sizeof(*opp), GFP_KERNEL); kcalloc 146 drivers/firmware/efi/apple-properties.c entry = kcalloc(dev_header->prop_count + 1, sizeof(*entry), kcalloc 232 drivers/firmware/efi/capsule.c sg_pages = kcalloc(sg_count, sizeof(*sg_pages), GFP_KERNEL); kcalloc 168 drivers/firmware/efi/runtime-map.c map_entries = kcalloc(efi.memmap.nr_map, sizeof(entry), GFP_KERNEL); kcalloc 625 drivers/firmware/efi/test/efi_test.c capsules = kcalloc(qcaps.capsule_count + 1, kcalloc 158 drivers/firmware/psci/psci_checker.c cpu_groups = kcalloc(nb_available_cpus, sizeof(cpu_groups), kcalloc 54 drivers/fpga/dfl-afu-dma-region.c region->pages = kcalloc(npages, sizeof(struct page *), GFP_KERNEL); kcalloc 515 drivers/fpga/dfl.c fdev->resource = kcalloc(binfo->feature_num, sizeof(*fdev->resource), kcalloc 373 drivers/gpio/gpio-it87.c labels = kcalloc(it87_gpio->chip.ngpio, sizeof("it87_gpXY"), kcalloc 375 drivers/gpio/gpio-it87.c labels_table = kcalloc(it87_gpio->chip.ngpio, sizeof(const char *), kcalloc 432 drivers/gpio/gpio-ml-ioh.c chip_save = kcalloc(8, sizeof(*chip), GFP_KERNEL); kcalloc 43 drivers/gpio/gpiolib-devprop.c names = kcalloc(count, sizeof(*names), GFP_KERNEL); kcalloc 1316 drivers/gpio/gpiolib.c gdev->descs = kcalloc(chip->ngpio, sizeof(gdev->descs[0]), GFP_KERNEL); kcalloc 231 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c adev->acp.acp_cell = kcalloc(ACP_DEVS, sizeof(struct mfd_cell), kcalloc 239 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c adev->acp.acp_res = kcalloc(5, sizeof(struct resource), GFP_KERNEL); kcalloc 245 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c i2s_pdata = kcalloc(3, sizeof(struct i2s_platform_data), GFP_KERNEL); kcalloc 577 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c ctx->vm_pd = kcalloc(ctx->n_vms, sizeof(*ctx->vm_pd), GFP_KERNEL); kcalloc 638 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c ctx->vm_pd = kcalloc(ctx->n_vms, sizeof(*ctx->vm_pd), kcalloc 1774 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c pd_bo_list_entries = kcalloc(process_info->n_vms, kcalloc 1976 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c pd_bo_list = kcalloc(process_info->n_vms, kcalloc 1615 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c array = kcalloc(fence_count, sizeof(struct dma_fence *), GFP_KERNEL); kcalloc 90 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c ctx->fences = kcalloc(amdgpu_sched_jobs * num_entities, kcalloc 95 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c ctx->entities[0] = kcalloc(num_entities, kcalloc 710 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c data = kcalloc(1024, sizeof(*data), GFP_KERNEL); kcalloc 1040 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c fences = kcalloc(length, sizeof(void *), GFP_KERNEL); kcalloc 400 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c kcalloc(psl->ucNumEntries, kcalloc 453 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c ring->fence_drv.fences = kcalloc(num_hw_submission * 2, sizeof(void *), kcalloc 343 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c kcalloc(AMDGPU_MAX_IRQ_SRC_ID, kcalloc 356 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c types = kcalloc(source->num_types, sizeof(atomic_t), kcalloc 352 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buffs = kcalloc(num, EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE, kcalloc 359 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c msgs = kcalloc(num, sizeof(*msgs), GFP_KERNEL); kcalloc 467 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c struct eeprom_table_record *recs = kcalloc(1, sizeof(*recs), GFP_KERNEL); kcalloc 57 drivers/gpu/drm/amd/amdgpu/amdgpu_test.c gtt_obj = kcalloc(n, sizeof(*gtt_obj), GFP_KERNEL); kcalloc 1226 drivers/gpu/drm/amd/amdgpu/atom.c ectx.ws = kcalloc(4, ws, GFP_KERNEL); kcalloc 2735 drivers/gpu/drm/amd/amdgpu/kv_dpm.c adev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, kcalloc 7247 drivers/gpu/drm/amd/amdgpu/si_dpm.c adev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, kcalloc 7351 drivers/gpu/drm/amd/amdgpu/si_dpm.c kcalloc(4, kcalloc 982 drivers/gpu/drm/amd/amdkfd/kfd_device.c kfd->gtt_sa_bitmap = kcalloc(num_of_longs, sizeof(long), GFP_KERNEL); kcalloc 862 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c dqm->allocated_queues = kcalloc(get_pipes_per_mec(dqm), kcalloc 5122 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c cmd.payloads = kcalloc(num, sizeof(struct i2c_payload), GFP_KERNEL); kcalloc 7093 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c updates = kcalloc(MAX_SURFACES, sizeof(*updates), GFP_KERNEL); kcalloc 92 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c rd_buf = kcalloc(rd_buf_size, sizeof(char), GFP_KERNEL); kcalloc 165 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); kcalloc 293 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c rd_buf = kcalloc(rd_buf_size, sizeof(char), GFP_KERNEL); kcalloc 341 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); kcalloc 514 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); kcalloc 521 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c msgs = kcalloc(num, sizeof(struct i2c_msg), GFP_KERNEL); kcalloc 45 drivers/gpu/drm/amd/display/dc/basics/vector.c vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); kcalloc 72 drivers/gpu/drm/amd/display/dc/basics/vector.c vector->container = kcalloc(count, struct_size, GFP_KERNEL); kcalloc 1121 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c ss_info = kcalloc(*ss_entries_num, kcalloc 1128 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c ss_data = kcalloc(*ss_entries_num, kcalloc 94 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c kcalloc(number_of_bits, sizeof(char), kcalloc 1825 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb_user = kcalloc(GAMMA_RGB_256_ENTRIES + _EXTRA_POINTS, kcalloc 1831 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb_regamma = kcalloc(MAX_HW_POINTS + _EXTRA_POINTS, kcalloc 144 drivers/gpu/drm/amd/display/modules/stats/stats.c core_stats->time = kcalloc(core_stats->entries, kcalloc 152 drivers/gpu/drm/amd/display/modules/stats/stats.c core_stats->events = kcalloc(core_stats->event_entries, kcalloc 53 drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c hwmgr->ps = kcalloc(table_entries, size, GFP_KERNEL); kcalloc 445 drivers/gpu/drm/amd/powerplay/smu_v11_0.c tables = kcalloc(SMU_TABLE_COUNT, sizeof(struct smu_table), kcalloc 281 drivers/gpu/drm/amd/powerplay/smu_v12_0.c tables = kcalloc(SMU_TABLE_COUNT, sizeof(struct smu_table), kcalloc 122 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c fmts = kcalloc(table->n_formats, sizeof(u32), GFP_KERNEL); kcalloc 194 drivers/gpu/drm/arm/malidp_mw.c formats = kcalloc(map->n_pixel_formats, sizeof(*formats), kcalloc 959 drivers/gpu/drm/arm/malidp_planes.c formats = kcalloc(map->n_pixel_formats, sizeof(*formats), GFP_KERNEL); kcalloc 91 drivers/gpu/drm/drm_atomic.c state->crtcs = kcalloc(dev->mode_config.num_crtc, kcalloc 95 drivers/gpu/drm/drm_atomic.c state->planes = kcalloc(dev->mode_config.num_total_plane, kcalloc 790 drivers/gpu/drm/drm_bufs.c entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); kcalloc 940 drivers/gpu/drm/drm_bufs.c entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); kcalloc 947 drivers/gpu/drm/drm_bufs.c entry->seglist = kcalloc(count, sizeof(*entry->seglist), GFP_KERNEL); kcalloc 1152 drivers/gpu/drm/drm_bufs.c entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); kcalloc 42 drivers/gpu/drm/drm_client_modeset.c client->modesets = kcalloc(num_crtc + 1, sizeof(*client->modesets), GFP_KERNEL); kcalloc 56 drivers/gpu/drm/drm_client_modeset.c modeset->connectors = kcalloc(max_connector_count, kcalloc 453 drivers/gpu/drm/drm_client_modeset.c crtcs = kcalloc(connector_count, sizeof(*crtcs), GFP_KERNEL); kcalloc 524 drivers/gpu/drm/drm_client_modeset.c save_enabled = kcalloc(count, sizeof(bool), GFP_KERNEL); kcalloc 729 drivers/gpu/drm/drm_client_modeset.c crtcs = kcalloc(connector_count, sizeof(*crtcs), GFP_KERNEL); kcalloc 730 drivers/gpu/drm/drm_client_modeset.c modes = kcalloc(connector_count, sizeof(*modes), GFP_KERNEL); kcalloc 731 drivers/gpu/drm/drm_client_modeset.c offsets = kcalloc(connector_count, sizeof(*offsets), GFP_KERNEL); kcalloc 732 drivers/gpu/drm/drm_client_modeset.c enabled = kcalloc(connector_count, sizeof(bool), GFP_KERNEL); kcalloc 203 drivers/gpu/drm/drm_color_mgmt.c crtc->gamma_store = kcalloc(gamma_size, sizeof(uint16_t) * 3, kcalloc 552 drivers/gpu/drm/drm_crtc_helper.c save_encoder_crtcs = kcalloc(dev->mode_config.num_encoder, kcalloc 557 drivers/gpu/drm/drm_crtc_helper.c save_connector_encoders = kcalloc(dev->mode_config.num_connector, kcalloc 194 drivers/gpu/drm/drm_damage_helper.c rects = kcalloc(num_clips, sizeof(*rects), GFP_KERNEL); kcalloc 224 drivers/gpu/drm/drm_debugfs_crc.c entries = kcalloc(DRM_CRC_ENTRIES_NR, sizeof(*entries), GFP_KERNEL); kcalloc 3973 drivers/gpu/drm/drm_dp_mst_topology.c mgr->payloads = kcalloc(max_payloads, sizeof(struct drm_dp_payload), GFP_KERNEL); kcalloc 3976 drivers/gpu/drm/drm_dp_mst_topology.c mgr->proposed_vcpis = kcalloc(max_payloads, sizeof(struct drm_dp_vcpi *), GFP_KERNEL); kcalloc 4211 drivers/gpu/drm/drm_edid.c *sads = kcalloc(count, sizeof(**sads), GFP_KERNEL); kcalloc 613 drivers/gpu/drm/drm_framebuffer.c clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); kcalloc 52 drivers/gpu/drm/drm_hashtab.c ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL); kcalloc 138 drivers/gpu/drm/drm_hdcp.c srm_data->revoked_ksv_list = kcalloc(ksv_count, DRM_HDCP_KSV_LEN, kcalloc 202 drivers/gpu/drm/drm_hdcp.c srm_data->revoked_ksv_list = kcalloc(ksv_count, DRM_HDCP_KSV_LEN, kcalloc 392 drivers/gpu/drm/drm_lease.c objects = kcalloc(object_count, sizeof(struct drm_mode_object *), kcalloc 200 drivers/gpu/drm/drm_plane_helper.c connector_list = kcalloc(num_connectors, sizeof(*connector_list), kcalloc 116 drivers/gpu/drm/drm_property.c property->values = kcalloc(num_values, sizeof(uint64_t), kcalloc 113 drivers/gpu/drm/drm_scatter.c entry->pagelist = kcalloc(pages, sizeof(*entry->pagelist), GFP_KERNEL); kcalloc 119 drivers/gpu/drm/drm_scatter.c entry->busaddr = kcalloc(pages, sizeof(*entry->busaddr), GFP_KERNEL); kcalloc 894 drivers/gpu/drm/drm_syncobj.c entries = kcalloc(count, sizeof(*entries), GFP_KERNEL); kcalloc 454 drivers/gpu/drm/drm_vblank.c dev->vblank = kcalloc(num_crtcs, sizeof(*dev->vblank), GFP_KERNEL); kcalloc 41 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c submit->pmrs = kcalloc(nr_pmrs, sizeof(struct etnaviv_perfmon_request), kcalloc 287 drivers/gpu/drm/exynos/exynos_drm_g2d.c node = kcalloc(G2D_CMDLIST_NUM, sizeof(*node), GFP_KERNEL); kcalloc 479 drivers/gpu/drm/gma500/intel_bios.c dev_priv->child_dev = kcalloc(count, sizeof(*p_child), GFP_KERNEL); kcalloc 400 drivers/gpu/drm/gma500/intel_gmbus.c dev_priv->gmbus = kcalloc(GMBUS_NUM_PORTS, sizeof(struct intel_gmbus), kcalloc 1663 drivers/gpu/drm/i915/display/intel_bios.c dev_priv->vbt.child_dev = kcalloc(count, sizeof(*child), GFP_KERNEL); kcalloc 3989 drivers/gpu/drm/i915/display/intel_display_power.c kcalloc(power_well_count, kcalloc 530 drivers/gpu/drm/i915/display/intel_hdcp.c ksv_fifo = kcalloc(DRM_HDCP_KSV_LEN, num_downstream, GFP_KERNEL); kcalloc 1764 drivers/gpu/drm/i915/display/intel_hdcp.c data->streams = kcalloc(data->k, kcalloc 91 drivers/gpu/drm/i915/display/intel_lpe_audio.c rsc = kcalloc(2, sizeof(*rsc), GFP_KERNEL); kcalloc 474 drivers/gpu/drm/i915/display/intel_sdvo.c msgs = kcalloc(args_len + 3, sizeof(*msgs), GFP_KERNEL); kcalloc 57 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c ctx = kcalloc(nctx, sizeof(*ctx), GFP_KERNEL); kcalloc 133 drivers/gpu/drm/i915/gt/selftest_timeline.c state.history = kcalloc(state.max, sizeof(*state.history), GFP_KERNEL); kcalloc 128 drivers/gpu/drm/i915/gvt/vgpu.c gvt->types = kcalloc(num_types, sizeof(struct intel_vgpu_type), kcalloc 1383 drivers/gpu/drm/i915/i915_cmd_parser.c next_whitelist = kcalloc(next_size, sizeof(long), GFP_KERNEL); kcalloc 1202 drivers/gpu/drm/i915/i915_gpu_error.c ee->requests = kcalloc(count, sizeof(*ee->requests), ATOMIC_MAYFAIL); kcalloc 881 drivers/gpu/drm/i915/i915_pmu.c i915_attr = kcalloc(count, sizeof(*i915_attr), GFP_KERNEL); kcalloc 885 drivers/gpu/drm/i915/i915_pmu.c pmu_attr = kcalloc(count, sizeof(*pmu_attr), GFP_KERNEL); kcalloc 890 drivers/gpu/drm/i915/i915_pmu.c attr = kcalloc(count * 2 + 1, sizeof(*attr), GFP_KERNEL); kcalloc 428 drivers/gpu/drm/i915/selftests/i915_gem_evict.c r = kcalloc(1, sizeof(*r), GFP_KERNEL); kcalloc 1133 drivers/gpu/drm/i915/selftests/i915_request.c threads = kcalloc(ncpus * I915_NUM_ENGINES, kcalloc 72 drivers/gpu/drm/lima/lima_object.c bo->pages_dma_addr = kcalloc(npages, sizeof(dma_addr_t), GFP_KERNEL); kcalloc 81 drivers/gpu/drm/lima/lima_object.c bo->pages = kcalloc(npages, sizeof(*bo->pages), GFP_KERNEL); kcalloc 261 drivers/gpu/drm/mediatek/mtk_drm_gem.c mtk_gem->pages = kcalloc(npages, sizeof(*mtk_gem->pages), GFP_KERNEL); kcalloc 1224 drivers/gpu/drm/msm/adreno/a5xx_gpu.c a5xx_state->hlsqregs = kcalloc(count, sizeof(u32), GFP_KERNEL); kcalloc 912 drivers/gpu/drm/msm/adreno/a6xx_gmu.c bo->pages = kcalloc(count, sizeof(struct page *), GFP_KERNEL); kcalloc 567 drivers/gpu/drm/msm/adreno/adreno_gpu.c state->registers = kcalloc(count * 2, sizeof(u32), GFP_KERNEL); kcalloc 367 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c dpu_kms->irq_obj.irq_cb_tbl = kcalloc(dpu_kms->irq_obj.total_irqs, kcalloc 369 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c dpu_kms->irq_obj.enable_counts = kcalloc(dpu_kms->irq_obj.total_irqs, kcalloc 371 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c dpu_kms->irq_obj.irq_counts = kcalloc(dpu_kms->irq_obj.total_irqs, kcalloc 1103 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c intr->cache_irq_mask = kcalloc(ARRAY_SIZE(dpu_intr_set), sizeof(u32), kcalloc 1110 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c intr->save_irq_status = kcalloc(ARRAY_SIZE(dpu_intr_set), sizeof(u32), kcalloc 360 drivers/gpu/drm/msm/msm_gpu.c state->bos = kcalloc(submit->nr_cmds, kcalloc 638 drivers/gpu/drm/nouveau/nouveau_dmem.c args.src = kcalloc(max, sizeof(*args.src), GFP_KERNEL); kcalloc 641 drivers/gpu/drm/nouveau/nouveau_dmem.c args.dst = kcalloc(max, sizeof(*args.dst), GFP_KERNEL); kcalloc 53 drivers/gpu/drm/nouveau/nvif/fifo.c device->runlist = kcalloc(device->runlists, sizeof(*device->runlist), kcalloc 86 drivers/gpu/drm/nouveau/nvif/object.c *psclass = kcalloc(args->sclass.count, sizeof(**psclass), GFP_KERNEL); kcalloc 917 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (!(map = kcalloc(fifo->pbdma_nr, sizeof(*map), GFP_KERNEL))) kcalloc 898 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c omap_dmm->engines = kcalloc(omap_dmm->num_engines, kcalloc 917 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c omap_dmm->tcm = kcalloc(omap_dmm->num_lut, sizeof(*omap_dmm->tcm), kcalloc 273 drivers/gpu/drm/omapdrm/omap_gem.c addrs = kcalloc(npages, sizeof(*addrs), GFP_KERNEL); kcalloc 1261 drivers/gpu/drm/omapdrm/omap_gem.c pages = kcalloc(npages, sizeof(*pages), GFP_KERNEL); kcalloc 1331 drivers/gpu/drm/omapdrm/omap_gem.c usergart = kcalloc(3, sizeof(*usergart), GFP_KERNEL); kcalloc 1177 drivers/gpu/drm/qxl/qxl_display.c qdev->dumb_heads = kcalloc(qxl_num_crtc, sizeof(qdev->dumb_heads[0]), kcalloc 1183 drivers/gpu/drm/radeon/atom.c ectx.ws = kcalloc(4, ws, GFP_KERNEL); kcalloc 2586 drivers/gpu/drm/radeon/btc_dpm.c kcalloc(4, kcalloc 5575 drivers/gpu/drm/radeon/ci_dpm.c rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, kcalloc 5789 drivers/gpu/drm/radeon/ci_dpm.c kcalloc(4, kcalloc 2665 drivers/gpu/drm/radeon/kv_dpm.c rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, kcalloc 4003 drivers/gpu/drm/radeon/ni_dpm.c rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, kcalloc 4081 drivers/gpu/drm/radeon/ni_dpm.c kcalloc(4, kcalloc 993 drivers/gpu/drm/radeon/r600_dpm.c kcalloc(psl->ucNumEntries, kcalloc 2132 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state = kcalloc(num_modes, kcalloc 2140 drivers/gpu/drm/radeon/radeon_atombios.c kcalloc(1, sizeof(struct radeon_pm_clock_info), kcalloc 2596 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state = kcalloc(power_info->pplib.ucNumStates, kcalloc 2614 drivers/gpu/drm/radeon/radeon_atombios.c kcalloc((power_info->pplib.ucStateEntrySize - 1) ? kcalloc 2699 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state = kcalloc(state_array->ucNumEntries, kcalloc 2712 drivers/gpu/drm/radeon/radeon_atombios.c kcalloc(power_state->v2.ucNumDPMLevels ? kcalloc 2795 drivers/gpu/drm/radeon/radeon_atombios.c kcalloc(1, kcalloc 2648 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state = kcalloc(2, sizeof(struct radeon_power_state), kcalloc 2653 drivers/gpu/drm/radeon/radeon_combios.c kcalloc(1, sizeof(struct radeon_pm_clock_info), kcalloc 2656 drivers/gpu/drm/radeon/radeon_combios.c kcalloc(1, sizeof(struct radeon_pm_clock_info), kcalloc 292 drivers/gpu/drm/radeon/radeon_cs.c p->chunks_array = kcalloc(cs->num_chunks, sizeof(uint64_t), GFP_KERNEL); kcalloc 303 drivers/gpu/drm/radeon/radeon_cs.c p->chunks = kcalloc(p->nchunks, sizeof(struct radeon_cs_chunk), GFP_KERNEL); kcalloc 63 drivers/gpu/drm/radeon/radeon_test.c gtt_obj = kcalloc(n, sizeof(*gtt_obj), GFP_KERNEL); kcalloc 809 drivers/gpu/drm/radeon/rs780_dpm.c rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, kcalloc 1890 drivers/gpu/drm/radeon/rv6xx_dpm.c rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, kcalloc 2284 drivers/gpu/drm/radeon/rv770_dpm.c rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, kcalloc 6840 drivers/gpu/drm/radeon/si_dpm.c rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, kcalloc 6961 drivers/gpu/drm/radeon/si_dpm.c kcalloc(4, kcalloc 1484 drivers/gpu/drm/radeon/sumo_dpm.c rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, kcalloc 1762 drivers/gpu/drm/radeon/trinity_dpm.c rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, kcalloc 66 drivers/gpu/drm/scheduler/sched_entity.c entity->rq_list = kcalloc(num_rq_list, sizeof(struct drm_sched_rq *), kcalloc 543 drivers/gpu/drm/v3d/v3d_gem.c render = kcalloc(1, sizeof(*render), GFP_KERNEL); kcalloc 559 drivers/gpu/drm/v3d/v3d_gem.c bin = kcalloc(1, sizeof(*bin), GFP_KERNEL); kcalloc 653 drivers/gpu/drm/v3d/v3d_gem.c job = kcalloc(1, sizeof(*job), GFP_KERNEL); kcalloc 664 drivers/gpu/drm/v3d/v3d_gem.c job->base.bo = kcalloc(ARRAY_SIZE(args->bo_handles), kcalloc 754 drivers/gpu/drm/v3d/v3d_gem.c job = kcalloc(1, sizeof(*job), GFP_KERNEL); kcalloc 765 drivers/gpu/drm/v3d/v3d_gem.c clean_job = kcalloc(1, sizeof(*clean_job), GFP_KERNEL); kcalloc 1017 drivers/gpu/drm/vc4/vc4_bo.c vc4->bo_labels = kcalloc(VC4_BO_TYPE_COUNT, sizeof(*vc4->bo_labels), kcalloc 108 drivers/gpu/drm/vc4/vc4_gem.c bo_state = kcalloc(state->bo_count, sizeof(*bo_state), GFP_KERNEL); kcalloc 159 drivers/gpu/drm/vc4/vc4_gem.c kernel_state = kcalloc(1, sizeof(*kernel_state), GFP_KERNEL); kcalloc 185 drivers/gpu/drm/vc4/vc4_gem.c kernel_state->bo = kcalloc(state->bo_count, kcalloc 1158 drivers/gpu/drm/vc4/vc4_gem.c exec = kcalloc(1, sizeof(*exec), GFP_KERNEL); kcalloc 795 drivers/gpu/drm/vc4/vc4_validate_shaders.c kcalloc(BITS_TO_LONGS(validation_state.max_ip), kcalloc 800 drivers/gpu/drm/vc4/vc4_validate_shaders.c validated_shader = kcalloc(1, sizeof(*validated_shader), GFP_KERNEL); kcalloc 272 drivers/gpu/drm/via/via_dmablit.c if (NULL == (vsg->desc_pages = kcalloc(vsg->num_desc_pages, sizeof(void *), GFP_KERNEL))) kcalloc 86 drivers/gpu/drm/virtio/virtgpu_kms.c vgdev->capsets = kcalloc(num_capsets, kcalloc 189 drivers/gpu/drm/vkms/vkms_crtc.c vkms_state->active_planes = kcalloc(i, sizeof(plane), GFP_KERNEL); kcalloc 276 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); kcalloc 359 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); kcalloc 1610 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c rects = kcalloc(dev->mode_config.num_crtc, sizeof(struct drm_rect), kcalloc 2357 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c rects = kcalloc(arg->num_outputs, sizeof(struct drm_vmw_rect), kcalloc 236 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c kcalloc(cfg->num_connectors, kcalloc 19 drivers/gpu/host1x/channel.c chlist->channels = kcalloc(num_channels, sizeof(struct host1x_channel), kcalloc 25 drivers/gpu/host1x/channel.c kcalloc(BITS_TO_LONGS(num_channels), sizeof(unsigned long), kcalloc 278 drivers/greybus/manifest.c bundle->cport_desc = kcalloc(count, sizeof(*bundle->cport_desc), kcalloc 783 drivers/greybus/svc.c svc->pwrmon_rails = kcalloc(rail_count, sizeof(*svc->pwrmon_rails), kcalloc 1236 drivers/hid/hid-core.c device->collection = kcalloc(HID_DEFAULT_NUM_COLLECTIONS, kcalloc 2140 drivers/hid/hid-logitech-hidpp.c data->effect_ids = kcalloc(num_slots, sizeof(int), GFP_KERNEL); kcalloc 44 drivers/hid/intel-ish-hid/ishtp/dma-if.c dev->ishtp_dma_tx_map = kcalloc(dev->ishtp_dma_num_slots, kcalloc 36 drivers/hid/intel-ish-hid/ishtp/hbm.c clients = kcalloc(dev->fw_clients_num, sizeof(struct ishtp_fw_client), kcalloc 39 drivers/hsi/hsi_boardinfo.c cl_info = kcalloc(len, sizeof(*cl_info), GFP_KERNEL); kcalloc 257 drivers/hsi/hsi_core.c cl->rx_cfg.channels = kcalloc(cells, sizeof(channel), GFP_KERNEL); kcalloc 263 drivers/hsi/hsi_core.c cl->tx_cfg.channels = kcalloc(cells, sizeof(channel), GFP_KERNEL); kcalloc 474 drivers/hsi/hsi_core.c port = kcalloc(n_ports, sizeof(*port), flags); kcalloc 89 drivers/hv/hv.c hv_context.hv_numa_map = kcalloc(nr_node_ids, sizeof(struct cpumask), kcalloc 204 drivers/hv/ring_buffer.c pages_wraparound = kcalloc(page_cnt * 2 - 1, sizeof(struct page *), kcalloc 565 drivers/hwmon/acpi_power_meter.c resource->domain_devices = kcalloc(pss->package.count, kcalloc 787 drivers/hwmon/acpi_power_meter.c *str = kcalloc(element->string.length + 1, sizeof(u8), kcalloc 506 drivers/hwmon/applesmc.c s->index = kcalloc(s->temp_count, sizeof(s->index[0]), GFP_KERNEL); kcalloc 549 drivers/hwmon/applesmc.c s->cache = kcalloc(s->key_count, sizeof(*s->cache), GFP_KERNEL); kcalloc 1104 drivers/hwmon/applesmc.c grp->nodes = kcalloc(num + 1, sizeof(*node), GFP_KERNEL); kcalloc 732 drivers/hwmon/coretemp.c zone_devices = kcalloc(max_zones, sizeof(struct platform_device *), kcalloc 562 drivers/hwmon/hwmon.c attrs = kcalloc(nattrs + 1, sizeof(*attrs), GFP_KERNEL); kcalloc 614 drivers/hwmon/hwmon.c hwdev->groups = kcalloc(ngroups, sizeof(*groups), GFP_KERNEL); kcalloc 375 drivers/hwmon/ibmpex.c data->sensors = kcalloc(data->num_sensors, sizeof(*data->sensors), kcalloc 200 drivers/hwtracing/coresight/coresight-tmc-etr.c tmc_pages->daddrs = kcalloc(nr_pages, sizeof(*tmc_pages->daddrs), kcalloc 204 drivers/hwtracing/coresight/coresight-tmc-etr.c tmc_pages->pages = kcalloc(nr_pages, sizeof(*tmc_pages->pages), kcalloc 1195 drivers/hwtracing/coresight/coresight.c refcnts = kcalloc(nr_refcnts, sizeof(*refcnts), GFP_KERNEL); kcalloc 30 drivers/hwtracing/intel_th/msu-sink.c priv->sgts = kcalloc(MAX_SGTS, sizeof(void *), GFP_KERNEL); kcalloc 163 drivers/i2c/busses/i2c-amd756-s4882.c if (!(s4882_adapter = kcalloc(5, sizeof(struct i2c_adapter), kcalloc 168 drivers/i2c/busses/i2c-amd756-s4882.c if (!(s4882_algo = kcalloc(5, sizeof(struct i2c_algorithm), kcalloc 158 drivers/i2c/busses/i2c-nforce2-s4985.c s4985_adapter = kcalloc(5, sizeof(struct i2c_adapter), GFP_KERNEL); kcalloc 163 drivers/i2c/busses/i2c-nforce2-s4985.c s4985_algo = kcalloc(5, sizeof(struct i2c_algorithm), GFP_KERNEL); kcalloc 376 drivers/i2c/busses/i2c-nforce2.c smbuses = kcalloc(2, sizeof(struct nforce2_smbus), GFP_KERNEL); kcalloc 333 drivers/i2c/i2c-stub.c chip->bank_words = kcalloc(chip->bank_mask * chip->bank_size, kcalloc 376 drivers/i2c/i2c-stub.c stub_chips = kcalloc(stub_chips_nr, sizeof(struct stub_chip), kcalloc 2284 drivers/i3c/master.c pool->slots = kcalloc(req->num_slots, sizeof(*slot), GFP_KERNEL); kcalloc 2291 drivers/i3c/master.c pool->payload_buf = kcalloc(req->num_slots, kcalloc 1460 drivers/ide/hpt366.c dyn_info = kcalloc(dev2 ? 2 : 1, sizeof(*dyn_info), GFP_KERNEL); kcalloc 655 drivers/ide/it821x.c itdevs = kcalloc(2, sizeof(*itdevs), GFP_KERNEL); kcalloc 196 drivers/iio/adc/ad_sigma_delta.c buf = kcalloc(size, sizeof(*buf), GFP_KERNEL); kcalloc 439 drivers/iio/adc/ti_am335x_adc.c chan_array = kcalloc(channels, sizeof(*chan_array), GFP_KERNEL); kcalloc 593 drivers/iio/adc/xilinx-xadc-core.c xadc->data = kcalloc(n, sizeof(*xadc->data), GFP_KERNEL); kcalloc 439 drivers/iio/dac/ad5360.c channels = kcalloc(st->chip_info->num_channels, kcalloc 350 drivers/iio/dac/ad5380.c channels = kcalloc(st->chip_info->num_channels, kcalloc 33 drivers/iio/imu/adis_buffer.c adis->xfer = kcalloc(2, sizeof(*adis->xfer), GFP_KERNEL); kcalloc 79 drivers/iio/imu/adis_buffer.c adis->xfer = kcalloc(scan_count + 1, sizeof(*adis->xfer), GFP_KERNEL); kcalloc 83 drivers/iio/imu/adis_buffer.c adis->buffer = kcalloc(indio_dev->scan_bytes, 2, GFP_KERNEL); kcalloc 319 drivers/iio/industrialio-buffer.c trialmask = kcalloc(BITS_TO_LONGS(indio_dev->masklength), kcalloc 1257 drivers/iio/industrialio-buffer.c attr = kcalloc(attrcount + ARRAY_SIZE(iio_buffer_attrs) + 1, kcalloc 1315 drivers/iio/industrialio-buffer.c buffer->scan_el_group.attrs = kcalloc(attrcount + 1, kcalloc 1360 drivers/iio/industrialio-core.c indio_dev->chan_attr_group.attrs = kcalloc(attrcount + 1, kcalloc 502 drivers/iio/industrialio-event.c indio_dev->event_interface->group.attrs = kcalloc(attrcount + 1, kcalloc 242 drivers/iio/inkern.c chans = kcalloc(nummaps + 1, sizeof(*chans), GFP_KERNEL); kcalloc 436 drivers/iio/inkern.c chans = kcalloc(nummaps + 1, sizeof(*chans), GFP_KERNEL); kcalloc 775 drivers/infiniband/core/cache.c table->data_vec = kcalloc(sz, sizeof(*table->data_vec), GFP_KERNEL); kcalloc 4574 drivers/infiniband/core/cma.c cma_dev->default_gid_type = kcalloc(device->phys_port_cnt, kcalloc 4580 drivers/infiniband/core/cma.c cma_dev->default_roce_tos = kcalloc(device->phys_port_cnt, kcalloc 212 drivers/infiniband/core/cma_configfs.c ports = kcalloc(ports_num, sizeof(*cma_dev_group->ports), kcalloc 65 drivers/infiniband/core/iwpm_util.c iwpm_hash_bucket = kcalloc(IWPM_MAPINFO_HASH_SIZE, kcalloc 72 drivers/infiniband/core/iwpm_util.c iwpm_reminfo_bucket = kcalloc(IWPM_REMINFO_HASH_SIZE, kcalloc 28 drivers/infiniband/core/restrack.c dev->res = kcalloc(RDMA_RESTRACK_MAX, sizeof(*rt), GFP_KERNEL); kcalloc 128 drivers/infiniband/core/rw.c ctx->reg = kcalloc(ctx->nr_ops, sizeof(*ctx->reg), GFP_KERNEL); kcalloc 200 drivers/infiniband/core/rw.c ctx->map.sges = sge = kcalloc(sg_cnt, sizeof(*sge), GFP_KERNEL); kcalloc 204 drivers/infiniband/core/rw.c ctx->map.wrs = kcalloc(ctx->nr_ops, sizeof(*ctx->map.wrs), GFP_KERNEL); kcalloc 405 drivers/infiniband/core/rw.c ctx->reg = kcalloc(1, sizeof(*ctx->reg), GFP_KERNEL); kcalloc 740 drivers/infiniband/core/sysfs.c tab_attr = kcalloc(1 + len, sizeof(struct attribute *), GFP_KERNEL); kcalloc 2585 drivers/infiniband/core/uverbs_cmd.c kcalloc(num_specs, sizeof(*resources->counters), GFP_KERNEL); kcalloc 2587 drivers/infiniband/core/uverbs_cmd.c kcalloc(num_specs, sizeof(*resources->collection), GFP_KERNEL); kcalloc 3069 drivers/infiniband/core/uverbs_cmd.c wqs_handles = kcalloc(num_wq_handles, sizeof(*wqs_handles), kcalloc 3083 drivers/infiniband/core/uverbs_cmd.c wqs = kcalloc(num_wq_handles, sizeof(*wqs), GFP_KERNEL); kcalloc 2579 drivers/infiniband/hw/bnxt_re/ib_verbs.c cq->cql = kcalloc(cq->max_cql, sizeof(struct bnxt_qplib_cqe), kcalloc 3396 drivers/infiniband/hw/bnxt_re/ib_verbs.c mr->pages = kcalloc(max_num_sg, sizeof(u64), GFP_KERNEL); kcalloc 3552 drivers/infiniband/hw/bnxt_re/ib_verbs.c pbl_tbl = kcalloc(umem_pgs, sizeof(u64 *), GFP_KERNEL); kcalloc 550 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq = kcalloc(srq->hwq.max_elements, sizeof(*srq->swq), kcalloc 750 drivers/infiniband/hw/bnxt_re/qplib_fp.c sq->swq = kcalloc(sq->hwq.max_elements, sizeof(*sq->swq), GFP_KERNEL); kcalloc 789 drivers/infiniband/hw/bnxt_re/qplib_fp.c rq->swq = kcalloc(rq->hwq.max_elements, sizeof(*rq->swq), kcalloc 899 drivers/infiniband/hw/bnxt_re/qplib_fp.c sq->swq = kcalloc(sq->hwq.max_elements, sizeof(*sq->swq), GFP_KERNEL); kcalloc 968 drivers/infiniband/hw/bnxt_re/qplib_fp.c rq->swq = kcalloc(rq->hwq.max_elements, sizeof(*rq->swq), kcalloc 603 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c rcfw->crsqe_tbl = kcalloc(rcfw->cmdq.max_elements, kcalloc 609 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c rcfw->qp_tbl = kcalloc(qp_tbl_sz, sizeof(struct bnxt_qplib_qp_node), kcalloc 94 drivers/infiniband/hw/bnxt_re/qplib_res.c pbl->pg_arr = kcalloc(pages, sizeof(void *), GFP_KERNEL); kcalloc 98 drivers/infiniband/hw/bnxt_re/qplib_res.c pbl->pg_map_arr = kcalloc(pages, sizeof(dma_addr_t), GFP_KERNEL); kcalloc 491 drivers/infiniband/hw/bnxt_re/qplib_res.c sgid_tbl->tbl = kcalloc(max, sizeof(*sgid_tbl->tbl), GFP_KERNEL); kcalloc 495 drivers/infiniband/hw/bnxt_re/qplib_res.c sgid_tbl->hw_id = kcalloc(max, sizeof(u16), GFP_KERNEL); kcalloc 499 drivers/infiniband/hw/bnxt_re/qplib_res.c sgid_tbl->ctx = kcalloc(max, sizeof(void *), GFP_KERNEL); kcalloc 503 drivers/infiniband/hw/bnxt_re/qplib_res.c sgid_tbl->vlan = kcalloc(max, sizeof(u8), GFP_KERNEL); kcalloc 566 drivers/infiniband/hw/bnxt_re/qplib_res.c pkey_tbl->tbl = kcalloc(max, sizeof(u16), GFP_KERNEL); kcalloc 718 drivers/infiniband/hw/bnxt_re/qplib_res.c dpit->app_tbl = kcalloc(dpit->max, sizeof(void *), GFP_KERNEL); kcalloc 267 drivers/infiniband/hw/cxgb3/cxio_hal.c wq->rq = kcalloc(depth, sizeof(struct t3_swrq), GFP_KERNEL); kcalloc 275 drivers/infiniband/hw/cxgb3/cxio_hal.c wq->sq = kcalloc(depth, sizeof(struct t3_swsq), GFP_KERNEL); kcalloc 605 drivers/infiniband/hw/cxgb3/iwch_provider.c mhp->pages = kcalloc(max_num_sg, sizeof(u64), GFP_KERNEL); kcalloc 884 drivers/infiniband/hw/cxgb4/device.c rdev->wr_log = kcalloc(1 << c4iw_wr_log_size_order, kcalloc 1441 drivers/infiniband/hw/cxgb4/device.c qp_list.qps = kcalloc(count, sizeof(*qp_list.qps), GFP_ATOMIC); kcalloc 226 drivers/infiniband/hw/cxgb4/qp.c wq->sq.sw_sq = kcalloc(wq->sq.size, sizeof(*wq->sq.sw_sq), kcalloc 234 drivers/infiniband/hw/cxgb4/qp.c wq->rq.sw_rq = kcalloc(wq->rq.size, kcalloc 2535 drivers/infiniband/hw/cxgb4/qp.c wq->sw_rq = kcalloc(wq->size, sizeof(*wq->sw_rq), kcalloc 2539 drivers/infiniband/hw/cxgb4/qp.c wq->pending_wrs = kcalloc(srq->wq.size, kcalloc 215 drivers/infiniband/hw/cxgb4/restrack.c uep = kcalloc(1, sizeof(*uep), GFP_KERNEL); kcalloc 1071 drivers/infiniband/hw/efa/efa_verbs.c sglist = kcalloc(page_cnt, sizeof(*sglist), GFP_KERNEL); kcalloc 1110 drivers/infiniband/hw/efa/efa_verbs.c chunk_list->chunks = kcalloc(chunk_list_size, kcalloc 192 drivers/infiniband/hw/hfi1/affinity.c hfi1_per_node_cntr = kcalloc(node_affinity.num_possible_nodes, kcalloc 458 drivers/infiniband/hw/hfi1/affinity.c dd->comp_vect_mappings = kcalloc(dd->comp_vect_possible_cpus, kcalloc 12542 drivers/infiniband/hw/hfi1/chip.c dd->cntrs = kcalloc(dd->ndevcntrs + num_driver_cntrs, sizeof(u64), kcalloc 12547 drivers/infiniband/hw/hfi1/chip.c dd->scntrs = kcalloc(dd->ndevcntrs, sizeof(u64), GFP_KERNEL); kcalloc 12697 drivers/infiniband/hw/hfi1/chip.c ppd->cntrs = kcalloc(dd->nportcntrs, sizeof(u64), GFP_KERNEL); kcalloc 12701 drivers/infiniband/hw/hfi1/chip.c ppd->scntrs = kcalloc(dd->nportcntrs, sizeof(u64), GFP_KERNEL); kcalloc 84 drivers/infiniband/hw/hfi1/efivar.c uni_name = kcalloc(strlen(name) + 1, sizeof(efi_char16_t), GFP_KERNEL); kcalloc 140 drivers/infiniband/hw/hfi1/fault.c data = kcalloc(datalen, sizeof(*data), GFP_KERNEL); kcalloc 215 drivers/infiniband/hw/hfi1/fault.c data = kcalloc(datalen, sizeof(*data), GFP_KERNEL); kcalloc 83 drivers/infiniband/hw/hfi1/msix.c entries = kcalloc(total, sizeof(*dd->msix_info.msix_entries), kcalloc 452 drivers/infiniband/hw/hfi1/pio.c dd->send_contexts = kcalloc(dd->num_send_contexts, kcalloc 2110 drivers/infiniband/hw/hfi1/pio.c dd->cr_base = kcalloc( kcalloc 93 drivers/infiniband/hw/hfi1/user_exp_rcv.c fd->entry_to_rb = kcalloc(uctxt->expected_count, kcalloc 101 drivers/infiniband/hw/hfi1/user_exp_rcv.c fd->invalid_tids = kcalloc(uctxt->expected_count, kcalloc 241 drivers/infiniband/hw/hfi1/user_exp_rcv.c pages = kcalloc(npages, sizeof(*pages), GFP_KERNEL); kcalloc 335 drivers/infiniband/hw/hfi1/user_exp_rcv.c tidbuf->psets = kcalloc(uctxt->expected_count, sizeof(*tidbuf->psets), kcalloc 368 drivers/infiniband/hw/hfi1/user_exp_rcv.c tidlist = kcalloc(pageset_count, sizeof(*tidlist), GFP_KERNEL); kcalloc 556 drivers/infiniband/hw/hfi1/user_exp_rcv.c array = kcalloc(uctxt->expected_count, sizeof(*array), GFP_KERNEL); kcalloc 197 drivers/infiniband/hw/hfi1/user_sdma.c pq->reqs = kcalloc(hfi1_sdma_comp_ring_size, kcalloc 203 drivers/infiniband/hw/hfi1/user_sdma.c pq->req_in_use = kcalloc(BITS_TO_LONGS(hfi1_sdma_comp_ring_size), kcalloc 976 drivers/infiniband/hw/hfi1/user_sdma.c pages = kcalloc(npages, sizeof(*pages), GFP_KERNEL); kcalloc 144 drivers/infiniband/hw/hns/hns_roce_alloc.c bitmap->table = kcalloc(BITS_TO_LONGS(bitmap->max), sizeof(long), kcalloc 214 drivers/infiniband/hw/hns/hns_roce_alloc.c buf->page_list = kcalloc(buf->nbufs, sizeof(*buf->page_list), kcalloc 325 drivers/infiniband/hw/hns/hns_roce_alloc.c bufs[i] = kcalloc(r->count, sizeof(dma_addr_t), GFP_KERNEL); kcalloc 938 drivers/infiniband/hw/hns/hns_roce_hem.c table->hem = kcalloc(num_hem, sizeof(*table->hem), GFP_KERNEL); kcalloc 963 drivers/infiniband/hw/hns/hns_roce_hem.c table->hem = kcalloc(num_hem, sizeof(*table->hem), kcalloc 973 drivers/infiniband/hw/hns/hns_roce_hem.c table->bt_l1 = kcalloc(num_bt_l1, kcalloc 979 drivers/infiniband/hw/hns/hns_roce_hem.c table->bt_l1_dma_addr = kcalloc(num_bt_l1, kcalloc 989 drivers/infiniband/hw/hns/hns_roce_hem.c table->bt_l0 = kcalloc(num_bt_l0, sizeof(*table->bt_l0), kcalloc 994 drivers/infiniband/hw/hns/hns_roce_hem.c table->bt_l0_dma_addr = kcalloc(num_bt_l0, kcalloc 4246 drivers/infiniband/hw/hns/hns_roce_hw_v1.c eq->buf_list = kcalloc(num_bas, sizeof(*eq->buf_list), GFP_KERNEL); kcalloc 4318 drivers/infiniband/hw/hns/hns_roce_hw_v1.c eq_table->eq = kcalloc(eq_num, sizeof(*eq_table->eq), GFP_KERNEL); kcalloc 4322 drivers/infiniband/hw/hns/hns_roce_hw_v1.c eq_table->eqc_base = kcalloc(eq_num, sizeof(*eq_table->eqc_base), kcalloc 1901 drivers/infiniband/hw/hns/hns_roce_hw_v2.c link_tbl->pg_list = kcalloc(pg_num, sizeof(*link_tbl->pg_list), kcalloc 5588 drivers/infiniband/hw/hns/hns_roce_hw_v2.c eq->buf_dma = kcalloc(ba_num, sizeof(*eq->buf_dma), GFP_KERNEL); kcalloc 5591 drivers/infiniband/hw/hns/hns_roce_hw_v2.c eq->buf = kcalloc(ba_num, sizeof(*eq->buf), GFP_KERNEL); kcalloc 5596 drivers/infiniband/hw/hns/hns_roce_hw_v2.c eq->l1_dma = kcalloc(bt_num, sizeof(*eq->l1_dma), GFP_KERNEL); kcalloc 5600 drivers/infiniband/hw/hns/hns_roce_hw_v2.c eq->bt_l1 = kcalloc(bt_num, sizeof(*eq->bt_l1), GFP_KERNEL); kcalloc 5932 drivers/infiniband/hw/hns/hns_roce_hw_v2.c eq_table->eq = kcalloc(eq_num, sizeof(*eq_table->eq), GFP_KERNEL); kcalloc 131 drivers/infiniband/hw/hns/hns_roce_mr.c buddy->bits = kcalloc(buddy->max_order + 1, kcalloc 134 drivers/infiniband/hw/hns/hns_roce_mr.c buddy->num_free = kcalloc(buddy->max_order + 1, kcalloc 142 drivers/infiniband/hw/hns/hns_roce_mr.c buddy->bits[i] = kcalloc(s, sizeof(long), GFP_KERNEL | kcalloc 431 drivers/infiniband/hw/hns/hns_roce_mr.c mr->pbl_l2_dma_addr = kcalloc(pbl_last_bt_num, kcalloc 437 drivers/infiniband/hw/hns/hns_roce_mr.c mr->pbl_bt_l2 = kcalloc(pbl_last_bt_num, kcalloc 523 drivers/infiniband/hw/hns/hns_roce_mr.c mr->pbl_l1_dma_addr = kcalloc(pbl_bt_sz / 8, kcalloc 529 drivers/infiniband/hw/hns/hns_roce_mr.c mr->pbl_bt_l1 = kcalloc(pbl_bt_sz / 8, sizeof(*mr->pbl_bt_l1), kcalloc 649 drivers/infiniband/hw/hns/hns_roce_qp.c wqe_list = kcalloc(wqe_cnt, sizeof(struct hns_roce_rinl_wqe), kcalloc 656 drivers/infiniband/hw/hns/hns_roce_qp.c wqe_list[0].sg_list = kcalloc(wqe_cnt, (max_recv_sge * kcalloc 879 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.wrid = kcalloc(hr_qp->sq.wqe_cnt, sizeof(u64), kcalloc 887 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->rq.wrid = kcalloc(hr_qp->rq.wqe_cnt, sizeof(u64), kcalloc 568 drivers/infiniband/hw/i40iw/i40iw_main.c cqp->cqp_requests = kcalloc(sqsize, sizeof(*cqp->cqp_requests), GFP_KERNEL); kcalloc 571 drivers/infiniband/hw/i40iw/i40iw_main.c cqp->scratch_array = kcalloc(sqsize, sizeof(*cqp->scratch_array), GFP_KERNEL); kcalloc 794 drivers/infiniband/hw/i40iw/i40iw_main.c iwdev->ceqlist = kcalloc(num_ceqs, sizeof(*iwdev->ceqlist), GFP_KERNEL); kcalloc 1612 drivers/infiniband/hw/mlx4/mad.c tun_qp->ring = kcalloc(MLX4_NUM_TUNNEL_BUFS, kcalloc 1618 drivers/infiniband/hw/mlx4/mad.c tun_qp->tx_ring = kcalloc(MLX4_NUM_TUNNEL_BUFS, kcalloc 2160 drivers/infiniband/hw/mlx4/mad.c ctx->tun = kcalloc(dev->dev->caps.sqp_demux, kcalloc 2172 drivers/infiniband/hw/mlx4/main.c *name = kcalloc(num_counters, sizeof(**name), GFP_KERNEL); kcalloc 2176 drivers/infiniband/hw/mlx4/main.c *offset = kcalloc(num_counters, sizeof(**offset), GFP_KERNEL); kcalloc 2438 drivers/infiniband/hw/mlx4/main.c ibdev->eq_table = kcalloc(dev->caps.num_comp_vectors, kcalloc 3070 drivers/infiniband/hw/mlx4/main.c dm = kcalloc(ports, sizeof(*dm), GFP_ATOMIC); kcalloc 505 drivers/infiniband/hw/mlx4/sysfs.c tab_attr = kcalloc(1 + len, sizeof (struct attribute *), GFP_KERNEL); kcalloc 139 drivers/infiniband/hw/mlx5/gsi.c gsi->tx_qps = kcalloc(num_qps, sizeof(*gsi->tx_qps), GFP_KERNEL); kcalloc 145 drivers/infiniband/hw/mlx5/gsi.c gsi->outstanding_wrs = kcalloc(init_attr->cap.max_send_wr, kcalloc 46 drivers/infiniband/hw/mlx5/ib_rep.c ibdev->port = kcalloc(num_ports, sizeof(*ibdev->port), kcalloc 1848 drivers/infiniband/hw/mlx5/main.c bfregi->count = kcalloc(bfregi->total_num_bfregs, sizeof(*bfregi->count), kcalloc 1855 drivers/infiniband/hw/mlx5/main.c bfregi->sys_pages = kcalloc(bfregi->num_sys_pages, kcalloc 3426 drivers/infiniband/hw/mlx5/main.c desc_data = kcalloc(cntrs_data->ncounters, kcalloc 4114 drivers/infiniband/hw/mlx5/main.c dst = kcalloc(2, sizeof(*dst), GFP_KERNEL); kcalloc 5380 drivers/infiniband/hw/mlx5/main.c cnts->names = kcalloc(num_counters, sizeof(cnts->names), GFP_KERNEL); kcalloc 5384 drivers/infiniband/hw/mlx5/main.c cnts->offsets = kcalloc(num_counters, kcalloc 6086 drivers/infiniband/hw/mlx5/main.c mread_attr.out = kcalloc(mcounters->counters_num, sizeof(u64), kcalloc 6922 drivers/infiniband/hw/mlx5/main.c dev->port = kcalloc(num_ports, sizeof(*dev->port), kcalloc 147 drivers/infiniband/hw/mthca/mthca_mr.c buddy->bits = kcalloc(buddy->max_order + 1, sizeof(long *), kcalloc 149 drivers/infiniband/hw/mthca/mthca_mr.c buddy->num_free = kcalloc((buddy->max_order + 1), sizeof *buddy->num_free, kcalloc 82 drivers/infiniband/hw/mthca/mthca_profile.c profile = kcalloc(MTHCA_RES_NUM, sizeof(*profile), GFP_KERNEL); kcalloc 3089 drivers/infiniband/hw/ocrdma/ocrdma_hw.c dev->eq_tbl = kcalloc(num_eq, sizeof(struct ocrdma_eq), GFP_KERNEL); kcalloc 265 drivers/infiniband/hw/ocrdma/ocrdma_main.c dev->cq_tbl = kcalloc(OCRDMA_MAX_CQ, sizeof(struct ocrdma_cq *), kcalloc 271 drivers/infiniband/hw/ocrdma/ocrdma_main.c dev->qp_tbl = kcalloc(OCRDMA_MAX_QP, kcalloc 278 drivers/infiniband/hw/ocrdma/ocrdma_main.c dev->stag_arr = kcalloc(OCRDMA_MAX_STAG, sizeof(u64), GFP_KERNEL); kcalloc 802 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mr->pbl_table = kcalloc(mr->num_pbls, sizeof(struct ocrdma_pbl), kcalloc 1266 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c kcalloc(qp->sq.max_cnt, sizeof(*(qp->wqe_wr_id_tbl)), kcalloc 1271 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c kcalloc(qp->rq.max_cnt, sizeof(u64), GFP_KERNEL); kcalloc 1801 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c srq->rqe_wr_id_tbl = kcalloc(srq->rq.max_cnt, sizeof(u64), kcalloc 2929 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mr->pages = kcalloc(max_num_sg, sizeof(u64), GFP_KERNEL); kcalloc 354 drivers/infiniband/hw/qedr/main.c dev->sgid_tbl = kcalloc(QEDR_MAX_SGID, sizeof(union ib_gid), kcalloc 368 drivers/infiniband/hw/qedr/main.c dev->sb_array = kcalloc(dev->num_cnq, sizeof(*dev->sb_array), kcalloc 375 drivers/infiniband/hw/qedr/main.c dev->cnq_array = kcalloc(dev->num_cnq, kcalloc 343 drivers/infiniband/hw/qedr/qedr_roce_cm.c qp->rqe_wr_id = kcalloc(qp->rq.max_wr, sizeof(*qp->rqe_wr_id), kcalloc 347 drivers/infiniband/hw/qedr/qedr_roce_cm.c qp->wqe_wr_id = kcalloc(qp->sq.max_wr, sizeof(*qp->wqe_wr_id), kcalloc 520 drivers/infiniband/hw/qedr/verbs.c pbl_table = kcalloc(pbl_info->num_pbls, sizeof(*pbl_table), flags); kcalloc 1836 drivers/infiniband/hw/qedr/verbs.c qp->wqe_wr_id = kcalloc(qp->sq.max_wr, sizeof(*qp->wqe_wr_id), kcalloc 1854 drivers/infiniband/hw/qedr/verbs.c qp->rqe_wr_id = kcalloc(qp->rq.max_wr, sizeof(*qp->rqe_wr_id), kcalloc 7292 drivers/infiniband/hw/qib/qib_iba7322.c dd->cspec->msix_entries = kcalloc(tabsize, kcalloc 134 drivers/infiniband/hw/qib/qib_init.c dd->rcd = kcalloc(dd->ctxtcnt, sizeof(*dd->rcd), GFP_KERNEL); kcalloc 1109 drivers/infiniband/hw/qib/qib_init.c qib_cpulist = kcalloc(BITS_TO_LONGS(count), sizeof(long), kcalloc 546 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c res_chunk_list = kcalloc(res_lst_sz + 1, sizeof(*res_chunk_list), kcalloc 541 drivers/infiniband/hw/usnic/usnic_uiom.c devs = kcalloc(pd->dev_cnt + 1, sizeof(*devs), GFP_ATOMIC); kcalloc 248 drivers/infiniband/hw/usnic/usnic_vnic.c ret->res = kcalloc(cnt, sizeof(*(ret->res)), GFP_ATOMIC); kcalloc 315 drivers/infiniband/hw/usnic/usnic_vnic.c chunk->res = kcalloc(cnt, sizeof(*(chunk->res)), GFP_KERNEL); kcalloc 66 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c tbl->table = kcalloc(BITS_TO_LONGS(num), sizeof(long), GFP_KERNEL); kcalloc 238 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c dev->cq_tbl = kcalloc(dev->dsr->caps.max_cq, sizeof(struct pvrdma_cq *), kcalloc 244 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c dev->qp_tbl = kcalloc(dev->dsr->caps.max_qp, sizeof(struct pvrdma_qp *), kcalloc 261 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c dev->srq_tbl = kcalloc(dev->dsr->caps.max_srq, kcalloc 1010 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c dev->sgid_tbl = kcalloc(dev->dsr->caps.gid_tbl_len, kcalloc 68 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c pdir->tables = kcalloc(pdir->ntables, sizeof(*pdir->tables), kcalloc 84 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c pdir->pages = kcalloc(npages, sizeof(*pdir->pages), kcalloc 98 drivers/infiniband/sw/rdmavt/vt.c rdi->ports = kcalloc(nports, kcalloc 163 drivers/infiniband/sw/rxe/rxe.c port->pkey_tbl = kcalloc(port->attr.pkey_tbl_len, kcalloc 129 drivers/infiniband/sw/rxe/rxe_qp.c qp->resp.resources = kcalloc(n, sizeof(struct resp_res), GFP_KERNEL); kcalloc 143 drivers/infiniband/sw/siw/siw_main.c kcalloc(num_nodes, sizeof(struct cpumask *), GFP_KERNEL); kcalloc 411 drivers/infiniband/sw/siw/siw_mem.c kcalloc(num_chunks, sizeof(struct siw_page_chunk), GFP_KERNEL); kcalloc 420 drivers/infiniband/sw/siw/siw_mem.c kcalloc(nents, sizeof(struct page *), GFP_KERNEL); kcalloc 1696 drivers/infiniband/ulp/ipoib/ipoib_main.c priv->rx_ring = kcalloc(ipoib_recvq_size, kcalloc 80 drivers/infiniband/ulp/iser/iser_verbs.c device->comps = kcalloc(device->comps_used, sizeof(*device->comps), kcalloc 176 drivers/infiniband/ulp/isert/ib_isert.c isert_conn->rx_descs = kcalloc(ISERT_QP_MAX_RECV_DTOS, kcalloc 261 drivers/infiniband/ulp/isert/ib_isert.c device->comps = kcalloc(device->comps_used, sizeof(struct isert_comp), kcalloc 1045 drivers/infiniband/ulp/srp/ib_srp.c ch->req_ring = kcalloc(target->req_ring_size, sizeof(*ch->req_ring), kcalloc 2454 drivers/infiniband/ulp/srp/ib_srp.c ch->rx_ring = kcalloc(target->queue_size, sizeof(*ch->rx_ring), kcalloc 2458 drivers/infiniband/ulp/srp/ib_srp.c ch->tx_ring = kcalloc(target->queue_size, sizeof(*ch->tx_ring), kcalloc 3906 drivers/infiniband/ulp/srp/ib_srp.c target->ch = kcalloc(target->ch_count, sizeof(*target->ch), kcalloc 330 drivers/input/ff-core.c ff->effects = kcalloc(max_effects, sizeof(struct ff_effect), kcalloc 83 drivers/input/input-mt.c mt->red = kcalloc(n2, sizeof(*mt->red), GFP_KERNEL); kcalloc 491 drivers/input/input.c dev->absinfo = kcalloc(ABS_CNT, sizeof(*dev->absinfo), GFP_KERNEL); kcalloc 2192 drivers/input/input.c dev->vals = kcalloc(dev->max_vals, sizeof(*dev->vals), GFP_KERNEL); kcalloc 329 drivers/input/keyboard/omap4-keypad.c keypad_data->keymap = kcalloc(max_keys, kcalloc 1713 drivers/input/touchscreen/atmel_mxt_ts.c data->msg_buf = kcalloc(data->max_reportid, kcalloc 211 drivers/iommu/arm-smmu.c sids = kcalloc(it.cur_count, sizeof(*sids), GFP_KERNEL); kcalloc 101 drivers/iommu/dmar.c return kcalloc(*cnt, sizeof(struct dmar_dev_scope), GFP_KERNEL); kcalloc 1490 drivers/iommu/dmar.c qi->desc_status = kcalloc(QI_LENGTH, sizeof(int), GFP_ATOMIC); kcalloc 840 drivers/iommu/fsl_pamu_domain.c dma_domain->win_arr = kcalloc(w_count, kcalloc 1615 drivers/iommu/intel-iommu.c iommu->domain_ids = kcalloc(nlongs, sizeof(unsigned long), GFP_KERNEL); kcalloc 3127 drivers/iommu/intel-iommu.c ctxt_tbls = kcalloc(ctxt_table_entries, sizeof(void *), GFP_KERNEL); kcalloc 3203 drivers/iommu/intel-iommu.c g_iommus = kcalloc(g_num_of_iommus, sizeof(struct intel_iommu *), kcalloc 4223 drivers/iommu/intel-iommu.c iommu->iommu_state = kcalloc(MAX_SR_DMAR_REGS, sizeof(u32), kcalloc 147 drivers/iommu/omap-iommu-debug.c cr = kcalloc(num, sizeof(*cr), GFP_KERNEL); kcalloc 1439 drivers/iommu/omap-iommu.c odomain->iommus = kcalloc(odomain->num_iommus, sizeof(*iommu), kcalloc 1690 drivers/iommu/omap-iommu.c arch_data = kcalloc(num_iommus + 1, sizeof(*arch_data), GFP_KERNEL); kcalloc 296 drivers/iommu/tegra-smmu.c as->count = kcalloc(SMMU_NUM_PDE, sizeof(u32), GFP_KERNEL); kcalloc 303 drivers/iommu/tegra-smmu.c as->pts = kcalloc(SMMU_NUM_PDE, sizeof(*as->pts), GFP_KERNEL); kcalloc 465 drivers/ipack/carriers/tpci200.c tpci200->slots = kcalloc(TPCI200_NB_SLOT, sizeof(struct tpci200_slot), kcalloc 181 drivers/irqchip/exynos-combiner.c combiner_data = kcalloc(max_nr, sizeof (*combiner_data), GFP_KERNEL); kcalloc 271 drivers/irqchip/irq-alpine-msi.c priv->msi_map = kcalloc(BITS_TO_LONGS(priv->num_spis), kcalloc 227 drivers/irqchip/irq-atmel-aic-common.c aic = kcalloc(nchips, sizeof(*aic), GFP_KERNEL); kcalloc 367 drivers/irqchip/irq-atmel-aic5.c smr_cache = kcalloc(DIV_ROUND_UP(NR_SAMA5D2_IRQS, 32) * 32, kcalloc 239 drivers/irqchip/irq-bcm7120-l2.c data->l1_data = kcalloc(data->num_parent_irqs, sizeof(*data->l1_data), kcalloc 225 drivers/irqchip/irq-crossbar.c cb->irq_map = kcalloc(max, sizeof(int), GFP_KERNEL); kcalloc 271 drivers/irqchip/irq-crossbar.c cb->register_offsets = kcalloc(max, sizeof(int), GFP_KERNEL); kcalloc 243 drivers/irqchip/irq-csky-mpintc.c __trigger = kcalloc(nr_irq, sizeof(unsigned long), GFP_KERNEL); kcalloc 390 drivers/irqchip/irq-gic-v2m.c v2m->bm = kcalloc(BITS_TO_LONGS(v2m->nr_spis), sizeof(long), kcalloc 1287 drivers/irqchip/irq-gic-v3-its.c maps = kcalloc(its_dev->event_map.nr_lpis, sizeof(*maps), kcalloc 1609 drivers/irqchip/irq-gic-v3-its.c bitmap = kcalloc(BITS_TO_LONGS(nr_irqs), sizeof (long), GFP_ATOMIC); kcalloc 2002 drivers/irqchip/irq-gic-v3-its.c its->collections = kcalloc(nr_cpu_ids, sizeof(*its->collections), kcalloc 2428 drivers/irqchip/irq-gic-v3-its.c col_map = kcalloc(nr_lpis, sizeof(*col_map), kcalloc 2431 drivers/irqchip/irq-gic-v3-its.c col_map = kcalloc(nr_ites, sizeof(*col_map), GFP_KERNEL); kcalloc 3505 drivers/irqchip/irq-gic-v3-its.c vpe_proxy.vpes = kcalloc(entries, sizeof(*vpe_proxy.vpes), kcalloc 279 drivers/irqchip/irq-gic-v3-mbi.c mbi_ranges = kcalloc(mbi_range_nr, sizeof(*mbi_ranges), GFP_KERNEL); kcalloc 293 drivers/irqchip/irq-gic-v3-mbi.c mbi_ranges[n].bm = kcalloc(BITS_TO_LONGS(mbi_ranges[n].nr_spis), kcalloc 1498 drivers/irqchip/irq-gic-v3.c ppi_nmi_refs = kcalloc(gic_data.ppi_nr, sizeof(*ppi_nmi_refs), GFP_KERNEL); kcalloc 1617 drivers/irqchip/irq-gic-v3.c gic_data.ppi_descs = kcalloc(gic_data.ppi_nr, sizeof(*gic_data.ppi_descs), GFP_KERNEL); kcalloc 1626 drivers/irqchip/irq-gic-v3.c parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL); kcalloc 1748 drivers/irqchip/irq-gic-v3.c rdist_regs = kcalloc(nr_redist_regions, sizeof(*rdist_regs), kcalloc 148 drivers/irqchip/irq-mtk-sysirq.c chip_data->intpol_words = kcalloc(nr_intpol_bases, kcalloc 156 drivers/irqchip/irq-mtk-sysirq.c chip_data->intpol_bases = kcalloc(nr_intpol_bases, kcalloc 179 drivers/irqchip/irq-mtk-sysirq.c chip_data->intpol_idx = kcalloc(intpol_num, kcalloc 187 drivers/irqchip/irq-mtk-sysirq.c chip_data->which_word = kcalloc(intpol_num, kcalloc 170 drivers/irqchip/irq-mvebu-odmi.c odmis = kcalloc(odmis_count, sizeof(struct odmi_data), GFP_KERNEL); kcalloc 174 drivers/irqchip/irq-mvebu-odmi.c odmis_bm = kcalloc(BITS_TO_LONGS(odmis_count * NODMIS_PER_FRAME), kcalloc 221 drivers/irqchip/irq-partition-percpu.c desc->bitmap = kcalloc(BITS_TO_LONGS(nr_parts), sizeof(long), kcalloc 227 drivers/irqchip/irq-pic32-evic.c priv = kcalloc(nchips, sizeof(*priv), GFP_KERNEL); kcalloc 1255 drivers/irqchip/irq-s3c24xx.c intc->irqs = kcalloc(32, sizeof(struct s3c_irq_data), kcalloc 662 drivers/irqchip/irq-stm32-exti.c host_data->chips_data = kcalloc(dd->bank_nr, kcalloc 244 drivers/irqchip/qcom-pdc.c pdc_region = kcalloc(pdc_region_cnt, sizeof(*pdc_region), GFP_KERNEL); kcalloc 1265 drivers/isdn/capi/capi.c capiminors = kcalloc(capi_ttyminors, sizeof(struct capiminor *), kcalloc 335 drivers/leds/led-core.c pattern = kcalloc(count, sizeof(*pattern), GFP_KERNEL); kcalloc 157 drivers/lightnvm/core.c dev_map->chnls = kcalloc(num_ch, sizeof(struct nvm_ch_map), GFP_KERNEL); kcalloc 161 drivers/lightnvm/core.c luns = kcalloc(num_lun, sizeof(struct ppa_addr), GFP_KERNEL); kcalloc 181 drivers/lightnvm/core.c lun_offs = kcalloc(luns_in_chnl, sizeof(int), GFP_KERNEL); kcalloc 519 drivers/lightnvm/core.c rmap->chnls = kcalloc(dev->geo.num_ch, sizeof(struct nvm_ch_map), kcalloc 534 drivers/lightnvm/core.c lun_roffs = kcalloc(luns_in_chnl, sizeof(int), GFP_KERNEL); kcalloc 1104 drivers/lightnvm/core.c dev->lun_map = kcalloc(BITS_TO_LONGS(geo->all_luns), kcalloc 427 drivers/lightnvm/pblk-init.c pblk->pad_dist = kcalloc(pblk->min_write_pgs - 1, sizeof(atomic64_t), kcalloc 599 drivers/lightnvm/pblk-init.c pblk->luns = kcalloc(geo->all_luns, sizeof(struct pblk_lun), kcalloc 851 drivers/lightnvm/pblk-init.c l_mg->vsc_list = kcalloc(l_mg->nr_lines, sizeof(__le32), GFP_KERNEL); kcalloc 1020 drivers/lightnvm/pblk-init.c pblk->lines = kcalloc(l_mg->nr_lines, sizeof(struct pblk_line), kcalloc 496 drivers/lightnvm/pblk-recovery.c data = kcalloc(pblk->max_write_pgs, geo->csecs, GFP_KERNEL); kcalloc 463 drivers/mailbox/pcc.c pcc_mbox_channels = kcalloc(count, sizeof(struct mbox_chan), kcalloc 470 drivers/mailbox/pcc.c pcc_doorbell_vaddr = kcalloc(count, sizeof(void *), GFP_KERNEL); kcalloc 476 drivers/mailbox/pcc.c pcc_doorbell_ack_vaddr = kcalloc(count, sizeof(void *), GFP_KERNEL); kcalloc 482 drivers/mailbox/pcc.c pcc_doorbell_irq = kcalloc(count, sizeof(int), GFP_KERNEL); kcalloc 156 drivers/mcb/mcb-parse.c c = kcalloc(bar_count, sizeof(struct chameleon_bar), kcalloc 1818 drivers/md/bcache/super.c if (!(c->devices = kcalloc(c->nr_uuids, sizeof(void *), GFP_KERNEL)) || kcalloc 2667 drivers/md/dm-cache-target.c copy = kcalloc(argc, sizeof(*copy), GFP_KERNEL); kcalloc 1765 drivers/md/dm-clone-target.c copy = kcalloc(argc, sizeof(*copy), GFP_KERNEL); kcalloc 1774 drivers/md/dm-crypt.c cc->cipher_tfm.tfms = kcalloc(cc->tfms_count, kcalloc 1176 drivers/md/dm-zoned-metadata.c zmd->zones = kcalloc(dev->nr_zones, sizeof(struct dm_zone), GFP_KERNEL); kcalloc 1185 drivers/md/dm-zoned-metadata.c blkz = kcalloc(nr_blkz, sizeof(struct blk_zone), GFP_KERNEL); kcalloc 1360 drivers/md/dm-zoned-metadata.c zmd->map_mblk = kcalloc(zmd->nr_map_blocks, kcalloc 2125 drivers/md/md-bitmap.c new_bp = kcalloc(pages, sizeof(*new_bp), GFP_KERNEL); kcalloc 1480 drivers/md/md-cluster.c kcalloc(mddev->bitmap_info.nodes - 1, kcalloc 393 drivers/md/md-multipath.c conf->multipaths = kcalloc(mddev->raid_disks, kcalloc 174 drivers/md/raid0.c conf->strip_zone = kcalloc(conf->nr_strip_zones, kcalloc 2950 drivers/md/raid1.c conf->nr_pending = kcalloc(BARRIER_BUCKETS_NR, kcalloc 2955 drivers/md/raid1.c conf->nr_waiting = kcalloc(BARRIER_BUCKETS_NR, kcalloc 2960 drivers/md/raid1.c conf->nr_queued = kcalloc(BARRIER_BUCKETS_NR, kcalloc 2965 drivers/md/raid1.c conf->barrier = kcalloc(BARRIER_BUCKETS_NR, kcalloc 3658 drivers/md/raid10.c conf->mirrors = kcalloc(mddev->raid_disks + max(0, -mddev->delta_disks), kcalloc 4109 drivers/md/raid10.c kcalloc(mddev->raid_disks + mddev->delta_disks, kcalloc 1397 drivers/md/raid5-ppl.c ppl_conf->child_logs = kcalloc(ppl_conf->count, sizeof(struct ppl_log), kcalloc 2383 drivers/md/raid5.c ndisks = kcalloc(newsize, sizeof(struct disk_info), GFP_NOIO); kcalloc 6692 drivers/md/raid5.c workers = kcalloc(size, *group_cnt, GFP_NOIO); kcalloc 6693 drivers/md/raid5.c *worker_groups = kcalloc(*group_cnt, sizeof(struct r5worker_group), kcalloc 6923 drivers/md/raid5.c conf->pending_data = kcalloc(PENDING_IO_MAX, kcalloc 6974 drivers/md/raid5.c conf->disks = kcalloc(max_disks, sizeof(struct disk_info), kcalloc 143 drivers/media/common/saa7146/saa7146_core.c sglist = kcalloc(nr_pages, sizeof(struct scatterlist), GFP_KERNEL); kcalloc 1861 drivers/media/dvb-core/dvb_ca_en50221.c ca->slot_info = kcalloc(slot_count, sizeof(struct dvb_ca_slot), kcalloc 257 drivers/media/dvb-core/dvbdev.c dvbdev->tsout_pads = kcalloc(npads, sizeof(*dvbdev->tsout_pads), kcalloc 262 drivers/media/dvb-core/dvbdev.c dvbdev->tsout_entity = kcalloc(npads, sizeof(*dvbdev->tsout_entity), kcalloc 340 drivers/media/dvb-core/dvbdev.c dvbdev->pads = kcalloc(npads, sizeof(*dvbdev->pads), kcalloc 67 drivers/media/mc/mc-entity.c ent_enum->bmap = kcalloc(idx_max / BITS_PER_LONG, sizeof(long), kcalloc 253 drivers/media/pci/tw686x/tw686x-core.c dev->video_channels = kcalloc(max_channels(dev), kcalloc 260 drivers/media/pci/tw686x/tw686x-core.c dev->audio_channels = kcalloc(max_channels(dev), kcalloc 1663 drivers/media/platform/davinci/vpif_capture.c vpif_obj.sd = kcalloc(subdev_count, sizeof(*vpif_obj.sd), GFP_KERNEL); kcalloc 1292 drivers/media/platform/davinci/vpif_display.c vpif_obj.sd = kcalloc(subdev_count, sizeof(*vpif_obj.sd), GFP_KERNEL); kcalloc 1057 drivers/media/platform/omap3isp/ispstat.c stat->buf = kcalloc(STAT_MAX_BUFS, sizeof(*stat->buf), GFP_KERNEL); kcalloc 783 drivers/media/platform/pxa_camera.c user_formats = kcalloc(fmts + 1, sizeof(*user_formats), GFP_KERNEL); kcalloc 351 drivers/media/platform/video-mux.c ports = kcalloc(num_input_pads, sizeof(*ports), GFP_KERNEL); kcalloc 207 drivers/media/platform/vimc/vimc-common.c pads = kcalloc(num_pads, sizeof(*pads), GFP_KERNEL); kcalloc 270 drivers/media/platform/vsp1/vsp1_dl.c pool->bodies = kcalloc(num_bodies, sizeof(*pool->bodies), GFP_KERNEL); kcalloc 437 drivers/media/platform/vsp1/vsp1_dl.c pool->cmds = kcalloc(num_cmds, sizeof(*pool->cmds), GFP_KERNEL); kcalloc 287 drivers/media/platform/vsp1/vsp1_video.c pipe->part_table = kcalloc(pipe->partitions, sizeof(*pipe->part_table), kcalloc 582 drivers/media/rc/redrat3.c buffer = kcalloc(RR3_FW_VERSION_LEN + 1, sizeof(*buffer), GFP_KERNEL); kcalloc 772 drivers/media/rc/redrat3.c sample_lens = kcalloc(RR3_DRIVER_MAXLENS, kcalloc 335 drivers/media/tuners/tuner-xc2028.c priv->firm = kcalloc(n_array, sizeof(*priv->firm), GFP_KERNEL); kcalloc 768 drivers/media/tuners/xc4000.c priv->firm = kcalloc(n_array, sizeof(*priv->firm), GFP_KERNEL); kcalloc 211 drivers/media/usb/au0828/au0828-video.c dev->isoc_ctl.urb = kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); kcalloc 217 drivers/media/usb/au0828/au0828-video.c dev->isoc_ctl.transfer_buffer = kcalloc(num_bufs, sizeof(void *), kcalloc 1027 drivers/media/usb/cx231xx/cx231xx-core.c kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); kcalloc 1035 drivers/media/usb/cx231xx/cx231xx-core.c kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); kcalloc 1162 drivers/media/usb/cx231xx/cx231xx-core.c kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); kcalloc 1170 drivers/media/usb/cx231xx/cx231xx-core.c kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); kcalloc 407 drivers/media/usb/cx231xx/cx231xx-vbi.c dev->vbi_mode.bulk_ctl.urb = kcalloc(num_bufs, sizeof(void *), kcalloc 416 drivers/media/usb/cx231xx/cx231xx-vbi.c kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); kcalloc 844 drivers/media/usb/em28xx/em28xx-audio.c dev->adev.transfer_buffer = kcalloc(num_urb, kcalloc 850 drivers/media/usb/em28xx/em28xx-audio.c dev->adev.urb = kcalloc(num_urb, sizeof(*dev->adev.urb), GFP_KERNEL); kcalloc 3752 drivers/media/usb/em28xx/em28xx-cards.c dev->alt_max_pkt_size_isoc = kcalloc(intf->num_altsetting, kcalloc 928 drivers/media/usb/em28xx/em28xx-core.c usb_bufs->urb = kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); kcalloc 932 drivers/media/usb/em28xx/em28xx-core.c usb_bufs->buf = kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); kcalloc 1574 drivers/media/usb/go7007/go7007-fw.c code = kcalloc(codespace, 2, GFP_KERNEL); kcalloc 2428 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->controls = kcalloc(hdw->control_cnt, sizeof(struct pvr2_ctrl), kcalloc 2454 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->mpeg_ctrl_info = kcalloc(MPEGDEF_COUNT, kcalloc 354 drivers/media/usb/pvrusb2/pvrusb2-std.c stddefs = kcalloc(std_cnt, sizeof(struct v4l2_standard), kcalloc 432 drivers/media/usb/stk1160/stk1160-video.c dev->isoc_ctl.urb = kcalloc(num_bufs, sizeof(void *), GFP_KERNEL); kcalloc 438 drivers/media/usb/stk1160/stk1160-video.c dev->isoc_ctl.transfer_buffer = kcalloc(num_bufs, sizeof(void *), kcalloc 439 drivers/media/usb/stkwebcam/stk-webcam.c dev->isobufs = kcalloc(MAX_ISO_BUFS, sizeof(*dev->isobufs), kcalloc 572 drivers/media/usb/stkwebcam/stk-webcam.c dev->sio_bufs = kcalloc(n_sbufs, kcalloc 797 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->iso_buffer = kcalloc(FRAMES_PER_ISO_BUF * ISO_BUF_COUNT, kcalloc 1186 drivers/media/usb/ttusb-dec/ttusb_dec.c dec->iso_buffer = kcalloc(FRAMES_PER_ISO_BUF * ISO_BUF_COUNT, kcalloc 510 drivers/media/usb/usbtv/usbtv-video.c ip->transfer_buffer = kcalloc(USBTV_ISOC_PACKETS, size, kcalloc 2305 drivers/media/usb/uvc/uvc_ctrl.c entity->controls = kcalloc(ncontrols, sizeof(*ctrl), kcalloc 420 drivers/media/v4l2-core/v4l2-flash-led-class.c ctrl_init_data = kcalloc(NUM_FLASH_CTRLS, sizeof(*ctrl_init_data), kcalloc 218 drivers/media/v4l2-core/videobuf-dma-sg.c dma->vaddr_pages = kcalloc(nr_pages, sizeof(*dma->vaddr_pages), kcalloc 223 drivers/media/v4l2-core/videobuf-dma-sg.c dma->dma_addr = kcalloc(nr_pages, sizeof(*dma->dma_addr), GFP_KERNEL); kcalloc 57 drivers/memory/samsung/exynos-srom.c rd = kcalloc(nr_rdump, sizeof(*rd), GFP_KERNEL); kcalloc 1017 drivers/memstick/core/mspro_block.c msb->attr_group.attrs = kcalloc(attr_count + 1, kcalloc 1294 drivers/message/fusion/mptfc.c ioc->ScsiLookup = kcalloc(ioc->req_depth, sizeof(void *), GFP_KERNEL); kcalloc 403 drivers/message/fusion/mptlan.c priv->SendCtl = kcalloc(priv->tx_max_out, sizeof(struct BufferControl), kcalloc 418 drivers/message/fusion/mptlan.c priv->RcvCtl = kcalloc(priv->max_buckets_out, kcalloc 2402 drivers/message/fusion/mptsas.c port_info->phy_info = kcalloc(port_info->num_phys, kcalloc 2693 drivers/message/fusion/mptsas.c port_info->phy_info = kcalloc(port_info->num_phys, kcalloc 3424 drivers/message/fusion/mptsas.c port_info->phy_info = kcalloc(port_info->num_phys, kcalloc 5268 drivers/message/fusion/mptsas.c ioc->ScsiLookup = kcalloc(ioc->req_depth, sizeof(void *), GFP_ATOMIC); kcalloc 1496 drivers/message/fusion/mptspi.c ioc->ScsiLookup = kcalloc(ioc->req_depth, sizeof(void *), GFP_ATOMIC); kcalloc 191 drivers/mfd/cros_ec_dev.c sensor_cells = kcalloc(sensor_num + 2, sizeof(struct mfd_cell), kcalloc 196 drivers/mfd/cros_ec_dev.c sensor_platforms = kcalloc(sensor_num, kcalloc 157 drivers/mfd/mfd-core.c res = kcalloc(cell->num_resources, sizeof(*res), GFP_KERNEL); kcalloc 292 drivers/mfd/mfd-core.c cnts = kcalloc(n_devs, sizeof(*cnts), GFP_KERNEL); kcalloc 697 drivers/mfd/timberdale.c msix_entries = kcalloc(TIMBERDALE_NR_IRQS, sizeof(*msix_entries), kcalloc 293 drivers/misc/altera-stapl/altera.c vars = kcalloc(sym_count, sizeof(long), GFP_KERNEL); kcalloc 299 drivers/misc/altera-stapl/altera.c var_size = kcalloc(sym_count, sizeof(s32), GFP_KERNEL); kcalloc 1125 drivers/misc/altera-stapl/altera.c longptr_tmp = kcalloc(count, sizeof(long), kcalloc 1407 drivers/misc/cardreader/rtsx_pcr.c pcr->slots = kcalloc(pcr->num_slots, sizeof(struct rtsx_slot), kcalloc 88 drivers/misc/cxl/guest.c vpd_buf = kcalloc(entries, sizeof(unsigned long *), GFP_KERNEL); kcalloc 321 drivers/misc/cxl/irq.c ctx->irq_bitmap = kcalloc(BITS_TO_LONGS(count), kcalloc 301 drivers/misc/cxl/of.c adapter->guest->irq_avail = kcalloc(nranges, sizeof(struct irq_avail), kcalloc 311 drivers/misc/cxl/of.c cur->bitmap = kcalloc(BITS_TO_LONGS(cur->range), kcalloc 158 drivers/misc/echo/echo.c kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); kcalloc 163 drivers/misc/echo/echo.c kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); kcalloc 180 drivers/misc/echo/echo.c ec->snapshot = kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); kcalloc 77 drivers/misc/echo/fir.h fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); kcalloc 119 drivers/misc/echo/fir.h fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); kcalloc 429 drivers/misc/fastrpc.c ctx->maps = kcalloc(ctx->nscalars, kcalloc 435 drivers/misc/fastrpc.c ctx->olaps = kcalloc(ctx->nscalars, kcalloc 989 drivers/misc/fastrpc.c args = kcalloc(FASTRPC_CREATE_PROCESS_NARGS, sizeof(*args), GFP_KERNEL); kcalloc 1271 drivers/misc/fastrpc.c args = kcalloc(nscalars, sizeof(*args), GFP_KERNEL); kcalloc 1042 drivers/misc/genwqe/card_ddcb.c queue->ddcb_req = kcalloc(queue->ddcb_max, sizeof(struct ddcb_requ *), kcalloc 1049 drivers/misc/genwqe/card_ddcb.c queue->ddcb_waitqs = kcalloc(queue->ddcb_max, kcalloc 56 drivers/misc/genwqe/card_debugfs.c regs = kcalloc(entries, sizeof(*regs), GFP_KERNEL); kcalloc 125 drivers/misc/genwqe/card_debugfs.c regs = kcalloc(GENWQE_FFDC_REGS, sizeof(*regs), GFP_KERNEL); kcalloc 587 drivers/misc/genwqe/card_utils.c m->page_list = kcalloc(m->nr_pages, kcalloc 14 drivers/misc/habanalabs/asid.c hdev->asid_bitmap = kcalloc(BITS_TO_LONGS(hdev->asic_prop.max_asid), kcalloc 1125 drivers/misc/habanalabs/device.c kcalloc(hdev->asic_prop.completion_queues_count, kcalloc 602 drivers/misc/habanalabs/hw_queue.c hdev->kernel_queues = kcalloc(HL_MAX_QUEUES, kcalloc 49 drivers/misc/habanalabs/hwmon.c curr_arr = kcalloc(num_sensors_for_type, sizeof(*curr_arr), kcalloc 67 drivers/misc/habanalabs/hwmon.c channels_info = kcalloc(num_active_sensor_types + 1, kcalloc 112 drivers/misc/mic/scif/scif_main.c scif_dev = kcalloc(num_nodes, sizeof(*scif_dev), GFP_KERNEL); kcalloc 366 drivers/misc/mic/scif/scif_nodeqp.c sg = kcalloc(page_cnt, sizeof(struct scatterlist), GFP_KERNEL); kcalloc 412 drivers/misc/sgi-xp/xpc_main.c part->channels = kcalloc(XPC_MAX_NCHANNELS, kcalloc 902 drivers/misc/sgi-xp/xpc_main.c xpc_partitions = kcalloc(xp_max_npartitions, kcalloc 422 drivers/misc/sgi-xp/xpc_partition.c discovered_nasids = kcalloc(xpc_nasid_mask_nlongs, sizeof(long), kcalloc 523 drivers/misc/sgi-xp/xpnet.c xpnet_broadcast_partitions = kcalloc(BITS_TO_LONGS(xp_max_npartitions), kcalloc 175 drivers/misc/sram.c rblocks = kcalloc(nblocks, sizeof(*rblocks), GFP_KERNEL); kcalloc 1367 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->local_mem = kcalloc(QPE_NUM_PAGES(entry->qp), kcalloc 715 drivers/mmc/core/block.c idata = kcalloc(num_of_cmds, sizeof(*idata), GFP_KERNEL); kcalloc 360 drivers/mmc/core/mmc_test.c mem->arr = kcalloc(max_segs, sizeof(*mem->arr), GFP_KERNEL); kcalloc 611 drivers/mtd/chips/cfi_cmdset_0001.c mtd->eraseregions = kcalloc(mtd->numeraseregions, kcalloc 2827 drivers/mtd/chips/cfi_cmdset_0002.c sect = kcalloc(max_sectors, sizeof(struct ppb_lock), GFP_KERNEL); kcalloc 1816 drivers/mtd/devices/docg3.c docg3->bbt = kcalloc(DOC_LAYOUT_PAGE_SIZE, bbt_nbpages, GFP_KERNEL); kcalloc 560 drivers/mtd/inftlmount.c ANACtable = kcalloc(s->nb_blocks, sizeof(u8), GFP_KERNEL); kcalloc 78 drivers/mtd/maps/pmcmsp-flash.c msp_flash = kcalloc(fcnt, sizeof(*msp_flash), GFP_KERNEL); kcalloc 82 drivers/mtd/maps/pmcmsp-flash.c msp_parts = kcalloc(fcnt, sizeof(*msp_parts), GFP_KERNEL); kcalloc 86 drivers/mtd/maps/pmcmsp-flash.c msp_maps = kcalloc(fcnt, sizeof(*msp_maps), GFP_KERNEL); kcalloc 104 drivers/mtd/maps/pmcmsp-flash.c msp_parts[i] = kcalloc(pcnt, sizeof(struct mtd_partition), kcalloc 30 drivers/mtd/nand/bbt.c nand->bbt.cache = kcalloc(nwords, sizeof(*nand->bbt.cache), kcalloc 3728 drivers/mtd/nand/onenand/onenand_base.c kcalloc(this->dies << 1, kcalloc 44 drivers/mtd/parsers/ar7part.c ar7_parts = kcalloc(AR7_PARTS, sizeof(*ar7_parts), GFP_KERNEL); kcalloc 109 drivers/mtd/parsers/bcm47xxpart.c parts = kcalloc(BCM47XXPART_MAX_PARTS, sizeof(struct mtd_partition), kcalloc 70 drivers/mtd/parsers/ofpart.c parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL); kcalloc 176 drivers/mtd/parsers/ofpart.c parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL); kcalloc 61 drivers/mtd/parsers/parser_trx.c parts = kcalloc(TRX_PARSER_MAX_PARTS, sizeof(struct mtd_partition), kcalloc 365 drivers/mtd/parsers/sharpslpart.c sharpsl_nand_parts = kcalloc(SHARPSL_NAND_PARTS, kcalloc 188 drivers/mtd/rfd_ftl.c part->blocks = kcalloc(part->total_blocks, sizeof(struct block), kcalloc 82 drivers/mtd/sm_ftl.c attributes = kcalloc(NUM_ATTRIBUTES + 1, sizeof(struct attribute *), kcalloc 1146 drivers/mtd/sm_ftl.c ftl->zones = kcalloc(ftl->zone_count, sizeof(struct ftl_zone), kcalloc 118 drivers/mtd/tests/pagetest.c pp1 = kcalloc(pgsize, 4, GFP_KERNEL); kcalloc 23 drivers/mtd/ubi/fastmap.c ret = kcalloc(BITS_TO_LONGS(ubi->peb_count), sizeof(unsigned long), kcalloc 1101 drivers/mtd/ubi/fastmap.c vol->checkmap = kcalloc(BITS_TO_LONGS(leb_count), sizeof(unsigned long), kcalloc 1753 drivers/mtd/ubi/wl.c ubi->lookuptbl = kcalloc(ubi->peb_count, sizeof(void *), GFP_KERNEL); kcalloc 2437 drivers/net/bonding/bond_main.c tags = kcalloc(level + 1, sizeof(*tags), GFP_ATOMIC); kcalloc 1056 drivers/net/can/grcan.c priv->echo_skb = kcalloc(dma->tx.size, sizeof(*priv->echo_skb), kcalloc 1065 drivers/net/can/grcan.c priv->txdlc = kcalloc(dma->tx.size, sizeof(*priv->txdlc), GFP_KERNEL); kcalloc 721 drivers/net/can/slcan.c slcan_devs = kcalloc(maxdev, sizeof(struct net_device *), GFP_KERNEL); kcalloc 509 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd = kcalloc(1, sizeof(struct kvaser_cmd), GFP_KERNEL); kcalloc 548 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd = kcalloc(1, sizeof(struct kvaser_cmd), GFP_ATOMIC); kcalloc 669 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd = kcalloc(1, sizeof(struct kvaser_cmd), GFP_KERNEL); kcalloc 710 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd = kcalloc(1, sizeof(struct kvaser_cmd), GFP_KERNEL); kcalloc 1363 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd = kcalloc(1, sizeof(struct kvaser_cmd_ext), GFP_ATOMIC); kcalloc 1439 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd = kcalloc(1, sizeof(struct kvaser_cmd), GFP_ATOMIC); kcalloc 1504 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd = kcalloc(1, sizeof(struct kvaser_cmd), GFP_KERNEL); kcalloc 1538 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd = kcalloc(1, sizeof(struct kvaser_cmd), GFP_KERNEL); kcalloc 1682 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd = kcalloc(1, sizeof(struct kvaser_cmd), GFP_KERNEL); kcalloc 1820 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd = kcalloc(1, sizeof(struct kvaser_cmd), GFP_KERNEL); kcalloc 333 drivers/net/can/usb/ucan.c up->context_array = kcalloc(up->device_info.tx_fifo, kcalloc 114 drivers/net/dsa/sja1105/sja1105_main.c table->entries = kcalloc(SJA1105_NUM_PORTS, kcalloc 154 drivers/net/dsa/sja1105/sja1105_main.c table->entries = kcalloc(SJA1105_MAX_XMII_PARAMS_COUNT, kcalloc 248 drivers/net/dsa/sja1105/sja1105_main.c table->entries = kcalloc(SJA1105_MAX_L2_LOOKUP_PARAMS_COUNT, kcalloc 286 drivers/net/dsa/sja1105/sja1105_main.c table->entries = kcalloc(1, table->ops->unpacked_entry_size, kcalloc 319 drivers/net/dsa/sja1105/sja1105_main.c table->entries = kcalloc(SJA1105_MAX_L2_FORWARDING_COUNT, kcalloc 368 drivers/net/dsa/sja1105/sja1105_main.c table->entries = kcalloc(SJA1105_MAX_L2_FORWARDING_PARAMS_COUNT, kcalloc 445 drivers/net/dsa/sja1105/sja1105_main.c table->entries = kcalloc(SJA1105_MAX_GENERAL_PARAMS_COUNT, kcalloc 486 drivers/net/dsa/sja1105/sja1105_main.c table->entries = kcalloc(SJA1105_MAX_L2_POLICING_COUNT, kcalloc 528 drivers/net/dsa/sja1105/sja1105_main.c table->entries = kcalloc(SJA1105_MAX_AVB_PARAMS_COUNT, kcalloc 405 drivers/net/dsa/sja1105/sja1105_spi.c config_buf = kcalloc(buf_len, sizeof(char), GFP_KERNEL); kcalloc 1224 drivers/net/dsa/sja1105/sja1105_static_config.c new_entries = kcalloc(new_count, entry_size, GFP_KERNEL); kcalloc 148 drivers/net/dsa/sja1105/sja1105_tas.c table->entries = kcalloc(num_entries, table->ops->unpacked_entry_size, kcalloc 157 drivers/net/dsa/sja1105/sja1105_tas.c table->entries = kcalloc(SJA1105_MAX_SCHEDULE_ENTRY_POINTS_PARAMS_COUNT, kcalloc 170 drivers/net/dsa/sja1105/sja1105_tas.c table->entries = kcalloc(SJA1105_MAX_SCHEDULE_PARAMS_COUNT, kcalloc 179 drivers/net/dsa/sja1105/sja1105_tas.c table->entries = kcalloc(num_cycles, table->ops->unpacked_entry_size, kcalloc 2364 drivers/net/ethernet/agere/et131x.c tx_ring->tcb_ring = kcalloc(NUM_TCB, sizeof(struct tcb), kcalloc 849 drivers/net/ethernet/alacritech/slicoss.c txq->txbuffs = kcalloc(txq->len, sizeof(*buff), GFP_KERNEL); kcalloc 926 drivers/net/ethernet/alacritech/slicoss.c buff = kcalloc(rxq->len, sizeof(*buff), GFP_KERNEL); kcalloc 277 drivers/net/ethernet/altera/altera_tse_main.c priv->rx_ring = kcalloc(rx_descs, sizeof(struct tse_buffer), kcalloc 283 drivers/net/ethernet/altera/altera_tse_main.c priv->tx_ring = kcalloc(tx_descs, sizeof(struct tse_buffer), kcalloc 498 drivers/net/ethernet/amd/pcnet32.c new_dma_addr_list = kcalloc(entries, sizeof(dma_addr_t), GFP_ATOMIC); kcalloc 502 drivers/net/ethernet/amd/pcnet32.c new_skb_list = kcalloc(entries, sizeof(struct sk_buff *), GFP_ATOMIC); kcalloc 558 drivers/net/ethernet/amd/pcnet32.c new_dma_addr_list = kcalloc(entries, sizeof(dma_addr_t), GFP_ATOMIC); kcalloc 562 drivers/net/ethernet/amd/pcnet32.c new_skb_list = kcalloc(entries, sizeof(struct sk_buff *), GFP_ATOMIC); kcalloc 2038 drivers/net/ethernet/amd/pcnet32.c lp->tx_dma_addr = kcalloc(lp->tx_ring_size, sizeof(dma_addr_t), kcalloc 2043 drivers/net/ethernet/amd/pcnet32.c lp->rx_dma_addr = kcalloc(lp->rx_ring_size, sizeof(dma_addr_t), kcalloc 2048 drivers/net/ethernet/amd/pcnet32.c lp->tx_skbuff = kcalloc(lp->tx_ring_size, sizeof(struct sk_buff *), kcalloc 2053 drivers/net/ethernet/amd/pcnet32.c lp->rx_skbuff = kcalloc(lp->rx_ring_size, sizeof(struct sk_buff *), kcalloc 422 drivers/net/ethernet/apm/xgene-v2/main.c ring->pkt_info = kcalloc(XGENE_ENET_NUM_DESC, sizeof(*ring->pkt_info), kcalloc 101 drivers/net/ethernet/aquantia/atlantic/aq_ring.c kcalloc(self->size, sizeof(struct aq_ring_buff_s), GFP_KERNEL); kcalloc 1140 drivers/net/ethernet/atheros/ag71xx.c tx->buf = kcalloc(ring_size, sizeof(*tx->buf), GFP_KERNEL); kcalloc 620 drivers/net/ethernet/atheros/alx/main.c txq->bufs = kcalloc(txq->count, sizeof(struct alx_buffer), GFP_KERNEL); kcalloc 634 drivers/net/ethernet/atheros/alx/main.c rxq->bufs = kcalloc(rxq->count, sizeof(struct alx_buffer), GFP_KERNEL); kcalloc 838 drivers/net/ethernet/aurora/nb8800.c priv->rx_bufs = kcalloc(n_rx, sizeof(*priv->rx_bufs), GFP_KERNEL); kcalloc 853 drivers/net/ethernet/aurora/nb8800.c priv->tx_bufs = kcalloc(n_tx, sizeof(*priv->tx_bufs), GFP_KERNEL); kcalloc 946 drivers/net/ethernet/broadcom/bcm63xx_enet.c priv->tx_skb = kcalloc(priv->tx_ring_size, sizeof(struct sk_buff *), kcalloc 959 drivers/net/ethernet/broadcom/bcm63xx_enet.c priv->rx_skb = kcalloc(priv->rx_ring_size, sizeof(struct sk_buff *), kcalloc 2131 drivers/net/ethernet/broadcom/bcm63xx_enet.c priv->tx_skb = kcalloc(priv->tx_ring_size, sizeof(struct sk_buff *), kcalloc 2145 drivers/net/ethernet/broadcom/bcm63xx_enet.c priv->rx_skb = kcalloc(priv->rx_ring_size, sizeof(struct sk_buff *), kcalloc 1475 drivers/net/ethernet/broadcom/bcmsysport.c ring->cbs = kcalloc(size, sizeof(struct bcm_sysport_cb), GFP_KERNEL); kcalloc 1648 drivers/net/ethernet/broadcom/bcmsysport.c priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct bcm_sysport_cb), kcalloc 4567 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c txdata->tx_buf_ring = kcalloc(NUM_TX_BD, kcalloc 4583 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c kcalloc(NUM_RX_BD, sizeof(struct sw_rx_bd), GFP_KERNEL); kcalloc 4601 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c kcalloc(NUM_RX_SGE, sizeof(struct sw_rx_page), kcalloc 4732 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c fp = kcalloc(bp->fp_array_size, sizeof(*fp), GFP_KERNEL); kcalloc 4737 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c kcalloc(ETH_MAX_AGGREGATION_QUEUES_E1H_E2, kcalloc 4746 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bp->sp_objs = kcalloc(bp->fp_array_size, sizeof(struct bnx2x_sp_objs), kcalloc 4752 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bp->fp_stats = kcalloc(bp->fp_array_size, sizeof(struct bnx2x_fp_stats), kcalloc 4762 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bp->bnx2x_txq = kcalloc(txq_array_size, sizeof(struct bnx2x_fp_txdata), kcalloc 4768 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c tbl = kcalloc(msix_table_size, sizeof(*tbl), GFP_KERNEL); kcalloc 8376 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->ilt->lines = kcalloc(ILT_MAX_LINES, sizeof(struct ilt_line), kcalloc 3847 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c elem = kcalloc(len, sizeof(*elem), GFP_ATOMIC); kcalloc 575 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c mc = kcalloc(mc_num, sizeof(struct bnx2x_mcast_list_elem), kcalloc 1257 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c bp->vfdb->vfs = kcalloc(BNX2X_NR_VIRTFN(bp), kcalloc 1285 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c bp->vfdb->vfqs = kcalloc(BNX2X_MAX_NUM_VF_QUEUES, kcalloc 2749 drivers/net/ethernet/broadcom/bnxt/bnxt.c rxr->rx_tpa = kcalloc(bp->max_tpa, sizeof(struct bnxt_tpa_info), kcalloc 2756 drivers/net/ethernet/broadcom/bnxt/bnxt.c agg = kcalloc(total_aggs, sizeof(*agg), GFP_KERNEL); kcalloc 3322 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->grp_info = kcalloc(bp->cp_nr_rings, kcalloc 3358 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->vnic_info = kcalloc(num_vnics, sizeof(struct bnxt_vnic_info), kcalloc 3600 drivers/net/ethernet/broadcom/bnxt/bnxt.c vnic->fw_grp_ids = kcalloc(max_rings, sizeof(u16), GFP_KERNEL); kcalloc 3923 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->ntp_fltr_bmap = kcalloc(BITS_TO_LONGS(BNXT_NTP_FLTR_MAX_FLTR), kcalloc 3991 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->rx_ring = kcalloc(bp->rx_nr_rings, kcalloc 4010 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->tx_ring = kcalloc(bp->tx_nr_rings, kcalloc 4016 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->tx_ring_map = kcalloc(bp->tx_nr_rings, sizeof(u16), kcalloc 6663 drivers/net/ethernet/broadcom/bnxt/bnxt.c ctx_pg->ctx_pg_tbl = kcalloc(MAX_CTX_PAGES, sizeof(ctx_pg), kcalloc 8043 drivers/net/ethernet/broadcom/bnxt/bnxt.c msix_ent = kcalloc(total_vecs, sizeof(struct msix_entry), GFP_KERNEL); kcalloc 8062 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->irq_tbl = kcalloc(total_vecs, sizeof(struct bnxt_irq), GFP_KERNEL); kcalloc 8097 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->irq_tbl = kcalloc(1, sizeof(struct bnxt_irq), GFP_KERNEL); kcalloc 410 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c bp->pf.vf = kcalloc(num_vfs, sizeof(struct bnxt_vf_info), GFP_KERNEL); kcalloc 387 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c ent = kcalloc(ulp->msix_requested, sizeof(*ent), kcalloc 404 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c bp->vf_reps = kcalloc(num_vfs, sizeof(vf_rep), GFP_KERNEL); kcalloc 663 drivers/net/ethernet/broadcom/cnic.c id_tbl->table = kcalloc(BITS_TO_LONGS(size), sizeof(long), GFP_KERNEL); kcalloc 1205 drivers/net/ethernet/broadcom/cnic.c cp->ctx_arr = kcalloc(blks, sizeof(struct cnic_ctx), GFP_KERNEL); kcalloc 1258 drivers/net/ethernet/broadcom/cnic.c cp->iscsi_tbl = kcalloc(MAX_ISCSI_TBL_SZ, sizeof(struct cnic_iscsi), kcalloc 1263 drivers/net/ethernet/broadcom/cnic.c cp->ctx_tbl = kcalloc(cp->max_cid_space, sizeof(struct cnic_context), kcalloc 2556 drivers/net/ethernet/broadcom/genet/bcmgenet.c priv->rx_cbs = kcalloc(priv->num_rx_bds, sizeof(struct enet_cb), kcalloc 2569 drivers/net/ethernet/broadcom/genet/bcmgenet.c priv->tx_cbs = kcalloc(priv->num_tx_bds, sizeof(struct enet_cb), kcalloc 625 drivers/net/ethernet/broadcom/sb1250-mac.c d->sbdma_dscrtable_unaligned = kcalloc(d->sbdma_maxdescr + 1, kcalloc 645 drivers/net/ethernet/broadcom/sb1250-mac.c d->sbdma_ctxtable = kcalloc(d->sbdma_maxdescr, kcalloc 8647 drivers/net/ethernet/broadcom/tg3.c tnapi->tx_buffers = kcalloc(TG3_TX_RING_SIZE, kcalloc 1348 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl = kcalloc(mem_info->num, sizeof(struct bna_mem_descr), kcalloc 1461 drivers/net/ethernet/brocade/bna/bnad.c intr_info->idl = kcalloc(intr_info->num, kcalloc 1487 drivers/net/ethernet/brocade/bna/bnad.c intr_info->idl = kcalloc(intr_info->num, kcalloc 2648 drivers/net/ethernet/brocade/bna/bnad.c kcalloc(bnad->msix_num, sizeof(struct msix_entry), GFP_KERNEL); kcalloc 3136 drivers/net/ethernet/brocade/bna/bnad.c mac_list = kcalloc(ETH_ALEN, uc_count, GFP_ATOMIC); kcalloc 3177 drivers/net/ethernet/brocade/bna/bnad.c mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); kcalloc 732 drivers/net/ethernet/calxeda/xgmac.c priv->rx_skbuff = kcalloc(DMA_RX_RING_SZ, sizeof(struct sk_buff *), kcalloc 745 drivers/net/ethernet/calxeda/xgmac.c priv->tx_skbuff = kcalloc(DMA_TX_RING_SZ, sizeof(struct sk_buff *), kcalloc 85 drivers/net/ethernet/cavium/liquidio/lio_core.c kcalloc(num_iqs, sizeof(*lio->glist_lock), GFP_KERNEL); kcalloc 90 drivers/net/ethernet/cavium/liquidio/lio_core.c kcalloc(num_iqs, sizeof(*lio->glist), GFP_KERNEL); kcalloc 103 drivers/net/ethernet/cavium/liquidio/lio_core.c lio->glists_virt_base = kcalloc(num_iqs, sizeof(*lio->glists_virt_base), kcalloc 105 drivers/net/ethernet/cavium/liquidio/lio_core.c lio->glists_dma_base = kcalloc(num_iqs, sizeof(*lio->glists_dma_base), kcalloc 1033 drivers/net/ethernet/cavium/liquidio/lio_core.c kcalloc(num_interrupts, INTRNAMSIZ, GFP_KERNEL); kcalloc 1045 drivers/net/ethernet/cavium/liquidio/lio_core.c oct->msix_entries = kcalloc(oct->num_msix_irqs, kcalloc 1167 drivers/net/ethernet/cavium/liquidio/lio_core.c oct->irq_name_storage = kcalloc(1, INTRNAMSIZ, GFP_KERNEL); kcalloc 291 drivers/net/ethernet/cavium/thunder/nicvf_queues.c rbdr->pgcache = kcalloc(rbdr->pgcnt, sizeof(*rbdr->pgcache), kcalloc 514 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->skbuff = kcalloc(q_len, sizeof(u64), GFP_KERNEL); kcalloc 527 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->xdp_page = kcalloc(q_len, sizeof(u64), GFP_KERNEL); kcalloc 1090 drivers/net/ethernet/cavium/thunder/thunder_bgx.c lmac->dmacs = kcalloc(lmac->dmacs_count, sizeof(*lmac->dmacs), kcalloc 628 drivers/net/ethernet/chelsio/cxgb3/sge.c s = kcalloc(nelem, sw_size, GFP_KERNEL); kcalloc 3237 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c t = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), sizeof(long), GFP_KERNEL); kcalloc 3634 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adapter->hma.phy_addr = kcalloc(sgt->nents, sizeof(dma_addr_t), kcalloc 4554 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->sge.egr_map = kcalloc(adap->sge.egr_sz, kcalloc 4561 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->sge.ingr_map = kcalloc(adap->sge.ingr_sz, kcalloc 4571 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->sge.starving_fl = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), kcalloc 4578 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->sge.txq_maperr = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), kcalloc 4586 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->sge.blocked_fl = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), kcalloc 5245 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c msix_info = kcalloc(max_ingq, sizeof(*msix_info), GFP_KERNEL); kcalloc 5249 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->msix_bmap_ulds.msix_bmap = kcalloc(BITS_TO_LONGS(max_ingq), kcalloc 5373 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c pi->rss = kcalloc(pi->rss_size, sizeof(u16), GFP_KERNEL); kcalloc 5622 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->vfinfo = kcalloc(pci_sriov_get_totalvfs(pdev), kcalloc 202 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->msix_tbl = kcalloc((rxq_info->nrxq + rxq_info->nciq), kcalloc 303 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->uldrxq = kcalloc(nrxq, sizeof(struct sge_ofld_rxq), kcalloc 310 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->rspq_id = kcalloc(nrxq, sizeof(unsigned short), GFP_KERNEL); kcalloc 549 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c txq_info->uldtxq = kcalloc(txq_info->ntxq, sizeof(struct sge_uld_txq), kcalloc 585 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c adap->uld = kcalloc(CXGB4_ULD_MAX, sizeof(*adap->uld), GFP_KERNEL); kcalloc 589 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c s->uld_rxq_info = kcalloc(CXGB4_ULD_MAX, kcalloc 595 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c s->uld_txq_info = kcalloc(CXGB4_TX_MAX, kcalloc 770 drivers/net/ethernet/chelsio/cxgb4vf/sge.c void *swring = kcalloc(nelem, swsize, GFP_KERNEL); kcalloc 2814 drivers/net/ethernet/cisco/enic/enic_main.c enic->pp = kcalloc(num_pps, sizeof(*enic->pp), GFP_KERNEL); kcalloc 565 drivers/net/ethernet/cortina/gemini.c skb_tab = kcalloc(len, sizeof(*skb_tab), GFP_KERNEL); kcalloc 951 drivers/net/ethernet/cortina/gemini.c geth->freeq_pages = kcalloc(pages, sizeof(*geth->freeq_pages), kcalloc 4191 drivers/net/ethernet/emulex/benet/be_main.c adapter->vf_cfg = kcalloc(adapter->num_vfs, sizeof(*vf_cfg), kcalloc 4667 drivers/net/ethernet/emulex/benet/be_main.c adapter->pmac_id = kcalloc(be_max_uc(adapter), kcalloc 4672 drivers/net/ethernet/emulex/benet/be_main.c adapter->mc_list = kcalloc(be_max_mc(adapter), kcalloc 4677 drivers/net/ethernet/emulex/benet/be_main.c adapter->uc_list = kcalloc(be_max_uc(adapter), kcalloc 915 drivers/net/ethernet/faraday/ftgmac100.c priv->rx_skbs = kcalloc(MAX_RX_QUEUE_ENTRIES, sizeof(void *), kcalloc 919 drivers/net/ethernet/faraday/ftgmac100.c priv->tx_skbs = kcalloc(MAX_TX_QUEUE_ENTRIES, sizeof(void *), kcalloc 543 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c scl = kcalloc(nr_frags + 1, sizeof(struct scatterlist), GFP_ATOMIC); kcalloc 1071 drivers/net/ethernet/freescale/enetc/enetc.c priv->cls_rules = kcalloc(si->num_fs_entries, sizeof(*priv->cls_rules), kcalloc 638 drivers/net/ethernet/freescale/enetc/enetc_pf.c pf->vf_state = kcalloc(num_vfs, sizeof(struct enetc_vf_state), kcalloc 1422 drivers/net/ethernet/freescale/gianfar.c rx_queue->rx_buff = kcalloc(rx_queue->rx_ring_size, kcalloc 209 drivers/net/ethernet/hisilicon/hns/hnae.c ring->desc_cb = kcalloc(ring->desc_num, sizeof(ring->desc_cb[0]), kcalloc 1994 drivers/net/ethernet/hisilicon/hns/hns_enet.c data = kcalloc(reg_num, sizeof(u32), GFP_KERNEL); kcalloc 916 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c tmp_rings = kcalloc(handle->kinfo.num_tqps * 2, kcalloc 1356 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL); kcalloc 1900 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL); kcalloc 1980 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c desc = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL); kcalloc 464 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc = kcalloc(desc_num, sizeof(struct hclge_desc), GFP_ATOMIC); kcalloc 9597 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rss_indir = kcalloc(HCLGE_RSS_IND_TBL_SIZE, sizeof(u32), GFP_KERNEL); kcalloc 9666 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL); kcalloc 9720 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL); kcalloc 2908 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_indir = kcalloc(HCLGEVF_RSS_IND_TBL_SIZE, sizeof(u32), GFP_KERNEL); kcalloc 264 drivers/net/ethernet/huawei/hinic/hinic_main.c indir_tbl = kcalloc(HINIC_RSS_INDIR_SIZE, sizeof(u32), GFP_KERNEL); kcalloc 172 drivers/net/ethernet/ibm/ehea/ehea_main.c arr = kcalloc(num_fw_handles, sizeof(*arr), GFP_KERNEL); kcalloc 255 drivers/net/ethernet/ibm/ehea/ehea_main.c arr = kcalloc(num_registrations, sizeof(*arr), GFP_ATOMIC); kcalloc 166 drivers/net/ethernet/ibm/ibmveth.c pool->dma_addr = kcalloc(pool->size, sizeof(dma_addr_t), GFP_KERNEL); kcalloc 173 drivers/net/ethernet/ibm/ibmveth.c pool->skbuff = kcalloc(pool->size, sizeof(void *), GFP_KERNEL); kcalloc 365 drivers/net/ethernet/ibm/ibmvnic.c kcalloc(IBMVNIC_MAX_QUEUES, kcalloc 372 drivers/net/ethernet/ibm/ibmvnic.c kcalloc(IBMVNIC_MAX_QUEUES, kcalloc 506 drivers/net/ethernet/ibm/ibmvnic.c adapter->rx_pool = kcalloc(rxadd_subcrqs, kcalloc 529 drivers/net/ethernet/ibm/ibmvnic.c rx_pool->free_map = kcalloc(rx_pool->size, sizeof(int), kcalloc 536 drivers/net/ethernet/ibm/ibmvnic.c rx_pool->rx_buff = kcalloc(rx_pool->size, kcalloc 647 drivers/net/ethernet/ibm/ibmvnic.c tx_pool->tx_buff = kcalloc(num_entries, kcalloc 657 drivers/net/ethernet/ibm/ibmvnic.c tx_pool->free_map = kcalloc(num_entries, sizeof(int), GFP_KERNEL); kcalloc 679 drivers/net/ethernet/ibm/ibmvnic.c adapter->tx_pool = kcalloc(tx_subcrqs, kcalloc 684 drivers/net/ethernet/ibm/ibmvnic.c adapter->tso_pool = kcalloc(tx_subcrqs, kcalloc 744 drivers/net/ethernet/ibm/ibmvnic.c adapter->napi = kcalloc(adapter->req_rx_queues, kcalloc 3088 drivers/net/ethernet/ibm/ibmvnic.c allqueues = kcalloc(total_queues, sizeof(*allqueues), GFP_KERNEL); kcalloc 3127 drivers/net/ethernet/ibm/ibmvnic.c adapter->tx_scrq = kcalloc(adapter->req_tx_queues, kcalloc 3138 drivers/net/ethernet/ibm/ibmvnic.c adapter->rx_scrq = kcalloc(adapter->req_rx_queues, kcalloc 2161 drivers/net/ethernet/intel/e100.c if (!(nic->rxs = kcalloc(count, sizeof(struct rx), GFP_ATOMIC))) kcalloc 583 drivers/net/ethernet/intel/e1000/e1000_ethtool.c txdr = kcalloc(adapter->num_tx_queues, sizeof(struct e1000_tx_ring), kcalloc 588 drivers/net/ethernet/intel/e1000/e1000_ethtool.c rxdr = kcalloc(adapter->num_rx_queues, sizeof(struct e1000_rx_ring), kcalloc 985 drivers/net/ethernet/intel/e1000/e1000_ethtool.c txdr->buffer_info = kcalloc(txdr->count, sizeof(struct e1000_tx_buffer), kcalloc 1044 drivers/net/ethernet/intel/e1000/e1000_ethtool.c rxdr->buffer_info = kcalloc(rxdr->count, sizeof(struct e1000_rx_buffer), kcalloc 1326 drivers/net/ethernet/intel/e1000/e1000_main.c adapter->tx_ring = kcalloc(adapter->num_tx_queues, kcalloc 1331 drivers/net/ethernet/intel/e1000/e1000_main.c adapter->rx_ring = kcalloc(adapter->num_rx_queues, kcalloc 2236 drivers/net/ethernet/intel/e1000/e1000_main.c u32 *mcarray = kcalloc(mta_reg_count, sizeof(u32), GFP_ATOMIC); kcalloc 1177 drivers/net/ethernet/intel/e1000e/ethtool.c tx_ring->buffer_info = kcalloc(tx_ring->count, kcalloc 1238 drivers/net/ethernet/intel/e1000e/ethtool.c rx_ring->buffer_info = kcalloc(rx_ring->count, kcalloc 2055 drivers/net/ethernet/intel/e1000e/netdev.c adapter->msix_entries = kcalloc(adapter->num_vectors, kcalloc 2369 drivers/net/ethernet/intel/e1000e/netdev.c buffer_info->ps_pages = kcalloc(PS_PAGE_BUFFERS, kcalloc 3316 drivers/net/ethernet/intel/e1000e/netdev.c mta_list = kcalloc(netdev_mc_count(netdev), ETH_ALEN, GFP_ATOMIC); kcalloc 1840 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->msix_entries = kcalloc(v_budget, sizeof(struct msix_entry), kcalloc 2009 drivers/net/ethernet/intel/i40e/i40e_ethtool.c tx_rings = kcalloc(tx_alloc_queue_pairs, kcalloc 2048 drivers/net/ethernet/intel/i40e/i40e_ethtool.c rx_rings = kcalloc(vsi->alloc_queue_pairs, kcalloc 10840 drivers/net/ethernet/intel/i40e/i40e_main.c ring = kcalloc(qpv, sizeof(struct i40e_ring), GFP_KERNEL); kcalloc 11043 drivers/net/ethernet/intel/i40e/i40e_main.c pf->msix_entries = kcalloc(v_budget, sizeof(struct msix_entry), kcalloc 14669 drivers/net/ethernet/intel/i40e/i40e_main.c pf->vsi = kcalloc(pf->num_alloc_vsi, sizeof(struct i40e_vsi *), kcalloc 15043 drivers/net/ethernet/intel/i40e/i40e_main.c pf->vsi = kcalloc(pf->num_alloc_vsi, sizeof(struct i40e_vsi *), kcalloc 1596 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vfs = kcalloc(num_alloc_vfs, sizeof(struct i40e_vf), GFP_KERNEL); kcalloc 1114 drivers/net/ethernet/intel/iavf/iavf_main.c adapter->tx_rings = kcalloc(num_active_queues, kcalloc 1118 drivers/net/ethernet/intel/iavf/iavf_main.c adapter->rx_rings = kcalloc(num_active_queues, kcalloc 1181 drivers/net/ethernet/intel/iavf/iavf_main.c adapter->msix_entries = kcalloc(v_budget, kcalloc 1340 drivers/net/ethernet/intel/iavf/iavf_main.c adapter->q_vectors = kcalloc(num_q_vectors, sizeof(*q_vector), kcalloc 3537 drivers/net/ethernet/intel/igb/igb_main.c adapter->vf_data = kcalloc(adapter->vfs_allocated_count, kcalloc 3556 drivers/net/ethernet/intel/igb/igb_main.c adapter->vf_mac_list = kcalloc(num_vf_mac_filters, kcalloc 3844 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table = kcalloc(hw->mac.rar_entry_count, kcalloc 3855 drivers/net/ethernet/intel/igb/igb_main.c adapter->shadow_vfta = kcalloc(E1000_VLAN_FILTER_TBL_SIZE, sizeof(u32), kcalloc 4833 drivers/net/ethernet/intel/igb/igb_main.c mta_list = kcalloc(netdev_mc_count(netdev), 6, GFP_ATOMIC); kcalloc 1021 drivers/net/ethernet/intel/igbvf/netdev.c adapter->msix_entries = kcalloc(3, sizeof(struct msix_entry), kcalloc 3452 drivers/net/ethernet/intel/igc/igc_main.c adapter->msix_entries = kcalloc(numvecs, sizeof(struct msix_entry), kcalloc 766 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c adapter->msix_entries = kcalloc(vectors, kcalloc 6303 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->mac_table = kcalloc(hw->mac.num_rar_entries, kcalloc 36 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c mv_list = kcalloc(num_vf_macvlans, sizeof(struct vf_macvlans), kcalloc 66 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->vfinfo = kcalloc(num_vfs, sizeof(struct vf_data_storage), kcalloc 2658 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c adapter->msix_entries = kcalloc(v_budget, kcalloc 578 drivers/net/ethernet/jme.c txring->bufinf = kcalloc(jme->tx_ring_size, kcalloc 823 drivers/net/ethernet/jme.c rxring->bufinf = kcalloc(jme->rx_ring_size, kcalloc 1868 drivers/net/ethernet/marvell/mv643xx_eth.c mc_spec = kcalloc(128, sizeof(u32), GFP_ATOMIC); kcalloc 1967 drivers/net/ethernet/marvell/mv643xx_eth.c rxq->rx_skb = kcalloc(rxq->rx_ring_size, sizeof(*rxq->rx_skb), kcalloc 2086 drivers/net/ethernet/marvell/mv643xx_eth.c txq->tx_desc_mapping = kcalloc(txq->tx_ring_size, sizeof(char), kcalloc 724 drivers/net/ethernet/marvell/octeontx2/af/cgx.c lmac = kcalloc(1, sizeof(struct lmac), GFP_KERNEL); kcalloc 727 drivers/net/ethernet/marvell/octeontx2/af/cgx.c lmac->name = kcalloc(1, sizeof("cgx_fwi_xxx_yyy"), GFP_KERNEL); kcalloc 115 drivers/net/ethernet/marvell/octeontx2/af/mbox.c mbox->dev = kcalloc(ndevs, sizeof(struct otx2_mbox_dev), GFP_KERNEL); kcalloc 157 drivers/net/ethernet/marvell/octeontx2/af/rvu.c rsrc->bmap = kcalloc(BITS_TO_LONGS(rsrc->max), kcalloc 805 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c pfvf->rq_bmap = kcalloc(req->rq_cnt, sizeof(long), GFP_KERNEL); kcalloc 822 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c pfvf->sq_bmap = kcalloc(req->sq_cnt, sizeof(long), GFP_KERNEL); kcalloc 837 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c pfvf->cq_bmap = kcalloc(req->cq_cnt, sizeof(long), GFP_KERNEL); kcalloc 318 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c pfvf->aura_bmap = kcalloc(NPA_AURA_COUNT(req->aura_sz), sizeof(long), kcalloc 329 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c pfvf->pool_bmap = kcalloc(NPA_AURA_COUNT(req->aura_sz), sizeof(long), kcalloc 1028 drivers/net/ethernet/marvell/pxa168_eth.c pep->rx_skb = kcalloc(rx_desc_num, sizeof(*pep->rx_skb), GFP_KERNEL); kcalloc 1087 drivers/net/ethernet/marvell/pxa168_eth.c pep->tx_skb = kcalloc(tx_desc_num, sizeof(*pep->tx_skb), GFP_KERNEL); kcalloc 915 drivers/net/ethernet/marvell/skge.c ring->start = kcalloc(ring->count, sizeof(*e), GFP_KERNEL); kcalloc 1602 drivers/net/ethernet/marvell/sky2.c sky2->tx_ring = kcalloc(sky2->tx_ring_size, sizeof(struct tx_ring_info), kcalloc 1612 drivers/net/ethernet/marvell/sky2.c sky2->rx_ring = kcalloc(sky2->rx_pending, sizeof(struct rx_ring_info), kcalloc 790 drivers/net/ethernet/mediatek/mtk_eth_soc.c eth->scratch_head = kcalloc(cnt, MTK_QDMA_PAGE_SIZE, kcalloc 1538 drivers/net/ethernet/mediatek/mtk_eth_soc.c ring->buf = kcalloc(MTK_DMA_SIZE, sizeof(*ring->buf), kcalloc 1663 drivers/net/ethernet/mediatek/mtk_eth_soc.c ring->data = kcalloc(rx_dma_size, sizeof(*ring->data), kcalloc 619 drivers/net/ethernet/mellanox/mlx4/alloc.c buf->page_list = kcalloc(buf->nbufs, sizeof(*buf->page_list), kcalloc 927 drivers/net/ethernet/mellanox/mlx4/cmd.c table = kcalloc((dev->caps.pkey_table_len[port] / 32) + 1, kcalloc 2372 drivers/net/ethernet/mellanox/mlx4/cmd.c kcalloc(dev->num_slaves, kcalloc 2379 drivers/net/ethernet/mellanox/mlx4/cmd.c kcalloc(dev->num_slaves, kcalloc 2386 drivers/net/ethernet/mellanox/mlx4/cmd.c kcalloc(dev->num_slaves, kcalloc 2226 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dst->tx_ring[t] = kcalloc(MAX_TX_RINGS, kcalloc 2232 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dst->tx_cq[t] = kcalloc(MAX_TX_RINGS, kcalloc 3296 drivers/net/ethernet/mellanox/mlx4/en_netdev.c priv->tx_ring[t] = kcalloc(MAX_TX_RINGS, kcalloc 3303 drivers/net/ethernet/mellanox/mlx4/en_netdev.c priv->tx_cq[t] = kcalloc(MAX_TX_RINGS, kcalloc 1163 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.eq = kcalloc(dev->caps.num_eqs - dev->caps.reserved_eqs, kcalloc 1182 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.uar_map = kcalloc(mlx4_num_eq_uar(dev), kcalloc 871 drivers/net/ethernet/mellanox/mlx4/main.c caps->spec_qps = kcalloc(caps->num_ports, sizeof(*caps->spec_qps), GFP_KERNEL); kcalloc 2947 drivers/net/ethernet/mellanox/mlx4/main.c entries = kcalloc(nreq, sizeof(*entries), GFP_KERNEL); kcalloc 3111 drivers/net/ethernet/mellanox/mlx4/main.c priv->steer = kcalloc(num_entries, sizeof(struct mlx4_steer), kcalloc 3217 drivers/net/ethernet/mellanox/mlx4/main.c dev->dev_vfs = kcalloc(total_vfs, sizeof(*dev->dev_vfs), kcalloc 3233 drivers/net/ethernet/mellanox/mlx4/main.c dev->dev_vfs = kcalloc(total_vfs, sizeof(*dev->dev_vfs), GFP_KERNEL); kcalloc 109 drivers/net/ethernet/mellanox/mlx4/mr.c buddy->bits = kcalloc(buddy->max_order + 1, sizeof(long *), kcalloc 111 drivers/net/ethernet/mellanox/mlx4/mr.c buddy->num_free = kcalloc(buddy->max_order + 1, sizeof(*buddy->num_free), kcalloc 797 drivers/net/ethernet/mellanox/mlx4/mr.c page_list = kcalloc(buf->npages, sizeof(*page_list), GFP_KERNEL); kcalloc 88 drivers/net/ethernet/mellanox/mlx4/profile.c profile = kcalloc(MLX4_RES_NUM, sizeof(*profile), GFP_KERNEL); kcalloc 851 drivers/net/ethernet/mellanox/mlx4/qp.c dev->caps.spec_qps = kcalloc(dev->caps.num_ports, kcalloc 508 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c kcalloc(dev->num_slaves, sizeof(struct slave_list), kcalloc 536 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c kcalloc(MLX4_MAX_PORTS * kcalloc 541 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c kcalloc(dev->persist->num_vfs + 1, kcalloc 1288 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res_arr = kcalloc(count, sizeof(*res_arr), GFP_KERNEL); kcalloc 129 drivers/net/ethernet/mellanox/mlx5/core/alloc.c buf->frags = kcalloc(buf->npages, sizeof(struct mlx5_buf_list), kcalloc 52 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c xsk->umems = kcalloc(MLX5E_MAX_NUM_CHANNELS, kcalloc 228 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c ft->g = kcalloc(MLX5E_ARFS_NUM_GROUPS, kcalloc 133 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c vlans = kcalloc(list_size, sizeof(*vlans), GFP_KERNEL); kcalloc 535 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c addr_array = kcalloc(size, ETH_ALEN, GFP_KERNEL); kcalloc 917 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g = kcalloc(MLX5E_TTC_NUM_GROUPS, kcalloc 1058 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g = kcalloc(MLX5E_INNER_TTC_NUM_GROUPS, sizeof(*ft->g), GFP_KERNEL); kcalloc 1292 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g = kcalloc(MLX5E_NUM_L2_GROUPS, sizeof(*ft->g), GFP_KERNEL); kcalloc 1493 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g = kcalloc(MLX5E_NUM_VLAN_GROUPS, sizeof(*ft->g), GFP_KERNEL); kcalloc 2355 drivers/net/ethernet/mellanox/mlx5/core/en_main.c chs->c = kcalloc(chs->num, sizeof(struct mlx5e_channel *), GFP_KERNEL); kcalloc 475 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c sqs = kcalloc(priv->channels.num * priv->channels.params.num_tc, sizeof(*sqs), GFP_KERNEL); kcalloc 2493 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c parse_attr->mod_hdr_actions = kcalloc(max_actions, action_size, GFP_KERNEL); kcalloc 736 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mac_list = kcalloc(size, ETH_ALEN, GFP_KERNEL); kcalloc 1989 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c esw->vports = kcalloc(total_vports, sizeof(struct mlx5_vport), kcalloc 1407 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.vport_reps = kcalloc(total_vports, kcalloc 2660 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c kcalloc(total_vports, kcalloc 2690 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c kcalloc(total_vports, kcalloc 505 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c bulk->bitmask = kcalloc(BITS_TO_LONGS(bulk_len), sizeof(unsigned long), kcalloc 419 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c kcalloc(clock->ptp_info.n_pins, kcalloc 38 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c kcalloc(BITS_TO_LONGS(steering_icm_blocks), kcalloc 50 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c kcalloc(BITS_TO_LONGS(header_modify_icm_blocks), kcalloc 277 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c table->irq = kcalloc(nvec, sizeof(*table->irq), GFP_KERNEL); kcalloc 253 drivers/net/ethernet/mellanox/mlx5/core/rl.c table->rl_entry = kcalloc(table->max_size, sizeof(struct mlx5_rl_entry), kcalloc 234 drivers/net/ethernet/mellanox/mlx5/core/sriov.c sriov->vfs_ctx = kcalloc(total_vfs, sizeof(*sriov->vfs_ctx), GFP_KERNEL); kcalloc 1439 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c hw_actions = kcalloc(1, max_hw_actions * DR_MODIFY_ACTION_SIZE, GFP_KERNEL); kcalloc 12 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c dmn->cache.recalc_cs_ft = kcalloc(dmn->info.caps.num_vports, kcalloc 187 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c dmn->info.caps.vports_caps = kcalloc(dmn->info.caps.num_esw_ports, kcalloc 532 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c pool->buckets = kcalloc(max_log_chunk_sz + 1, kcalloc 143 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c dr_qp->sq.wqe_head = kcalloc(dr_qp->sq.wqe_cnt, kcalloc 234 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c actions = kcalloc(MLX5_FLOW_CONTEXT_ACTION_MAX, sizeof(*actions), kcalloc 239 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c fs_dr_actions = kcalloc(MLX5_FLOW_CONTEXT_ACTION_MAX, kcalloc 270 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c mfa2_file = kcalloc(1, sizeof(*mfa2_file), GFP_KERNEL); kcalloc 99 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core->ports = kcalloc(mlxsw_core->max_ports, kcalloc 844 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c thermal->tz_module_arr = kcalloc(module_count, kcalloc 935 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c thermal->tz_gearbox_arr = kcalloc(thermal->tz_gearbox_num, kcalloc 260 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m->ports = kcalloc(max_ports, sizeof(*mlxsw_m->ports), kcalloc 851 drivers/net/ethernet/mellanox/mlxsw/pci.c q->elem_info = kcalloc(q->count, sizeof(*q->elem_info), GFP_KERNEL); kcalloc 903 drivers/net/ethernet/mellanox/mlxsw/pci.c queue_group->q = kcalloc(num_qs, sizeof(*queue_group->q), GFP_KERNEL); kcalloc 1217 drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci->fw_area.items = kcalloc(num_pages, sizeof(*mem_item), kcalloc 4702 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->lags = kcalloc(MLXSW_CORE_RES_GET(mlxsw_sp->core, MAX_LAG), kcalloc 348 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c pms = kcalloc(mlxsw_sp->sb_vals->pool_count, sizeof(*pms), kcalloc 368 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp->sb->ports = kcalloc(max_ports, kcalloc 374 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c prs = kcalloc(mlxsw_sp->sb_vals->pool_count, sizeof(*prs), kcalloc 1273 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c fid_core->port_fid_mappings = kcalloc(max_ports, sizeof(unsigned int), kcalloc 735 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_qdisc = kcalloc(IEEE_8021QAZ_MAX_TCS, kcalloc 639 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp->router->lpm.trees = kcalloc(mlxsw_sp->router->lpm.tree_count, kcalloc 952 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp->router->vrs = kcalloc(max_vrs, sizeof(struct mlxsw_sp_vr), kcalloc 5946 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c rt_arr = kcalloc(nrt6, sizeof(struct fib6_info *), GFP_ATOMIC); kcalloc 7904 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp->router->rifs = kcalloc(max_rifs, kcalloc 26 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_sp->span.entries = kcalloc(mlxsw_sp->span.entries_count, kcalloc 4364 drivers/net/ethernet/micrel/ksz884x.c desc_info->ring = kcalloc(desc_info->alloc, sizeof(struct ksz_desc), kcalloc 1730 drivers/net/ethernet/microchip/lan743x_main.c cpu_ptr = kcalloc(tx->ring_size, sizeof(*tx->buffer_info), GFP_KERNEL); kcalloc 2276 drivers/net/ethernet/microchip/lan743x_main.c cpu_ptr = kcalloc(rx->ring_size, sizeof(*rx->buffer_info), kcalloc 3712 drivers/net/ethernet/myricom/myri10ge/myri10ge.c mgp->msix_vectors = kcalloc(mgp->num_slices, sizeof(*mgp->msix_vectors), kcalloc 688 drivers/net/ethernet/neterion/s2io.c fifo->ufo_in_band_v = kcalloc(size, sizeof(u64), GFP_KERNEL); kcalloc 2219 drivers/net/ethernet/neterion/vxge/vxge-config.c channel->work_arr = kcalloc(length, sizeof(void *), GFP_KERNEL); kcalloc 2223 drivers/net/ethernet/neterion/vxge/vxge-config.c channel->free_arr = kcalloc(length, sizeof(void *), GFP_KERNEL); kcalloc 2228 drivers/net/ethernet/neterion/vxge/vxge-config.c channel->reserve_arr = kcalloc(length, sizeof(void *), GFP_KERNEL); kcalloc 2234 drivers/net/ethernet/neterion/vxge/vxge-config.c channel->orig_arr = kcalloc(length, sizeof(void *), GFP_KERNEL); kcalloc 2300 drivers/net/ethernet/neterion/vxge/vxge-main.c vdev->entries = kcalloc(vdev->intr_cnt, sizeof(struct msix_entry), kcalloc 2310 drivers/net/ethernet/neterion/vxge/vxge-main.c vdev->vxge_entries = kcalloc(vdev->intr_cnt, kcalloc 3427 drivers/net/ethernet/neterion/vxge/vxge-main.c vdev->vpaths = kcalloc(no_of_vpath, sizeof(struct vxge_vpath), kcalloc 352 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->children = kcalloc(children, sizeof(void *), GFP_KERNEL); kcalloc 768 drivers/net/ethernet/netronome/nfp/bpf/verifier.c nfp_prog->subprog = kcalloc(nfp_prog->subprog_cnt, kcalloc 2448 drivers/net/ethernet/netronome/nfp/nfp_net_common.c dp->tx_rings = kcalloc(dp->num_tx_rings, sizeof(*dp->tx_rings), kcalloc 2563 drivers/net/ethernet/netronome/nfp/nfp_net_common.c dp->rx_rings = kcalloc(dp->num_rx_rings, sizeof(*dp->rx_rings), kcalloc 243 drivers/net/ethernet/netronome/nfp/nfp_net_main.c pf->irq_entries = kcalloc(wanted_irqs, sizeof(*pf->irq_entries), kcalloc 5832 drivers/net/ethernet/nvidia/forcedeth.c np->rx_skb = kcalloc(np->rx_ring_size, sizeof(struct nv_skb_map), GFP_KERNEL); kcalloc 5833 drivers/net/ethernet/nvidia/forcedeth.c np->tx_skb = kcalloc(np->tx_ring_size, sizeof(struct nv_skb_map), GFP_KERNEL); kcalloc 382 drivers/net/ethernet/pasemi/pasemi_mac.c ring->ring_info = kcalloc(RX_RING_SIZE, kcalloc 466 drivers/net/ethernet/pasemi/pasemi_mac.c ring->ring_info = kcalloc(TX_RING_SIZE, kcalloc 207 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c rds_ring = kcalloc(adapter->max_rds_rings, kcalloc 456 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buf = kcalloc(n, sizeof(struct crb_addr_pair), GFP_KERNEL); kcalloc 927 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_mngr->t2 = kcalloc(p_mngr->t2_num_pages, sizeof(struct qed_dma_mem), kcalloc 1086 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_mngr->ilt_shadow = kcalloc(size, sizeof(struct qed_dma_mem), kcalloc 6655 drivers/net/ethernet/qlogic/qed/qed_debug.c meta->modules = kcalloc(meta->modules_num, sizeof(char *), kcalloc 6684 drivers/net/ethernet/qlogic/qed/qed_debug.c meta->formats = kcalloc(meta->formats_num, kcalloc 2138 drivers/net/ethernet/qlogic/qed/qed_dev.c qm_info->qm_pq_params = kcalloc(qed_init_qm_get_num_pqs(p_hwfn), kcalloc 2144 drivers/net/ethernet/qlogic/qed/qed_dev.c qm_info->qm_vport_params = kcalloc(qed_init_qm_get_num_vports(p_hwfn), kcalloc 2150 drivers/net/ethernet/qlogic/qed/qed_dev.c qm_info->qm_port_params = kcalloc(p_hwfn->cdev->num_ports_in_engine, kcalloc 2156 drivers/net/ethernet/qlogic/qed/qed_dev.c qm_info->wfq_data = kcalloc(qed_init_qm_get_num_vports(p_hwfn), kcalloc 152 drivers/net/ethernet/qlogic/qed/qed_init_ops.c rt_data->b_valid = kcalloc(RUNTIME_ARRAY_SIZE, sizeof(bool), kcalloc 157 drivers/net/ethernet/qlogic/qed/qed_init_ops.c rt_data->init_val = kcalloc(RUNTIME_ARRAY_SIZE, sizeof(u32), kcalloc 2742 drivers/net/ethernet/qlogic/qed/qed_iwarp.c iwarp_info->partial_fpdus = kcalloc((u16)p_hwfn->p_rdma_info->num_qps, kcalloc 2759 drivers/net/ethernet/qlogic/qed/qed_iwarp.c iwarp_info->mpa_bufs = kcalloc(data.input.rx_num_desc, kcalloc 101 drivers/net/ethernet/qlogic/qed/qed_l2.c pp_qids = kcalloc(p_l2_info->queues, sizeof(unsigned long *), kcalloc 1172 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_descq = kcalloc(capacity, sizeof(struct qed_ll2_rx_packet), kcalloc 1228 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_descq = kcalloc(capacity, desc_size, GFP_KERNEL); kcalloc 2044 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_connections = kcalloc(QED_MAX_NUM_OF_LL2_CONNECTIONS, kcalloc 585 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->msix_table = kcalloc(cnt, sizeof(*tbl), GFP_KERNEL); kcalloc 146 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info->p_isles_mem = kcalloc(max_num_isles, kcalloc 159 drivers/net/ethernet/qlogic/qed/qed_ooo.c kcalloc(max_num_archipelagos, kcalloc 169 drivers/net/ethernet/qlogic/qed/qed_ooo.c kcalloc(QED_MAX_NUM_OOO_HISTORY_ENTRIES, kcalloc 69 drivers/net/ethernet/qlogic/qed/qed_rdma.c bmap->bitmap = kcalloc(BITS_TO_LONGS(max_count), sizeof(long), kcalloc 872 drivers/net/ethernet/qlogic/qede/qede_main.c edev->fp_array = kcalloc(QEDE_QUEUE_CNT(edev), kcalloc 906 drivers/net/ethernet/qlogic/qede/qede_main.c fp->txq = kcalloc(edev->dev_info.num_tc, kcalloc 913 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c mbx->req.arg = kcalloc(mbx->req.num, sizeof(u32), kcalloc 917 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c mbx->rsp.arg = kcalloc(mbx->rsp.num, sizeof(u32), kcalloc 65 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mbx->req.arg = kcalloc(mbx->req.num, kcalloc 69 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c mbx->rsp.arg = kcalloc(mbx->rsp.num, kcalloc 195 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c rds_ring = kcalloc(adapter->max_rds_rings, kcalloc 461 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c buf = kcalloc(n, sizeof(struct crb_addr_pair), GFP_KERNEL); kcalloc 707 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->msix_entries = kcalloc(num_msix, kcalloc 762 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->msix_entries = kcalloc(num_msix, kcalloc 980 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c pci_info = kcalloc(ahw->max_vnic_func, sizeof(*pci_info), GFP_KERNEL); kcalloc 1014 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c pci_info = kcalloc(ahw->max_vnic_func, sizeof(*pci_info), GFP_KERNEL); kcalloc 1024 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->npars = kcalloc(act_pci_func, kcalloc 1032 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->eswitch = kcalloc(QLCNIC_NIU_MAX_XG_PORTS, kcalloc 2403 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c tx_ring = kcalloc(adapter->drv_tx_rings, kcalloc 2909 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c head = kcalloc(adapter->fhash.fbucket_size, kcalloc 2926 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c head = kcalloc(adapter->rx_fhash.fbucket_size, kcalloc 160 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c sriov->vf_info = kcalloc(num_vfs, sizeof(struct qlcnic_vf_info), kcalloc 453 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c sriov->allowed_vlans = kcalloc(num_vlans, sizeof(u16), GFP_KERNEL); kcalloc 709 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c *hdr = kcalloc(size, sizeof(struct qlcnic_bc_hdr), GFP_ATOMIC); kcalloc 729 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c mbx->req.arg = kcalloc(mbx->req.num, sizeof(u32), kcalloc 733 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c mbx->rsp.arg = kcalloc(mbx->rsp.num, sizeof(u32), kcalloc 2171 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c vf->sriov_vlans = kcalloc(sriov->num_allowed_vlans, kcalloc 914 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c pci_info = kcalloc(size, sizeof(*pci_info), GFP_KERNEL); kcalloc 960 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c p_read_buf = kcalloc(size, sizeof(unsigned char), GFP_KERNEL); kcalloc 992 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c p_cache = kcalloc(size, sizeof(unsigned char), GFP_KERNEL); kcalloc 1060 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c p_cache = kcalloc(size, sizeof(unsigned char), GFP_KERNEL); kcalloc 346 drivers/net/ethernet/renesas/ravb_main.c priv->rx_skb[q] = kcalloc(priv->num_rx_ring[q], kcalloc 348 drivers/net/ethernet/renesas/ravb_main.c priv->tx_skb[q] = kcalloc(priv->num_tx_ring[q], kcalloc 1448 drivers/net/ethernet/renesas/sh_eth.c mdp->rx_skbuff = kcalloc(mdp->num_rx_ring, sizeof(*mdp->rx_skbuff), kcalloc 1453 drivers/net/ethernet/renesas/sh_eth.c mdp->tx_skbuff = kcalloc(mdp->num_tx_ring, sizeof(*mdp->tx_skbuff), kcalloc 439 drivers/net/ethernet/rocker/rocker_main.c info->desc_info = kcalloc(info->size, sizeof(*info->desc_info), kcalloc 1176 drivers/net/ethernet/rocker/rocker_ofdpa.c entry->group_ids = kcalloc(group_count, sizeof(u32), GFP_KERNEL); kcalloc 1455 drivers/net/ethernet/rocker/rocker_ofdpa.c group_ids = kcalloc(port_count, sizeof(u32), GFP_KERNEL); kcalloc 6146 drivers/net/ethernet/sfc/ef10.c parts = kcalloc(n_parts_total, sizeof(*parts), GFP_KERNEL); kcalloc 193 drivers/net/ethernet/sfc/ef10_sriov.c nic_data->vf = kcalloc(efx->vf_count, sizeof(struct ef10_vf), kcalloc 1841 drivers/net/ethernet/sfc/efx.c kcalloc(efx->type->max_rx_ip_filters, kcalloc 3042 drivers/net/ethernet/sfc/efx.c efx->rps_hash_table = kcalloc(EFX_ARFS_HASH_TABLE_SIZE, kcalloc 1707 drivers/net/ethernet/sfc/falcon/efx.c kcalloc(efx->type->max_rx_ip_filters, kcalloc 932 drivers/net/ethernet/sfc/falcon/falcon.c parts = kcalloc(2, sizeof(*parts), GFP_KERNEL); kcalloc 2750 drivers/net/ethernet/sfc/falcon/farch.c table->used_bitmap = kcalloc(BITS_TO_LONGS(table->size), kcalloc 696 drivers/net/ethernet/sfc/falcon/rx.c rx_queue->buffer = kcalloc(entries, sizeof(*rx_queue->buffer), kcalloc 727 drivers/net/ethernet/sfc/falcon/rx.c rx_queue->page_ring = kcalloc(page_ring_size, kcalloc 536 drivers/net/ethernet/sfc/falcon/selftest.c state->skbs = kcalloc(state->packet_count, kcalloc 554 drivers/net/ethernet/sfc/falcon/tx.c tx_queue->buffer = kcalloc(entries, sizeof(*tx_queue->buffer), kcalloc 559 drivers/net/ethernet/sfc/falcon/tx.c tx_queue->cb_page = kcalloc(ef4_tx_cb_page_count(tx_queue), kcalloc 2822 drivers/net/ethernet/sfc/farch.c table->used_bitmap = kcalloc(BITS_TO_LONGS(table->size), kcalloc 353 drivers/net/ethernet/sfc/mcdi_mon.c hwmon->attrs = kcalloc(n_attrs, sizeof(*hwmon->attrs), GFP_KERNEL); kcalloc 358 drivers/net/ethernet/sfc/mcdi_mon.c hwmon->group.attrs = kcalloc(n_attrs + 1, sizeof(struct attribute *), kcalloc 694 drivers/net/ethernet/sfc/rx.c rx_queue->buffer = kcalloc(entries, sizeof(*rx_queue->buffer), kcalloc 725 drivers/net/ethernet/sfc/rx.c rx_queue->page_ring = kcalloc(page_ring_size, kcalloc 536 drivers/net/ethernet/sfc/selftest.c state->skbs = kcalloc(state->packet_count, kcalloc 916 drivers/net/ethernet/sfc/siena.c parts = kcalloc(hweight32(nvram_types), sizeof(*parts), GFP_KERNEL); kcalloc 831 drivers/net/ethernet/sfc/siena_sriov.c vf->peer_page_addrs = kcalloc(page_count, sizeof(u64), kcalloc 1198 drivers/net/ethernet/sfc/siena_sriov.c nic_data->vf = kcalloc(efx->vf_count, sizeof(*nic_data->vf), kcalloc 811 drivers/net/ethernet/sfc/tx.c tx_queue->buffer = kcalloc(entries, sizeof(*tx_queue->buffer), kcalloc 816 drivers/net/ethernet/sfc/tx.c tx_queue->cb_page = kcalloc(efx_tx_cb_page_count(tx_queue), kcalloc 1242 drivers/net/ethernet/socionext/netsec.c dring->desc = kcalloc(DESC_NUM, sizeof(*dring->desc), GFP_KERNEL); kcalloc 1275 drivers/net/ethernet/socionext/sni_ave.c priv->tx.desc = kcalloc(priv->tx.ndesc, sizeof(*priv->tx.desc), kcalloc 1282 drivers/net/ethernet/socionext/sni_ave.c priv->rx.desc = kcalloc(priv->rx.ndesc, sizeof(*priv->rx.desc), kcalloc 1571 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c rx_q->buf_pool = kcalloc(DMA_RX_SIZE, sizeof(*rx_q->buf_pool), kcalloc 1623 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c tx_q->tx_skbuff_dma = kcalloc(DMA_TX_SIZE, kcalloc 1629 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c tx_q->tx_skbuff = kcalloc(DMA_TX_SIZE, kcalloc 4327 drivers/net/ethernet/sun/niu.c rp->rxhash = kcalloc(MAX_RBR_RING_SIZE, sizeof(struct page *), kcalloc 4471 drivers/net/ethernet/sun/niu.c rx_rings = kcalloc(num_rx_rings, sizeof(struct rx_ring_info), kcalloc 4511 drivers/net/ethernet/sun/niu.c tx_rings = kcalloc(num_tx_rings, sizeof(struct tx_ring_info), kcalloc 143 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c ring->desc_data_head = kcalloc(dma_desc_count, kcalloc 237 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c channel_head = kcalloc(pdata->channel_count, kcalloc 245 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c tx_ring = kcalloc(pdata->tx_ring_count, sizeof(struct xlgmac_ring), kcalloc 250 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c rx_ring = kcalloc(pdata->rx_ring_count, sizeof(struct xlgmac_ring), kcalloc 2308 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c wl->networks = kcalloc(GELIC_WL_BSS_MAX_ENT, kcalloc 1616 drivers/net/ethernet/via/via-velocity.c vptr->rx.info = kcalloc(vptr->options.numrx, kcalloc 1650 drivers/net/ethernet/via/via-velocity.c vptr->tx.infos[j] = kcalloc(vptr->options.numtx, kcalloc 214 drivers/net/fjes/fjes_hw.c buf = kcalloc(hw->max_epid, sizeof(struct ep_share_mem_info), kcalloc 470 drivers/net/hyperv/netvsc.c net_device->send_section_map = kcalloc(map_words, sizeof(ulong), GFP_KERNEL); kcalloc 162 drivers/net/ifb.c txp = kcalloc(dev->num_tx_queues, sizeof(*txp), GFP_KERNEL); kcalloc 29 drivers/net/netdevsim/bus.c nsim_bus_dev->vfconfigs = kcalloc(num_vfs, kcalloc 481 drivers/net/netdevsim/dev.c nsim_trap_data->trap_items_arr = kcalloc(ARRAY_SIZE(nsim_traps_arr), kcalloc 1113 drivers/net/phy/dp83640.c clock->caps.pin_config = kcalloc(DP83640_N_PINS, kcalloc 66 drivers/net/phy/mdio-boardinfo.c be = kcalloc(n, sizeof(*be), GFP_KERNEL); kcalloc 1299 drivers/net/slip/slip.c slip_devs = kcalloc(slip_maxdev, sizeof(struct net_device *), kcalloc 260 drivers/net/team/team.c dst_opts = kcalloc(option_count, sizeof(struct team_option *), kcalloc 1658 drivers/net/usb/smsc95xx.c u32 *filter_mask = kcalloc(32, sizeof(u32), GFP_KERNEL); kcalloc 954 drivers/net/veth.c priv->rq = kcalloc(dev->num_rx_queues, sizeof(*priv->rq), GFP_KERNEL); kcalloc 2768 drivers/net/virtio_net.c vqs = kcalloc(total_vqs, sizeof(*vqs), GFP_KERNEL); kcalloc 2778 drivers/net/virtio_net.c ctx = kcalloc(total_vqs, sizeof(*ctx), GFP_KERNEL); kcalloc 2842 drivers/net/virtio_net.c vi->sq = kcalloc(vi->max_queue_pairs, sizeof(*vi->sq), GFP_KERNEL); kcalloc 2845 drivers/net/virtio_net.c vi->rq = kcalloc(vi->max_queue_pairs, sizeof(*vi->rq), GFP_KERNEL); kcalloc 548 drivers/net/wan/cosa.c cosa->chan = kcalloc(cosa->nchannels, sizeof(struct channel_data), GFP_KERNEL); kcalloc 204 drivers/net/wan/fsl_ucc_hdlc.c priv->rx_skbuff = kcalloc(priv->rx_ring_size, kcalloc 210 drivers/net/wan/fsl_ucc_hdlc.c priv->tx_skbuff = kcalloc(priv->tx_ring_size, kcalloc 771 drivers/net/wan/x25_asy.c x25_asy_devs = kcalloc(x25_asy_maxdev, sizeof(struct net_device *), kcalloc 1356 drivers/net/wimax/i2400m/rx.c i2400m->rx_roq = kcalloc(I2400M_RO_CIN + 1, kcalloc 1361 drivers/net/wimax/i2400m/rx.c rd = kcalloc(I2400M_RO_CIN + 1, sizeof(*i2400m->rx_roq[0].log), kcalloc 1500 drivers/net/wireless/ath/ath10k/ce.c src_ring->shadow_base_unaligned = kcalloc(nentries, kcalloc 770 drivers/net/wireless/ath/ath10k/htt_rx.c kcalloc(htt->rx_ring.size, sizeof(struct sk_buff *), kcalloc 7977 drivers/net/wireless/ath/ath10k/mac.c arg.vifs = kcalloc(arg.n_vifs, sizeof(arg.vifs[0]), kcalloc 147 drivers/net/wireless/ath/ath10k/wmi-tlv.c tb = kcalloc(WMI_TLV_TAG_MAX, sizeof(*tb), gfp); kcalloc 877 drivers/net/wireless/ath/ath5k/base.c bf = kcalloc(1 + ATH_TXBUF + ATH_RXBUF + ATH_BCBUF, kcalloc 730 drivers/net/wireless/ath/ath5k/eeprom.c kcalloc(AR5K_EEPROM_N_PD_CURVES, kcalloc 756 drivers/net/wireless/ath/ath5k/eeprom.c pd->pd_step = kcalloc(AR5K_EEPROM_N_PWR_POINTS_5111, kcalloc 761 drivers/net/wireless/ath/ath5k/eeprom.c pd->pd_pwr = kcalloc(AR5K_EEPROM_N_PWR_POINTS_5111, kcalloc 917 drivers/net/wireless/ath/ath5k/eeprom.c kcalloc(AR5K_EEPROM_N_PD_CURVES, kcalloc 937 drivers/net/wireless/ath/ath5k/eeprom.c pd->pd_step = kcalloc(pd->pd_points, kcalloc 943 drivers/net/wireless/ath/ath5k/eeprom.c pd->pd_pwr = kcalloc(pd->pd_points, kcalloc 975 drivers/net/wireless/ath/ath5k/eeprom.c pd->pd_step = kcalloc(pd->pd_points, kcalloc 981 drivers/net/wireless/ath/ath5k/eeprom.c pd->pd_pwr = kcalloc(pd->pd_points, kcalloc 1209 drivers/net/wireless/ath/ath5k/eeprom.c kcalloc(AR5K_EEPROM_N_PD_CURVES, kcalloc 1231 drivers/net/wireless/ath/ath5k/eeprom.c pd->pd_step = kcalloc(pd->pd_points, kcalloc 1237 drivers/net/wireless/ath/ath5k/eeprom.c pd->pd_pwr = kcalloc(pd->pd_points, kcalloc 1044 drivers/net/wireless/ath/ath6kl/cfg80211.c channels = kcalloc(n_channels, sizeof(u16), GFP_KERNEL); kcalloc 1956 drivers/net/wireless/ath/carl9170/main.c ar->survey = kcalloc(chans, sizeof(struct survey_info), GFP_KERNEL); kcalloc 1986 drivers/net/wireless/ath/carl9170/main.c ar->mem_bitmap = kcalloc(roundup(ar->fw.mem_blocks, BITS_PER_LONG), kcalloc 2494 drivers/net/wireless/ath/wil6210/debugfs.c wil->dbg_data.data_arr = kcalloc(dbg_off_count, kcalloc 174 drivers/net/wireless/ath/wil6210/fw_inc.c wil->brd_info = kcalloc(max_num_ent, sizeof(struct wil_brd_info), kcalloc 100 drivers/net/wireless/ath/wil6210/pmc.c pmc->descriptors = kcalloc(num_descriptors, kcalloc 261 drivers/net/wireless/ath/wil6210/rx_reorder.c kcalloc(size, sizeof(struct sk_buff *), GFP_KERNEL); kcalloc 132 drivers/net/wireless/ath/wil6210/txrx.c vring->ctx = kcalloc(vring->size, sizeof(vring->ctx[0]), GFP_KERNEL); kcalloc 330 drivers/net/wireless/ath/wil6210/txrx_edma.c wil->rx_buff_mgmt.buff_arr = kcalloc(size + 1, kcalloc 398 drivers/net/wireless/ath/wil6210/txrx_edma.c ring->ctx = kcalloc(ring->size, sizeof(ring->ctx[0]), GFP_KERNEL); kcalloc 693 drivers/net/wireless/broadcom/b43/debugfs.c log->log = kcalloc(B43_NR_LOGGED_TXSTATUS, kcalloc 849 drivers/net/wireless/broadcom/b43/dma.c ring->meta = kcalloc(ring->nr_slots, sizeof(struct b43_dmadesc_meta), kcalloc 891 drivers/net/wireless/broadcom/b43/dma.c ring->txhdr_cache = kcalloc(ring->nr_slots / TX_SLOTS_PER_FRAME, kcalloc 907 drivers/net/wireless/broadcom/b43/dma.c ring->txhdr_cache = kcalloc(ring->nr_slots / TX_SLOTS_PER_FRAME, kcalloc 1573 drivers/net/wireless/broadcom/b43/phy_lp.c saved_tab = kcalloc(saved_tab_size, sizeof(saved_tab[0]), GFP_KERNEL); kcalloc 1509 drivers/net/wireless/broadcom/b43/phy_n.c data = kcalloc(len, sizeof(u32), GFP_KERNEL); kcalloc 1552 drivers/net/wireless/broadcom/b43/phy_n.c samples = kcalloc(len, sizeof(struct cordic_iq), GFP_KERNEL); kcalloc 382 drivers/net/wireless/broadcom/b43legacy/debugfs.c log->log = kcalloc(B43legacy_NR_LOGGED_TXSTATUS, kcalloc 644 drivers/net/wireless/broadcom/b43legacy/dma.c ring->meta = kcalloc(nr_slots, sizeof(struct b43legacy_dmadesc_meta), kcalloc 649 drivers/net/wireless/broadcom/b43legacy/dma.c ring->txhdr_cache = kcalloc(nr_slots, kcalloc 664 drivers/net/wireless/broadcom/b43legacy/dma.c ring->txhdr_cache = kcalloc(nr_slots, kcalloc 3270 drivers/net/wireless/broadcom/b43legacy/main.c phy->_lo_pairs = kcalloc(B43legacy_LO_COUNT, kcalloc 6482 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c combo = kcalloc(n_combos, sizeof(*combo), GFP_KERNEL); kcalloc 6492 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c c0_limits = kcalloc(p2p ? 3 : 2, sizeof(*c0_limits), GFP_KERNEL); kcalloc 6522 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c p2p_limits = kcalloc(4, sizeof(*p2p_limits), GFP_KERNEL); kcalloc 6542 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c mbss_limits = kcalloc(1, sizeof(*mbss_limits), GFP_KERNEL); kcalloc 372 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c flow->rings = kcalloc(nrofrings, sizeof(*flow->rings), kcalloc 300 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c array = kcalloc(nr_array_entries, sizeof(*array), GFP_KERNEL); kcalloc 1564 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c kcalloc(msgbuf->max_flowrings, kcalloc 771 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c chanspecs = kcalloc(request->n_channels, sizeof(*chanspecs), kcalloc 1056 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c default_chan_list = kcalloc(channel_cnt, sizeof(*default_chan_list), kcalloc 1249 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c rings = kcalloc(max_flowrings, sizeof(*ring), GFP_KERNEL); kcalloc 1812 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c flowrings = kcalloc(devinfo->shared.max_flowrings, sizeof(*flowrings), kcalloc 320 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c fw_buckets = kcalloc(pi->n_reqs, sizeof(*fw_buckets), GFP_KERNEL); kcalloc 409 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c reqs = kcalloc(qsize, sizeof(struct brcmf_usbreq), GFP_ATOMIC); kcalloc 510 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c kcalloc(MAXBANDS, sizeof(struct brcms_hw_band), GFP_ATOMIC); kcalloc 524 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c kcalloc(BRCMS_MAXMODULES, sizeof(struct modulecb), kcalloc 557 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c kcalloc(MAXBANDS, sizeof(struct brcms_band), GFP_ATOMIC); kcalloc 2724 drivers/net/wireless/cisco/airo.c ai->networks = kcalloc(AIRO_MAX_NETWORK_COUNT, sizeof(BSSListElement), kcalloc 1904 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->channels = kcalloc(geo->bg_channels, kcalloc 11177 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->cmdlog = kcalloc(cmdlog, sizeof(*priv->cmdlog), kcalloc 11337 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->channels = kcalloc(geo->bg_channels, kcalloc 11376 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->channels = kcalloc(geo->a_channels, kcalloc 907 drivers/net/wireless/intel/iwlegacy/common.c kcalloc(il->channel_count, sizeof(struct il_channel_info), kcalloc 2973 drivers/net/wireless/intel/iwlegacy/common.c txq->skbs = kcalloc(TFD_QUEUE_SIZE_MAX, kcalloc 3028 drivers/net/wireless/intel/iwlegacy/common.c kcalloc(actual_slots, sizeof(struct il_cmd_meta), GFP_KERNEL); kcalloc 3030 drivers/net/wireless/intel/iwlegacy/common.c kcalloc(actual_slots, sizeof(struct il_device_cmd *), GFP_KERNEL); kcalloc 3442 drivers/net/wireless/intel/iwlegacy/common.c kcalloc(il->channel_count, sizeof(struct ieee80211_channel), kcalloc 4641 drivers/net/wireless/intel/iwlegacy/common.c kcalloc(il->cfg->num_of_queues, kcalloc 614 drivers/net/wireless/intel/iwlwifi/dvm/tt.c tt->restriction = kcalloc(IWL_TI_STATE_MAX, kcalloc 617 drivers/net/wireless/intel/iwlwifi/dvm/tt.c tt->transaction = kcalloc(IWL_TI_STATE_MAX * kcalloc 634 drivers/net/wireless/intel/iwlwifi/fw/dbg.c table = kcalloc(nents, sizeof(*table), GFP_KERNEL); kcalloc 1210 drivers/net/wireless/intel/iwlwifi/iwl-drv.c sec = kcalloc(pieces->img[type].sec_counter, sizeof(*sec), GFP_KERNEL); kcalloc 221 drivers/net/wireless/intel/iwlwifi/iwl-phy-db.c phy_db->calib_ch_group_papd = kcalloc(chg_id + 1, kcalloc 235 drivers/net/wireless/intel/iwlwifi/iwl-phy-db.c phy_db->calib_ch_group_txp = kcalloc(chg_id + 1, kcalloc 616 drivers/net/wireless/intel/iwlwifi/mvm/scan.c blacklist = kcalloc(blacklist_len, sizeof(*blacklist), GFP_KERNEL); kcalloc 1659 drivers/net/wireless/intel/iwlwifi/mvm/sta.c dup_data = kcalloc(mvm->trans->num_rx_queues, kcalloc 99 drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info.c dram->fw = kcalloc(umac_cnt + lmac_cnt, sizeof(*dram->fw), GFP_KERNEL); kcalloc 102 drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info.c dram->paging = kcalloc(paging_cnt, sizeof(*dram->paging), GFP_KERNEL); kcalloc 817 drivers/net/wireless/intel/iwlwifi/pcie/rx.c trans_pcie->rxq = kcalloc(trans->num_rx_queues, sizeof(struct iwl_rxq), kcalloc 542 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->entries = kcalloc(slots_num, kcalloc 978 drivers/net/wireless/intel/iwlwifi/pcie/tx.c kcalloc(trans->trans_cfg->base_params->num_of_queues, kcalloc 338 drivers/net/wireless/intersil/hostap/hostap_info.c results = kcalloc(new_count, sizeof(struct hfa384x_hostscan_result), kcalloc 161 drivers/net/wireless/intersil/p54/eeprom.c tmp->channels = kcalloc(list->band_channel_num[band], kcalloc 345 drivers/net/wireless/intersil/p54/eeprom.c priv->survey = kcalloc(max_channel_num, sizeof(struct survey_info), kcalloc 353 drivers/net/wireless/intersil/p54/eeprom.c list->channels = kcalloc(max_channel_num, kcalloc 176 drivers/net/wireless/intersil/p54/fwio.c priv->used_rxkeys = kcalloc(BITS_TO_LONGS(priv->rx_keycache_size), kcalloc 228 drivers/net/wireless/intersil/prism54/oid_mgt.c priv->mib = kcalloc(OID_NUM_LAST, sizeof (void *), GFP_KERNEL); kcalloc 235 drivers/net/wireless/intersil/prism54/oid_mgt.c priv->mib[i] = kcalloc(isl_oid[i].size, kcalloc 398 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c new_node->rx_reorder_ptr = kcalloc(win_size, sizeof(void *), kcalloc 3398 drivers/net/wireless/marvell/mwifiex/cfg80211.c mef_entry = kcalloc(num_entries, sizeof(*mef_entry), GFP_KERNEL); kcalloc 407 drivers/net/wireless/marvell/mwifiex/cmdevt.c cmd_array = kcalloc(MWIFIEX_NUM_OF_CMD_BUFFER, kcalloc 1539 drivers/net/wireless/marvell/mwifiex/scan.c scan_chan_list = kcalloc(MWIFIEX_USER_SCAN_CHAN_MAX, kcalloc 2120 drivers/net/wireless/marvell/mwifiex/sdio.c card->mpa_rx.skb_arr = kcalloc(card->mp_agg_pkt_limit, sizeof(void *), kcalloc 2127 drivers/net/wireless/marvell/mwifiex/sdio.c card->mpa_rx.len_arr = kcalloc(card->mp_agg_pkt_limit, kcalloc 1178 drivers/net/wireless/marvell/mwl8k.c rxq->buf = kcalloc(MWL8K_RX_DESCS, sizeof(*rxq->buf), GFP_KERNEL); kcalloc 1469 drivers/net/wireless/marvell/mwl8k.c txq->skb = kcalloc(MWL8K_TX_DESCS, sizeof(*txq->skb), GFP_KERNEL); kcalloc 1066 drivers/net/wireless/quantenna/qtnfmac/commands.c kcalloc(mac->macinfo.n_if_comb, kcalloc 1102 drivers/net/wireless/quantenna/qtnfmac/commands.c limits = kcalloc(rec->n_limits, sizeof(*limits), kcalloc 1331 drivers/net/wireless/quantenna/qtnfmac/commands.c band->channels = kcalloc(band->n_channels, sizeof(*chan), kcalloc 1590 drivers/net/wireless/ralink/rt2x00/rt2400pci.c info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); kcalloc 1908 drivers/net/wireless/ralink/rt2x00/rt2500pci.c info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); kcalloc 1723 drivers/net/wireless/ralink/rt2x00/rt2500usb.c info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); kcalloc 10121 drivers/net/wireless/ralink/rt2x00/rt2800lib.c info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); kcalloc 313 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c data = kcalloc(lines, MAX_LINE_LENGTH, GFP_KERNEL); kcalloc 371 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c data = kcalloc(1 + CIPHER_MAX, MAX_LINE_LENGTH, GFP_KERNEL); kcalloc 1021 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c channels = kcalloc(spec->num_channels, sizeof(*channels), GFP_KERNEL); kcalloc 1025 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rates = kcalloc(num_rates, sizeof(*rates), GFP_KERNEL); kcalloc 1110 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c entries = kcalloc(queue->limit, entry_size, GFP_KERNEL); kcalloc 1248 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c queue = kcalloc(rt2x00dev->data_queues, sizeof(*queue), GFP_KERNEL); kcalloc 2711 drivers/net/wireless/ralink/rt2x00/rt61pci.c info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); kcalloc 2139 drivers/net/wireless/ralink/rt2x00/rt73usb.c info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); kcalloc 225 drivers/net/wireless/realtek/rtlwifi/efuse.c efuse_word = kcalloc(EFUSE_MAX_WORD_UNIT, sizeof(u16 *), GFP_ATOMIC); kcalloc 229 drivers/net/wireless/realtek/rtlwifi/efuse.c efuse_word[i] = kcalloc(efuse_max_section, sizeof(u16), kcalloc 1022 drivers/net/wireless/realtek/rtlwifi/usb.c rtlpriv->usb_data = kcalloc(RTL_USB_MAX_RX_COUNT, sizeof(u32), kcalloc 154 drivers/net/wireless/st/cw1200/queue.c stats->link_map_cache = kcalloc(map_capacity, sizeof(int), kcalloc 181 drivers/net/wireless/st/cw1200/queue.c queue->pool = kcalloc(capacity, sizeof(struct cw1200_queue_item), kcalloc 186 drivers/net/wireless/st/cw1200/queue.c queue->link_map_cache = kcalloc(stats->map_capacity, sizeof(int), kcalloc 232 drivers/net/wireless/st/cw1200/scan.c scan.ch = kcalloc(it - priv->scan.curr, kcalloc 758 drivers/net/wireless/zydas/zd1211rw/zd_usb.c urbs = kcalloc(RX_URBS_COUNT, sizeof(struct urb *), GFP_KERNEL); kcalloc 1763 drivers/net/xen-netfront.c info->queues = kcalloc(*num_queues, sizeof(struct netfront_queue), kcalloc 167 drivers/ntb/test/ntb_msi_test.c desc = kcalloc(irq_count, sizeof(*desc), GFP_ATOMIC); kcalloc 540 drivers/nvdimm/btt.c arena->freelist = kcalloc(arena->nfree, sizeof(struct free_entry), kcalloc 723 drivers/nvdimm/btt.c arena->rtt = kcalloc(arena->nfree, sizeof(u32), GFP_KERNEL); kcalloc 734 drivers/nvdimm/btt.c arena->map_locks = kcalloc(arena->nfree, sizeof(struct aligned_lock), kcalloc 1772 drivers/nvdimm/namespace_devs.c devs = kcalloc(2, sizeof(struct device *), GFP_KERNEL); kcalloc 2334 drivers/nvdimm/namespace_devs.c __devs = kcalloc(count + 2, sizeof(dev), GFP_KERNEL); kcalloc 2375 drivers/nvdimm/namespace_devs.c devs = kcalloc(2, sizeof(dev), GFP_KERNEL); kcalloc 3112 drivers/nvme/host/fc.c ctrl->queues = kcalloc(ctrl->ctrl.queue_count, kcalloc 1917 drivers/nvme/host/pci.c bufs = kcalloc(max_entries, sizeof(*bufs), GFP_KERNEL); kcalloc 212 drivers/nvme/host/rdma.c ring = kcalloc(ib_queue_size, sizeof(struct nvme_rdma_qe), GFP_KERNEL); kcalloc 2030 drivers/nvme/host/rdma.c ctrl->queues = kcalloc(ctrl->ctrl.queue_count, sizeof(*ctrl->queues), kcalloc 2339 drivers/nvme/host/tcp.c ctrl->queues = kcalloc(ctrl->ctrl.queue_count, sizeof(*ctrl->queues), kcalloc 1191 drivers/nvme/target/configfs.c port->ana_state = kcalloc(NVMET_MAX_ANAGRPS + 1, kcalloc 1262 drivers/nvme/target/core.c ctrl->cqs = kcalloc(subsys->max_qid + 1, kcalloc 1268 drivers/nvme/target/core.c ctrl->sqs = kcalloc(subsys->max_qid + 1, kcalloc 330 drivers/nvme/target/fc.c iod = kcalloc(NVMET_LS_CTX_COUNT, sizeof(struct nvmet_fc_ls_iod), kcalloc 342 drivers/nvme/target/fc.c iod->rqstbuf = kcalloc(2, NVME_FC_MAX_LS_BUFFER_SIZE, kcalloc 594 drivers/nvme/target/loop.c ctrl->queues = kcalloc(opts->nr_io_queues + 1, sizeof(*ctrl->queues), kcalloc 333 drivers/nvme/target/rdma.c cmds = kcalloc(nr_cmds, sizeof(struct nvmet_rdma_cmd), GFP_KERNEL); kcalloc 412 drivers/nvme/target/rdma.c queue->rsps = kcalloc(nr_rsps, sizeof(struct nvmet_rdma_rsp), kcalloc 1266 drivers/nvme/target/tcp.c cmds = kcalloc(nr_cmds, sizeof(struct nvmet_tcp_cmd), GFP_KERNEL); kcalloc 177 drivers/nvmem/core.c cells = kcalloc(ncells, sizeof(*cells), GFP_KERNEL); kcalloc 215 drivers/of/base.c phandle_cache = kcalloc(cache_entries, sizeof(*phandle_cache), kcalloc 781 drivers/of/overlay.c fragments = kcalloc(cnt, sizeof(*fragments), GFP_KERNEL); kcalloc 126 drivers/of/platform.c res = kcalloc(num_irq + num_reg, sizeof(*res), GFP_KERNEL); kcalloc 159 drivers/of/unittest.c prop = kcalloc(4, sizeof(*prop), GFP_KERNEL); kcalloc 1865 drivers/opp/core.c opp_table->genpd_virt_devs = kcalloc(opp_table->required_opp_count, kcalloc 55 drivers/opp/cpu.c freq_table = kcalloc((max_opps + 1), sizeof(*freq_table), GFP_KERNEL); kcalloc 180 drivers/opp/of.c required_opp_tables = kcalloc(count, sizeof(*required_opp_tables), kcalloc 301 drivers/opp/of.c required_opps = kcalloc(count, sizeof(*required_opps), GFP_KERNEL); kcalloc 125 drivers/opp/ti-opp-supply.c table = kcalloc(data->num_vdd_table, sizeof(*data->vdd_table), kcalloc 289 drivers/oprofile/oprofile_perf.c counter_config = kcalloc(num_counters, kcalloc 301 drivers/oprofile/oprofile_perf.c per_cpu(perf_events, cpu) = kcalloc(num_counters, kcalloc 935 drivers/parisc/iosapic.c vip = isi->isi_vector = kcalloc(isi->isi_num_vectors, kcalloc 280 drivers/pci/controller/pci-xgene-msi.c xgene_msi->msi_groups = kcalloc(NR_HW_IRQS, kcalloc 72 drivers/pci/ecam.c cfg->winp = kcalloc(bus_range, sizeof(*cfg->winp), GFP_KERNEL); kcalloc 73 drivers/pci/hotplug/ibmphp_ebda.c slots = kcalloc(slot_count, sizeof(struct ebda_hpc_slot), GFP_KERNEL); kcalloc 78 drivers/pci/hotplug/ibmphp_ebda.c buses = kcalloc(bus_count, sizeof(struct ebda_hpc_bus), GFP_KERNEL); kcalloc 500 drivers/pci/msi.c msi_attrs = kcalloc(num_msi + 1, sizeof(void *), GFP_KERNEL); kcalloc 527 drivers/pci/msi.c msi_irq_groups = kcalloc(2, sizeof(void *), GFP_KERNEL); kcalloc 936 drivers/pci/pci-sysfs.c b->legacy_io = kcalloc(2, sizeof(struct bin_attribute), kcalloc 631 drivers/pcmcia/pd6729.c socket = kcalloc(MAX_SOCKETS, sizeof(struct pd6729_socket), kcalloc 844 drivers/perf/arm_spe_pmu.c pglist = kcalloc(nr_pages, sizeof(*pglist), GFP_KERNEL); kcalloc 772 drivers/pinctrl/bcm/pinctrl-bcm2835.c cur_map = maps = kcalloc(num_pins * maps_per_pin, sizeof(*maps), kcalloc 217 drivers/pinctrl/berlin/berlin.c pctrl->functions = kcalloc(max_functions, kcalloc 92 drivers/pinctrl/freescale/pinctrl-mxs.c new_map = kcalloc(new_num, sizeof(*new_map), GFP_KERNEL); kcalloc 254 drivers/pinctrl/pinconf-generic.c cfg = kcalloc(max_cfg, sizeof(*cfg), GFP_KERNEL); kcalloc 525 drivers/pinctrl/pinctrl-ocelot.c u8 *pins = kcalloc(info->desc->npins, sizeof(u8), GFP_KERNEL); kcalloc 802 drivers/pinctrl/sh-pfc/core.c refcnts = kcalloc(info->nr_groups, sizeof(*refcnts), GFP_KERNEL); kcalloc 110 drivers/pinctrl/sirf/pinctrl-sirf.c *map = kcalloc(count, sizeof(**map), GFP_KERNEL); kcalloc 179 drivers/pinctrl/spear/pinctrl-spear.c *map = kcalloc(count, sizeof(**map), GFP_KERNEL); kcalloc 281 drivers/pinctrl/sunxi/pinctrl-sunxi.c pinconfig = kcalloc(configlen, sizeof(*pinconfig), GFP_KERNEL); kcalloc 1212 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctl->functions = kcalloc(pctl->ngroups, kcalloc 347 drivers/pinctrl/vt8500/pinctrl-wmt.c cur_map = maps = kcalloc(num_pins * maps_per_pin, sizeof(*maps), kcalloc 295 drivers/pinctrl/zte/pinctrl-zx.c functions = kcalloc(info->npins, sizeof(*functions), GFP_KERNEL); kcalloc 787 drivers/platform/chrome/chromeos_laptop.c acpi_peripherals = kcalloc(n_peripherals, kcalloc 678 drivers/platform/goldfish/goldfish_pipe.c kcalloc(new_capacity, sizeof(*pipes), GFP_ATOMIC); kcalloc 846 drivers/platform/goldfish/goldfish_pipe.c dev->pipes = kcalloc(dev->pipes_capacity, sizeof(*dev->pipes), kcalloc 451 drivers/platform/x86/alienware-wmi.c kcalloc(quirks->num_zones + 1, sizeof(struct device_attribute), kcalloc 457 drivers/platform/x86/alienware-wmi.c kcalloc(quirks->num_zones + 2, sizeof(struct attribute *), kcalloc 463 drivers/platform/x86/alienware-wmi.c kcalloc(quirks->num_zones, sizeof(struct platform_zone), kcalloc 471 drivers/platform/x86/dell-wmi.c keymap = kcalloc(hotkey_num, sizeof(struct key_entry), GFP_KERNEL); kcalloc 541 drivers/platform/x86/dell-wmi.c keymap = kcalloc(dmi_results.keymap_size + kcalloc 140 drivers/platform/x86/dell_rbu.c invalid_addr_packet_array = kcalloc(packet_array_size, sizeof(void *), kcalloc 953 drivers/platform/x86/intel_ips.c mcp_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); kcalloc 954 drivers/platform/x86/intel_ips.c ctv1_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); kcalloc 955 drivers/platform/x86/intel_ips.c ctv2_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); kcalloc 956 drivers/platform/x86/intel_ips.c mch_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u16), GFP_KERNEL); kcalloc 957 drivers/platform/x86/intel_ips.c cpu_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u32), GFP_KERNEL); kcalloc 958 drivers/platform/x86/intel_ips.c mchp_samples = kcalloc(IPS_SAMPLE_COUNT, sizeof(u32), GFP_KERNEL); kcalloc 347 drivers/platform/x86/intel_speed_select_if/isst_if_common.c isst_cpu_info = kcalloc(num_possible_cpus(), kcalloc 561 drivers/platform/x86/panasonic-laptop.c pcc->sinf = kcalloc(num_sifr + 1, sizeof(u32), GFP_KERNEL); kcalloc 6083 drivers/platform/x86/thinkpad_acpi.c tpacpi_leds = kcalloc(TPACPI_LED_NUMLEDS, sizeof(*tpacpi_leds), kcalloc 92 drivers/pnp/pnpbios/core.c if (!(envp = kcalloc(20, sizeof(char *), GFP_KERNEL))) kcalloc 271 drivers/power/supply/generic-adc-battery.c psy_desc->properties = kcalloc(ARRAY_SIZE(gab_props) + kcalloc 576 drivers/power/supply/max17042_battery.c temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); kcalloc 605 drivers/power/supply/max17042_battery.c temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); kcalloc 200 drivers/power/supply/wm97xx_battery.c prop = kcalloc(props, sizeof(*prop), GFP_KERNEL); kcalloc 145 drivers/power/supply/z2_battery.c prop = kcalloc(props, sizeof(*prop), GFP_KERNEL); kcalloc 1228 drivers/powercap/intel_rapl_common.c rp->domains = kcalloc(rp->nr_domains + 1, sizeof(struct rapl_domain), kcalloc 536 drivers/powercap/powercap_sys.c power_zone->constraints = kcalloc(nr_constraints, kcalloc 544 drivers/powercap/powercap_sys.c power_zone->zone_dev_attrs = kcalloc(nr_attrs, sizeof(void *), kcalloc 266 drivers/ptp/ptp_sysfs.c ptp->pin_dev_attr = kcalloc(n_pins, sizeof(*ptp->pin_dev_attr), kcalloc 271 drivers/ptp/ptp_sysfs.c ptp->pin_attr = kcalloc(1 + n_pins, sizeof(*ptp->pin_attr), GFP_KERNEL); kcalloc 270 drivers/pwm/core.c chip->pwms = kcalloc(chip->npwm, sizeof(*pwm), GFP_KERNEL); kcalloc 740 drivers/rapidio/devices/tsi721_dma.c desc = kcalloc(dma_txqueue_sz, sizeof(struct tsi721_tx_desc), kcalloc 2185 drivers/rapidio/rio.c work = kcalloc(n, sizeof *work, GFP_KERNEL); kcalloc 1588 drivers/rapidio/rio_cm.c buf = kcalloc(nent + 2, sizeof(u32), GFP_KERNEL); kcalloc 1629 drivers/rapidio/rio_cm.c buf = kcalloc(entries + 1, sizeof(u32), GFP_KERNEL); kcalloc 1186 drivers/regulator/s2mps11.c rdata = kcalloc(rdev_num, sizeof(*rdata), GFP_KERNEL); kcalloc 145 drivers/remoteproc/stm32_rproc.c mem_range = kcalloc(cnt, sizeof(*mem_range), GFP_KERNEL); kcalloc 242 drivers/s390/block/dcssblk.c sort_list = kcalloc(dev_info->num_of_segments, kcalloc 81 drivers/s390/block/scm_blk.c scmrq->request = kcalloc(nr_requests_per_io, sizeof(scmrq->request[0]), kcalloc 107 drivers/s390/char/keyboard.c kcalloc(NR_FN_HANDLER, sizeof(fn_handler_fn *), GFP_KERNEL); kcalloc 738 drivers/s390/char/tape_core.c request->cpaddr = kcalloc(cplength, sizeof(struct ccw1), kcalloc 245 drivers/s390/char/vmur.c cpa = kcalloc(rec_count + 1, sizeof(struct ccw1), kcalloc 155 drivers/s390/char/zcore.c buf = kcalloc(memblock.memory.cnt, CHUNK_INFO_SIZE, GFP_KERNEL); kcalloc 541 drivers/s390/cio/qdio_setup.c outq->aobs = kcalloc(QDIO_MAX_BUFFERS_PER_Q, sizeof(struct qaob *), kcalloc 244 drivers/s390/cio/qdio_thinint.c q_indicators = kcalloc(TIQDIO_NR_INDICATORS, kcalloc 71 drivers/s390/cio/vfio_ccw_cp.c pa->pa_iova_pfn = kcalloc(pa->pa_nr, kcalloc 538 drivers/s390/cio/vfio_ccw_cp.c idaws = kcalloc(idaw_nr, sizeof(*idaws), GFP_DMA | GFP_KERNEL); kcalloc 135 drivers/s390/cio/vfio_ccw_drv.c private->cp.guest_cp = kcalloc(CCWCHAIN_LEN_MAX, sizeof(struct ccw1), kcalloc 947 drivers/s390/crypto/zcrypt_api.c targets = kcalloc(target_num, sizeof(*targets), GFP_KERNEL); kcalloc 1418 drivers/s390/crypto/zcrypt_api.c reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL); kcalloc 194 drivers/s390/crypto/zcrypt_ccamisc.c cprbmem = kcalloc(2, cprbplusparamblen, GFP_KERNEL); kcalloc 1378 drivers/s390/net/ctcm_main.c ch->ccw = kcalloc(ccw_num, sizeof(struct ccw1), GFP_KERNEL | GFP_DMA); kcalloc 47 drivers/s390/net/fsm.c m = kcalloc(nr_states*nr_events, sizeof(fsm_function_t), order); kcalloc 329 drivers/s390/net/qeth_core_main.c kcalloc(card->qdio.no_out_queues * kcalloc 4753 drivers/s390/net/qeth_core_main.c in_sbal_ptrs = kcalloc(card->qdio.no_in_queues * QDIO_MAX_BUFFERS_PER_Q, kcalloc 4764 drivers/s390/net/qeth_core_main.c queue_start_poll = kcalloc(card->qdio.no_in_queues, sizeof(void *), kcalloc 4776 drivers/s390/net/qeth_core_main.c kcalloc(card->qdio.no_out_queues * QDIO_MAX_BUFFERS_PER_Q, kcalloc 653 drivers/sbus/char/oradax.c ctx->ccb_buf = kcalloc(DAX_MAX_CCBS, sizeof(struct dax_ccb), kcalloc 1189 drivers/scsi/3w-9xxx.c tw_dev->event_queue[0] = kcalloc(TW_Q_LENGTH, sizeof(TW_Event), GFP_KERNEL); kcalloc 1057 drivers/scsi/3w-sas.c tw_dev->event_queue[0] = kcalloc(TW_Q_LENGTH, sizeof(TW_Event), GFP_KERNEL); kcalloc 2364 drivers/scsi/BusLogic.c kcalloc(BLOGIC_MAX_ADAPTERS, sizeof(struct blogic_probeinfo), kcalloc 494 drivers/scsi/aacraid/aachba.c dev->fsa_dev = kcalloc(maximum_num_containers, kcalloc 1674 drivers/scsi/aacraid/linit.c aac->fibs = kcalloc(shost->can_queue + AAC_NUM_MGT_FIB, kcalloc 4769 drivers/scsi/aic7xxx/aic7xxx_core.c scb_data->scbarray = kcalloc(AHC_SCB_MAX_ALLOC, sizeof(struct scb), kcalloc 205 drivers/scsi/aic94xx/aic94xx_hwi.c asd_ha->seq.tc_index_array = kcalloc(asd_ha->seq.tc_index_bitmap_bits, kcalloc 334 drivers/scsi/aic94xx/aic94xx_init.c cmd_ptr = kcalloc(count, 2, GFP_KERNEL); kcalloc 654 drivers/scsi/aic94xx/aic94xx_init.c kcalloc(ASD_MAX_PHYS, sizeof(*sas_phys), GFP_KERNEL); kcalloc 656 drivers/scsi/aic94xx/aic94xx_init.c kcalloc(ASD_MAX_PHYS, sizeof(*sas_ports), GFP_KERNEL); kcalloc 2463 drivers/scsi/be2iscsi/be_main.c phwi_ctrlr->wrb_context = kcalloc(phba->params.cxns_per_ctrl, kcalloc 2471 drivers/scsi/be2iscsi/be_main.c phba->init_mem = kcalloc(SE_MEM_MAX, sizeof(*mem_descr), kcalloc 2616 drivers/scsi/be2iscsi/be_main.c phwi_ctxt->be_wrbq = kcalloc(phba->params.cxns_per_ctrl, kcalloc 2628 drivers/scsi/be2iscsi/be_main.c kcalloc(phba->params.wrbs_per_cxn, kcalloc 2637 drivers/scsi/be2iscsi/be_main.c kcalloc(phba->params.wrbs_per_cxn, kcalloc 3894 drivers/scsi/be2iscsi/be_main.c phba->io_sgl_hndl_base = kcalloc(phba->params.ios_per_ctrl, kcalloc 3903 drivers/scsi/be2iscsi/be_main.c kcalloc(phba->params.icds_per_ctrl - kcalloc 4011 drivers/scsi/be2iscsi/be_main.c kcalloc(BEISCSI_GET_CID_COUNT(phba, ulp_num), kcalloc 4032 drivers/scsi/be2iscsi/be_main.c phba->ep_array = kcalloc(phba->params.cxns_per_ctrl, kcalloc 4044 drivers/scsi/be2iscsi/be_main.c phba->conn_table = kcalloc(phba->params.cxns_per_ctrl, kcalloc 924 drivers/scsi/bfa/bfad_attr.c rports = kcalloc(nrports, sizeof(struct bfa_rport_qualifier_s), kcalloc 3247 drivers/scsi/bfa/bfad_bsg.c buf_base = kcalloc(sizeof(struct bfad_buf_info) + kcalloc 1391 drivers/scsi/bnx2fc/bnx2fc_fcoe.c kcalloc(BNX2FC_NUM_MAX_SESS, sizeof(struct bnx2fc_rport *), kcalloc 244 drivers/scsi/bnx2fc/bnx2fc_io.c cmgr->free_list = kcalloc(arr_sz, sizeof(*cmgr->free_list), kcalloc 251 drivers/scsi/bnx2fc/bnx2fc_io.c cmgr->free_list_lock = kcalloc(arr_sz, sizeof(*cmgr->free_list_lock), kcalloc 361 drivers/scsi/ch.c ch->dt = kcalloc(ch->counts[CHET_DT], sizeof(*ch->dt), kcalloc 281 drivers/scsi/csiostor/csio_wr.c flq->un.fl.bufs = kcalloc(flq->credits, kcalloc 1654 drivers/scsi/csiostor/csio_wr.c wrm->q_arr = kcalloc(wrm->num_q, sizeof(struct csio_q *), GFP_KERNEL); kcalloc 635 drivers/scsi/cxlflash/ocxl_hw.c irqs = kcalloc(num, sizeof(*irqs), GFP_KERNEL); kcalloc 1710 drivers/scsi/dpt_i2o.c sg_list = kcalloc(pHba->sg_tablesize, sizeof(*sg_list), GFP_KERNEL); kcalloc 810 drivers/scsi/esas2r/esas2r_init.c kcalloc(num_ae_requests, sizeof(struct esas2r_request), kcalloc 820 drivers/scsi/esas2r/esas2r_init.c a->sg_list_mds = kcalloc(num_sg_lists, sizeof(struct esas2r_mem_desc), kcalloc 831 drivers/scsi/esas2r/esas2r_init.c kcalloc(num_requests + num_ae_requests + 1, kcalloc 1929 drivers/scsi/hpsa.c added = kcalloc(HPSA_MAX_DEVICES, sizeof(*added), GFP_KERNEL); kcalloc 1930 drivers/scsi/hpsa.c removed = kcalloc(HPSA_MAX_DEVICES, sizeof(*removed), GFP_KERNEL); kcalloc 2187 drivers/scsi/hpsa.c kcalloc(h->nr_cmds, sizeof(*h->ioaccel2_cmd_sg_list), kcalloc 2227 drivers/scsi/hpsa.c h->cmd_sg_list = kcalloc(h->nr_cmds, sizeof(*h->cmd_sg_list), kcalloc 4326 drivers/scsi/hpsa.c currentsd = kcalloc(HPSA_MAX_DEVICES, sizeof(*currentsd), GFP_KERNEL); kcalloc 6475 drivers/scsi/hpsa.c buff = kcalloc(SG_ENTRIES_IN_CMD, sizeof(char *), GFP_KERNEL); kcalloc 8004 drivers/scsi/hpsa.c h->cmd_pool_bits = kcalloc(DIV_ROUND_UP(h->nr_cmds, BITS_PER_LONG), kcalloc 8594 drivers/scsi/hpsa.c h->reply_map = kcalloc(nr_cpu_ids, sizeof(*h->reply_map), GFP_KERNEL); kcalloc 1202 drivers/scsi/ibmvscsi/ibmvfc.c pool->events = kcalloc(pool->size, sizeof(*pool->events), GFP_KERNEL); kcalloc 4647 drivers/scsi/ibmvscsi/ibmvfc.c vhost->trace = kcalloc(IBMVFC_NUM_TRACE_ENTRIES, kcalloc 448 drivers/scsi/ibmvscsi/ibmvscsi.c pool->events = kcalloc(pool->size, sizeof(*pool->events), GFP_KERNEL); kcalloc 2884 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_pool = kcalloc(num, sizeof(struct ibmvscsis_cmd), kcalloc 30 drivers/scsi/ibmvscsi_tgt/libsrp.c q->pool = kcalloc(max, sizeof(struct iu_entry *), GFP_KERNEL); kcalloc 33 drivers/scsi/ibmvscsi_tgt/libsrp.c q->items = kcalloc(max, sizeof(struct iu_entry), GFP_KERNEL); kcalloc 64 drivers/scsi/ibmvscsi_tgt/libsrp.c ring = kcalloc(max, sizeof(struct srp_buf *), GFP_KERNEL); kcalloc 9641 drivers/scsi/ipr.c ioa_cfg->ipr_cmnd_list = kcalloc(IPR_NUM_CMD_BLKS, sizeof(struct ipr_cmnd *), GFP_KERNEL); kcalloc 9642 drivers/scsi/ipr.c ioa_cfg->ipr_cmnd_list_dma = kcalloc(IPR_NUM_CMD_BLKS, sizeof(dma_addr_t), GFP_KERNEL); kcalloc 9745 drivers/scsi/ipr.c ioa_cfg->res_entries = kcalloc(ioa_cfg->max_devs_supported, kcalloc 9808 drivers/scsi/ipr.c ioa_cfg->trace = kcalloc(IPR_NUM_TRACE_ENTRIES, kcalloc 432 drivers/scsi/libsas/sas_expander.c ex->ex_phy = kcalloc(ex->num_phys, sizeof(*ex->ex_phy), GFP_KERNEL); kcalloc 4338 drivers/scsi/lpfc/lpfc_hbadisc.c ndlp->lat_data = kcalloc(LPFC_MAX_BUCKET_COUNT, kcalloc 1255 drivers/scsi/lpfc/lpfc_init.c eqcnt = kcalloc(num_possible_cpus(), sizeof(unsigned char), kcalloc 2767 drivers/scsi/lpfc/lpfc_init.c HashWorking = kcalloc(80, sizeof(uint32_t), GFP_KERNEL); kcalloc 6266 drivers/scsi/lpfc/lpfc_init.c phba->sli.sli3_ring = kcalloc(LPFC_SLI3_MAX_RING, kcalloc 6862 drivers/scsi/lpfc/lpfc_init.c phba->fcf.fcf_rr_bmask = kcalloc(longs, sizeof(unsigned long), kcalloc 6872 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.hba_eq_hdl = kcalloc(phba->cfg_irq_chann, kcalloc 6883 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.cpu_map = kcalloc(phba->sli4_hba.num_possible_cpu, kcalloc 8746 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.hdwq = kcalloc( kcalloc 8777 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.nvmet_cqset = kcalloc( kcalloc 8787 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.nvmet_mrq_hdr = kcalloc( kcalloc 8797 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.nvmet_mrq_data = kcalloc( kcalloc 9683 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.cq_lookup = kcalloc((phba->sli4_hba.cq_max + 1), kcalloc 1303 drivers/scsi/lpfc/lpfc_nvmet.c phba->sli4_hba.nvmet_ctx_info = kcalloc( kcalloc 1721 drivers/scsi/lpfc/lpfc_sli.c new_arr = kcalloc(new_len, sizeof(struct lpfc_iocbq *), kcalloc 5148 drivers/scsi/lpfc/lpfc_sli.c phba->vpi_bmask = kcalloc(longs, kcalloc 5156 drivers/scsi/lpfc/lpfc_sli.c phba->vpi_ids = kcalloc(phba->max_vpi + 1, kcalloc 5887 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.rpi_bmask = kcalloc(longs, kcalloc 5894 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.rpi_ids = kcalloc(rsrc_id_cnt, kcalloc 5916 drivers/scsi/lpfc/lpfc_sli.c phba->vpi_bmask = kcalloc(longs, sizeof(unsigned long), kcalloc 5922 drivers/scsi/lpfc/lpfc_sli.c phba->vpi_ids = kcalloc(rsrc_id_cnt, sizeof(uint16_t), kcalloc 5936 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.xri_bmask = kcalloc(longs, kcalloc 5944 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.xri_ids = kcalloc(rsrc_id_cnt, kcalloc 5959 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.vfi_bmask = kcalloc(longs, kcalloc 5966 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.vfi_ids = kcalloc(rsrc_id_cnt, kcalloc 6580 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.rpi_bmask = kcalloc(longs, kcalloc 6587 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.rpi_ids = kcalloc(count, sizeof(uint16_t), kcalloc 6608 drivers/scsi/lpfc/lpfc_sli.c phba->vpi_bmask = kcalloc(longs, sizeof(unsigned long), kcalloc 6614 drivers/scsi/lpfc/lpfc_sli.c phba->vpi_ids = kcalloc(count, sizeof(uint16_t), kcalloc 6635 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.xri_bmask = kcalloc(longs, kcalloc 6643 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.xri_ids = kcalloc(count, sizeof(uint16_t), kcalloc 6664 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.vfi_bmask = kcalloc(longs, kcalloc 6671 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.vfi_ids = kcalloc(count, sizeof(uint16_t), kcalloc 832 drivers/scsi/lpfc/lpfc_vport.c vports = kcalloc(phba->max_vports + 1, sizeof(struct lpfc_vport *), kcalloc 906 drivers/scsi/lpfc/lpfc_vport.c ndlp->lat_data = kcalloc(LPFC_MAX_BUCKET_COUNT, kcalloc 1016 drivers/scsi/megaraid/megaraid_mbox.c adapter->kscb_list = kcalloc(MBOX_MAX_SCSI_CMDS, sizeof(scb_t), GFP_KERNEL); kcalloc 3413 drivers/scsi/megaraid/megaraid_mbox.c adapter->uscb_list = kcalloc(MBOX_MAX_USER_CMDS, sizeof(scb_t), GFP_KERNEL); kcalloc 4335 drivers/scsi/megaraid/megaraid_sas_base.c instance->cmd_list = kcalloc(max_cmd, sizeof(struct megasas_cmd*), GFP_KERNEL); kcalloc 6203 drivers/scsi/megaraid/megaraid_sas_base.c kcalloc(MAX_LOGICAL_DRIVES_EXT, kcalloc 6947 drivers/scsi/megaraid/megaraid_sas_base.c instance->reply_map = kcalloc(nr_cpu_ids, sizeof(unsigned int), kcalloc 553 drivers/scsi/megaraid/megaraid_sas_fusion.c kcalloc(max_mpt_cmd, sizeof(struct megasas_cmd_fusion *), kcalloc 3317 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->replyPostRegisterIndex = kcalloc( kcalloc 4998 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->reply_post = kcalloc((ioc->rdpq_array_enable) ? kcalloc 5131 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->hpr_lookup = kcalloc(ioc->hi_priority_depth, kcalloc 5144 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->internal_lookup = kcalloc(ioc->internal_depth, kcalloc 6954 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->reply_post_host_index = kcalloc(ioc->cpu_msix_table_sz, kcalloc 7041 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->pfacts = kcalloc(ioc->facts.NumberOfPorts, kcalloc 1242 drivers/scsi/mpt3sas/mpt3sas_ctl.c ioc->event_log = kcalloc(MPT3SAS_CTL_EVENT_LOG_SIZE, kcalloc 5521 drivers/scsi/mpt3sas/mpt3sas_scsih.c ioc->sas_hba.phy = kcalloc(num_phys, kcalloc 5733 drivers/scsi/mpt3sas/mpt3sas_scsih.c sas_expander->phy = kcalloc(sas_expander->num_phys, kcalloc 415 drivers/scsi/mvsas/mv_init.c arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); kcalloc 416 drivers/scsi/mvsas/mv_init.c arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); kcalloc 525 drivers/scsi/mvsas/mv_init.c kcalloc(1, sizeof(struct sas_ha_struct), GFP_KERNEL); kcalloc 727 drivers/scsi/pm8001/pm8001_ctl.c cmd_ptr = kcalloc(count, 2, GFP_KERNEL); kcalloc 529 drivers/scsi/pm8001/pm8001_init.c arr_phy = kcalloc(phy_nr, sizeof(void *), GFP_KERNEL); kcalloc 532 drivers/scsi/pm8001/pm8001_init.c arr_port = kcalloc(port_nr, sizeof(void *), GFP_KERNEL); kcalloc 4845 drivers/scsi/pmcraid.c kcalloc(PMCRAID_MAX_RESOURCES, kcalloc 2639 drivers/scsi/qedf/qedf_main.c kcalloc(qedf->num_queues, sizeof(struct qedf_fastpath), kcalloc 2651 drivers/scsi/qedf/qedf_main.c fp->sb_info = kcalloc(1, sizeof(*fp->sb_info), GFP_KERNEL); kcalloc 402 drivers/scsi/qedi/qedi_main.c qedi->fp_array = kcalloc(MIN_NUM_CPUS_MSIX(qedi), kcalloc 410 drivers/scsi/qedi/qedi_main.c qedi->sb_array = kcalloc(MIN_NUM_CPUS_MSIX(qedi), kcalloc 529 drivers/scsi/qedi/qedi_main.c id_tbl->table = kcalloc(BITS_TO_LONGS(size), sizeof(long), GFP_KERNEL); kcalloc 1837 drivers/scsi/qedi/qedi_main.c qedi->itt_map = kcalloc(MAX_ISCSI_TASK_ENTRIES, kcalloc 3413 drivers/scsi/qla2xxx/qla_init.c req->outstanding_cmds = kcalloc(req->num_outstanding_cmds, kcalloc 3423 drivers/scsi/qla2xxx/qla_init.c req->outstanding_cmds = kcalloc(req->num_outstanding_cmds, kcalloc 5665 drivers/scsi/qla2xxx/qla_init.c ha->swl = kcalloc(ha->max_fibre_devices, sizeof(sw_info_t), kcalloc 3499 drivers/scsi/qla2xxx/qla_isr.c ha->msix_entries = kcalloc(ha->msix_count, kcalloc 3809 drivers/scsi/qla2xxx/qla_nx2.c p_cache = kcalloc(length, sizeof(uint8_t), GFP_KERNEL); kcalloc 394 drivers/scsi/qla2xxx/qla_os.c ha->req_q_map = kcalloc(ha->max_req_queues, sizeof(struct req_que *), kcalloc 402 drivers/scsi/qla2xxx/qla_os.c ha->rsp_q_map = kcalloc(ha->max_rsp_queues, sizeof(struct rsp_que *), kcalloc 420 drivers/scsi/qla2xxx/qla_os.c ha->queue_pair_map = kcalloc(ha->max_qpairs, sizeof(struct qla_qpair *), kcalloc 4191 drivers/scsi/qla2xxx/qla_os.c ha->npiv_info = kcalloc(ha->nvram_npiv_size, kcalloc 4228 drivers/scsi/qla2xxx/qla_os.c ha->loop_id_map = kcalloc(BITS_TO_LONGS(LOOPID_MAP_SIZE), kcalloc 6353 drivers/scsi/qla2xxx/qla_target.c tgt->qphints = kcalloc(ha->max_qpairs + 1, kcalloc 7182 drivers/scsi/qla2xxx/qla_target.c ha->tgt.tgt_vp_map = kcalloc(MAX_MULTI_ID_FABRIC, kcalloc 3430 drivers/scsi/scsi_debug.c arr = kcalloc(lb_size, dnum, GFP_ATOMIC); kcalloc 5299 drivers/scsi/scsi_debug.c sdebug_q_arr = kcalloc(submit_queues, sizeof(struct sdebug_queue), kcalloc 734 drivers/scsi/ses.c scomp = kcalloc(components, sizeof(struct ses_component), GFP_KERNEL); kcalloc 1085 drivers/scsi/sg.c rinfo = kcalloc(SG_MAX_QUEUE, SZ_SG_REQ_INFO, kcalloc 4631 drivers/scsi/smartpqi/smartpqi_init.c kcalloc(ctrl_info->max_io_slots, kcalloc 7608 drivers/scsi/smartpqi/smartpqi_init.c kcalloc(sg_count, sizeof(void *), GFP_KERNEL); kcalloc 3892 drivers/scsi/st.c tb->reserved_pages = kcalloc(max_sg, sizeof(struct page *), kcalloc 1759 drivers/scsi/stex.c hba->ccb = kcalloc(ci->rq_count, sizeof(struct st_ccb), GFP_KERNEL); kcalloc 874 drivers/scsi/storvsc_drv.c stor_device->stor_chns = kcalloc(num_possible_cpus(), sizeof(void *), kcalloc 4994 drivers/scsi/sym53c8xx_2/sym_hipd.c tp->lunmp = kcalloc(SYM_CONF_MAX_LUN, sizeof(struct sym_lcb *), kcalloc 5062 drivers/scsi/sym53c8xx_2/sym_hipd.c lp->cb_tags = kcalloc(SYM_CONF_MAX_TASK, 1, GFP_ATOMIC); kcalloc 5651 drivers/scsi/sym53c8xx_2/sym_hipd.c np->ccbh = kcalloc(CCB_HASH_SIZE, sizeof(struct sym_ccb **), GFP_KERNEL); kcalloc 1467 drivers/scsi/vmw_pvscsi.c adapter->cmd_map = kcalloc(adapter->req_depth, kcalloc 419 drivers/scsi/xen-scsifront.c shadow->sg = kcalloc(data_grants, kcalloc 252 drivers/sh/clk/cpg.c freq_table = kcalloc(nr, freq_table_size, GFP_KERNEL); kcalloc 206 drivers/sh/intc/core.c d->window = kcalloc(d->nr_windows, sizeof(*d->window), kcalloc 233 drivers/sh/intc/core.c d->reg = kcalloc(d->nr_reg, sizeof(*d->reg), GFP_NOWAIT); kcalloc 238 drivers/sh/intc/core.c d->smp = kcalloc(d->nr_reg, sizeof(*d->smp), GFP_NOWAIT); kcalloc 256 drivers/sh/intc/core.c d->prio = kcalloc(hw->nr_vectors, sizeof(*d->prio), kcalloc 272 drivers/sh/intc/core.c d->sense = kcalloc(hw->nr_vectors, sizeof(*d->sense), kcalloc 164 drivers/sh/maple/maple.c sendbuf = kcalloc(length, 4, GFP_KERNEL); kcalloc 541 drivers/slimbus/qcom-ctrl.c ctrl->wr_comp = kcalloc(QCOM_TX_MSGS, sizeof(struct completion *), kcalloc 215 drivers/slimbus/stream.c rt->ports = kcalloc(num_ports, sizeof(*port), GFP_KERNEL); kcalloc 927 drivers/soc/tegra/pmc.c pg->clks = kcalloc(count, sizeof(clk), GFP_KERNEL); kcalloc 229 drivers/soc/tegra/powergate-bpmp.c powergates = kcalloc(max_id + 1, sizeof(*powergates), GFP_KERNEL); kcalloc 263 drivers/soc/tegra/powergate-bpmp.c domains = kcalloc(count, sizeof(*domains), GFP_KERNEL); kcalloc 707 drivers/soundwire/intel.c dma->port = kcalloc(dma->nr_ports, sizeof(*dma->port), GFP_KERNEL); kcalloc 740 drivers/soundwire/intel.c pconfig = kcalloc(dma->nr_ports, sizeof(*pconfig), GFP_KERNEL); kcalloc 110 drivers/soundwire/intel_init.c ctx->links = kcalloc(ctx->count, sizeof(*ctx->links), GFP_KERNEL); kcalloc 1286 drivers/spi/spi-bcm-qspi.c qspi->dev_ids = kcalloc(num_irqs, sizeof(struct bcm_qspi_dev_id), kcalloc 185 drivers/spi/spi-mxs.c dma_xfer = kcalloc(sgs, sizeof(*dma_xfer), GFP_KERNEL); kcalloc 470 drivers/spi/spi-pic32-sqi.c sqi->ring = kcalloc(PESQI_BD_COUNT, sizeof(*rdesc), GFP_KERNEL); kcalloc 411 drivers/spi/spi-ppc4xx.c hw->gpios = kcalloc(num_gpios, sizeof(*hw->gpios), GFP_KERNEL); kcalloc 1001 drivers/spi/spi-topcliff-pch.c dma->sg_rx_p = kcalloc(num, sizeof(*dma->sg_rx_p), GFP_ATOMIC); kcalloc 1064 drivers/spi/spi-topcliff-pch.c dma->sg_tx_p = kcalloc(num, sizeof(*dma->sg_tx_p), GFP_ATOMIC); kcalloc 748 drivers/spi/spi.c bi = kcalloc(n, sizeof(*bi), GFP_KERNEL); kcalloc 210 drivers/spi/spidev.c k_xfers = kcalloc(n_xfers, sizeof(*k_tmp), GFP_KERNEL); kcalloc 885 drivers/ssb/pci.c buf = kcalloc(SSB_SPROMSIZE_WORDS_R123, sizeof(u16), GFP_KERNEL); kcalloc 894 drivers/ssb/pci.c buf = kcalloc(SSB_SPROMSIZE_WORDS_R4, sizeof(u16), kcalloc 75 drivers/ssb/sprom.c sprom = kcalloc(sprom_size_words, sizeof(u16), GFP_KERNEL); kcalloc 108 drivers/ssb/sprom.c sprom = kcalloc(bus->sprom_size, sizeof(u16), GFP_KERNEL); kcalloc 842 drivers/staging/android/vsoc.c kcalloc(vsoc_dev.layout->region_count, kcalloc 851 drivers/staging/android/vsoc.c kcalloc(vsoc_dev.layout->region_count, kcalloc 982 drivers/staging/comedi/comedi_fops.c tmp = kcalloc(dev->n_subdevices, sizeof(*tmp), GFP_KERNEL); kcalloc 1537 drivers/staging/comedi/comedi_fops.c insns = kcalloc(insnlist.n_insns, sizeof(*insns), GFP_KERNEL); kcalloc 105 drivers/staging/comedi/drivers.c s = kcalloc(num_subdevices, sizeof(*s), GFP_KERNEL); kcalloc 146 drivers/staging/comedi/drivers.c s->readback = kcalloc(s->n_chan, sizeof(*s->readback), GFP_KERNEL); kcalloc 170 drivers/staging/comedi/drivers/comedi_isadma.c desc = kcalloc(n_desc, sizeof(*desc), GFP_KERNEL); kcalloc 1796 drivers/staging/comedi/drivers/ni_tio.c counter_dev->counters = kcalloc(num_counters, sizeof(*counter), kcalloc 1798 drivers/staging/comedi/drivers/ni_tio.c counter_dev->regs = kcalloc(counter_dev->num_chips, kcalloc 1447 drivers/staging/comedi/drivers/usbdux.c devpriv->ai_urbs = kcalloc(devpriv->n_ai_urbs, sizeof(void *), kcalloc 1449 drivers/staging/comedi/drivers/usbdux.c devpriv->ao_urbs = kcalloc(devpriv->n_ao_urbs, sizeof(void *), kcalloc 1340 drivers/staging/comedi/drivers/usbduxsigma.c devpriv->ai_urbs = kcalloc(devpriv->n_ai_urbs, sizeof(urb), GFP_KERNEL); kcalloc 1341 drivers/staging/comedi/drivers/usbduxsigma.c devpriv->ao_urbs = kcalloc(devpriv->n_ao_urbs, sizeof(urb), GFP_KERNEL); kcalloc 1646 drivers/staging/fsl-dpaa2/ethsw/ethsw.c ethsw->ports = kcalloc(ethsw->sw_attr.num_ifs, sizeof(*ethsw->ports), kcalloc 1101 drivers/staging/gasket/gasket_core.c map_regions = kcalloc(num_map_regions, kcalloc 183 drivers/staging/gasket/gasket_interrupt.c kcalloc(interrupt_data->num_interrupts, kcalloc 336 drivers/staging/gasket/gasket_interrupt.c kcalloc(driver_desc->num_interrupts, kcalloc 344 drivers/staging/gasket/gasket_interrupt.c kcalloc(driver_desc->num_interrupts, kcalloc 1277 drivers/staging/gasket/gasket_page_table.c kcalloc(num_pages, kcalloc 101 drivers/staging/gasket/gasket_sysfs.c files_to_remove = kcalloc(num_files_to_remove, kcalloc 196 drivers/staging/gasket/gasket_sysfs.c mapping->attributes = kcalloc(GASKET_SYSFS_MAX_NODES, kcalloc 799 drivers/staging/greybus/camera.c gb_streams = kcalloc(gb_nstreams, sizeof(*gb_streams), GFP_KERNEL); kcalloc 940 drivers/staging/greybus/camera.c streams = kcalloc(nstreams, sizeof(*streams), GFP_KERNEL); kcalloc 496 drivers/staging/greybus/gpio.c ggc->lines = kcalloc(ggc->line_max + 1, sizeof(*ggc->lines), kcalloc 290 drivers/staging/greybus/light.c channel->attrs = kcalloc(size + 1, sizeof(*channel->attrs), GFP_KERNEL); kcalloc 293 drivers/staging/greybus/light.c channel->attr_group = kcalloc(1, sizeof(*channel->attr_group), kcalloc 297 drivers/staging/greybus/light.c channel->attr_groups = kcalloc(2, sizeof(*channel->attr_groups), kcalloc 1030 drivers/staging/greybus/light.c light->channels = kcalloc(light->channels_count, kcalloc 1167 drivers/staging/greybus/light.c glights->lights = kcalloc(glights->lights_count, kcalloc 548 drivers/staging/greybus/power_supply.c gbpsy->props = kcalloc(gbpsy->properties_count, sizeof(*gbpsy->props), kcalloc 555 drivers/staging/greybus/power_supply.c gbpsy->props_raw = kcalloc(gbpsy->properties_count, kcalloc 945 drivers/staging/greybus/power_supply.c supplies->supply = kcalloc(supplies->supplies_count, kcalloc 775 drivers/staging/iio/adc/ad7280a.c channels = kcalloc(st->scan_cnt, sizeof(*channels), GFP_KERNEL); kcalloc 75 drivers/staging/isdn/avm/b1.c cinfo = kcalloc(nr_controllers, sizeof(*cinfo), GFP_KERNEL); kcalloc 1370 drivers/staging/isdn/gigaset/capi.c commands = kcalloc(AT_NUM, sizeof(*commands), GFP_KERNEL); kcalloc 236 drivers/staging/media/ipu3/ipu3-css-fw.c css->binary = kcalloc(binary_nr, sizeof(*css->binary), GFP_KERNEL); kcalloc 1751 drivers/staging/media/ipu3/ipu3-css.c q = kcalloc(IPU3_CSS_QUEUES, sizeof(struct imgu_css_queue), GFP_KERNEL); kcalloc 736 drivers/staging/media/tegra-vde/vde.c dpb_frames = kcalloc(ctx.dpb_frames_nb, sizeof(*dpb_frames), kcalloc 1081 drivers/staging/most/usb/usb.c mdev->conf = kcalloc(num_endpoints, sizeof(*mdev->conf), GFP_KERNEL); kcalloc 1085 drivers/staging/most/usb/usb.c mdev->cap = kcalloc(num_endpoints, sizeof(*mdev->cap), GFP_KERNEL); kcalloc 1091 drivers/staging/most/usb/usb.c kcalloc(num_endpoints, sizeof(*mdev->ep_address), GFP_KERNEL); kcalloc 1096 drivers/staging/most/usb/usb.c kcalloc(num_endpoints, sizeof(*mdev->busy_urbs), GFP_KERNEL); kcalloc 3330 drivers/staging/qlge/qlge_main.c qdev->msi_x_entry = kcalloc(qdev->intr_count, kcalloc 91 drivers/staging/rtl8188eu/core/rtw_efuse.c tmp = kcalloc(EFUSE_MAX_SECTION_88E, kcalloc 1515 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->hwxmits = kcalloc(pxmitpriv->hwxmit_entry, kcalloc 33 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c kcalloc(NR_RECVBUFF, sizeof(struct recv_buf), GFP_KERNEL); kcalloc 45 drivers/staging/rtl8192e/rtllib_module.c ieee->networks = kcalloc(MAX_NETWORK_COUNT, kcalloc 67 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c ieee->networks = kcalloc(MAX_NETWORK_COUNT, kcalloc 1648 drivers/staging/rtl8192u/r8192U_core.c priv->pp_rxskb = kcalloc(MAX_RX_URB, sizeof(struct sk_buff *), kcalloc 1842 drivers/staging/unisys/visornic/visornic_main.c devdata->rcvbuf = kcalloc(devdata->num_rcv_bufs, kcalloc 173 drivers/staging/uwb/est.c uwb_est = kcalloc(uwb_est_size, sizeof(uwb_est[0]), GFP_KERNEL); kcalloc 23 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.c queue->storage = kcalloc(size, sizeof(struct vchiq_header *), kcalloc 256 drivers/staging/wlan-ng/prism2fw.c s3data = kcalloc(S3DATA_MAX, sizeof(*s3data), GFP_KERNEL); kcalloc 34 drivers/staging/wusbcore/mmc.c wusbhc->mmcie = kcalloc(mmcies, sizeof(wusbhc->mmcie[0]), GFP_KERNEL); kcalloc 363 drivers/staging/wusbcore/security.c hs = kcalloc(3, sizeof(hs[0]), GFP_KERNEL); kcalloc 1170 drivers/staging/wusbcore/wa-xfer.c xfer->seg = kcalloc(xfer->segs, sizeof(xfer->seg[0]), GFP_ATOMIC); kcalloc 987 drivers/target/iscsi/iscsi_target.c cmd->iov_data = kcalloc(iov_count, sizeof(*cmd->iov_data), GFP_KERNEL); kcalloc 3946 drivers/target/iscsi/iscsi_target.c buffer = kcalloc(ISCSI_HDR_LEN, sizeof(*buffer), GFP_KERNEL); kcalloc 132 drivers/target/iscsi/iscsi_target_seq_pdu_list.c array = kcalloc(seq_count, sizeof(u32), GFP_KERNEL); kcalloc 152 drivers/target/iscsi/iscsi_target_seq_pdu_list.c array = kcalloc(seq_count, sizeof(u32), GFP_KERNEL); kcalloc 184 drivers/target/iscsi/iscsi_target_seq_pdu_list.c array = kcalloc(seq_count, sizeof(u32), GFP_KERNEL); kcalloc 538 drivers/target/iscsi/iscsi_target_seq_pdu_list.c seq = kcalloc(seq_count, sizeof(struct iscsi_seq), GFP_ATOMIC); kcalloc 548 drivers/target/iscsi/iscsi_target_seq_pdu_list.c pdu = kcalloc(pdu_count, sizeof(struct iscsi_pdu), GFP_ATOMIC); kcalloc 1845 drivers/target/sbp/sbp_target.c data = kcalloc((num_entries + 4), sizeof(u32), GFP_KERNEL); kcalloc 279 drivers/target/target_core_file.c bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); kcalloc 329 drivers/target/target_core_file.c bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); kcalloc 468 drivers/target/target_core_file.c bvec = kcalloc(nolb, sizeof(struct bio_vec), GFP_KERNEL); kcalloc 134 drivers/target/target_core_rd.c sg = kcalloc(sg_per_table + chain_entry, sizeof(*sg), kcalloc 195 drivers/target/target_core_rd.c sg_table = kcalloc(sg_tables, sizeof(*sg_table), GFP_KERNEL); kcalloc 252 drivers/target/target_core_rd.c sg_table = kcalloc(sg_tables, sizeof(*sg_table), GFP_KERNEL); kcalloc 586 drivers/target/target_core_user.c tcmu_cmd->dbi = kcalloc(tcmu_cmd->dbi_cnt, sizeof(uint32_t), kcalloc 34 drivers/tee/optee/shm_pool.c pages = kcalloc(nr_pages, sizeof(pages), GFP_KERNEL); kcalloc 327 drivers/tee/tee_core.c params = kcalloc(arg.num_params, sizeof(struct tee_param), kcalloc 398 drivers/tee/tee_core.c params = kcalloc(arg.num_params, sizeof(struct tee_param), kcalloc 531 drivers/tee/tee_core.c params = kcalloc(num_params, sizeof(struct tee_param), GFP_KERNEL); kcalloc 630 drivers/tee/tee_core.c params = kcalloc(num_params, sizeof(struct tee_param), GFP_KERNEL); kcalloc 262 drivers/tee/tee_shm.c shm->pages = kcalloc(num_pages, sizeof(*shm->pages), GFP_KERNEL); kcalloc 377 drivers/thermal/cpu_cooling.c load_cpu = kcalloc(ncpus, sizeof(*load_cpu), GFP_KERNEL); kcalloc 565 drivers/thermal/cpu_cooling.c cpufreq_cdev->idle_time = kcalloc(num_cpus, kcalloc 432 drivers/thermal/devfreq_cooling.c power_table = kcalloc(num_opps, sizeof(*power_table), kcalloc 438 drivers/thermal/devfreq_cooling.c freq_table = kcalloc(num_opps, sizeof(*freq_table), kcalloc 92 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c trts = kcalloc(*trt_count, sizeof(struct trt), GFP_KERNEL); kcalloc 171 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c arts = kcalloc(*art_count, sizeof(struct art), GFP_KERNEL); kcalloc 234 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c kcalloc(trip_cnt, kcalloc 494 drivers/thermal/intel/x86_pkg_temp_thermal.c zones = kcalloc(max_id, sizeof(struct zone_device *), kcalloc 720 drivers/thermal/of-thermal.c __tcbp = kcalloc(count, sizeof(*__tcbp), GFP_KERNEL); kcalloc 910 drivers/thermal/of-thermal.c tz->trips = kcalloc(tz->ntrips, sizeof(*tz->trips), GFP_KERNEL); kcalloc 936 drivers/thermal/of-thermal.c tz->tbps = kcalloc(tz->num_tbps, sizeof(*tz->tbps), GFP_KERNEL); kcalloc 372 drivers/thermal/power_allocator.c req_power = kcalloc(num_actors * 5, sizeof(*req_power), GFP_KERNEL); kcalloc 518 drivers/thermal/thermal_sysfs.c tz->trip_type_attrs = kcalloc(tz->trips, sizeof(*tz->trip_type_attrs), kcalloc 523 drivers/thermal/thermal_sysfs.c tz->trip_temp_attrs = kcalloc(tz->trips, sizeof(*tz->trip_temp_attrs), kcalloc 531 drivers/thermal/thermal_sysfs.c tz->trip_hyst_attrs = kcalloc(tz->trips, kcalloc 541 drivers/thermal/thermal_sysfs.c attrs = kcalloc(tz->trips * 3 + 1, sizeof(*attrs), GFP_KERNEL); kcalloc 632 drivers/thermal/thermal_sysfs.c groups = kcalloc(size, sizeof(*groups), GFP_KERNEL); kcalloc 131 drivers/thunderbolt/domain.c uuids = kcalloc(tb->nboot_acl, sizeof(uuid_t), GFP_KERNEL); kcalloc 188 drivers/thunderbolt/domain.c acl = kcalloc(tb->nboot_acl, sizeof(uuid_t), GFP_KERNEL); kcalloc 368 drivers/thunderbolt/icm.c switches = kcalloc(npackets, sizeof(*switches), GFP_KERNEL); kcalloc 160 drivers/thunderbolt/path.c path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); kcalloc 248 drivers/thunderbolt/path.c path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); kcalloc 126 drivers/thunderbolt/property.c property->value.data = kcalloc(property->length, sizeof(u32), kcalloc 137 drivers/thunderbolt/property.c property->value.text = kcalloc(property->length, sizeof(u32), kcalloc 1556 drivers/thunderbolt/switch.c sw->ports = kcalloc(sw->config.max_port_number + 1, sizeof(*sw->ports), kcalloc 65 drivers/thunderbolt/tunnel.c tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); kcalloc 351 drivers/thunderbolt/xdomain.c data = kcalloc(data_len, sizeof(u32), GFP_KERNEL); kcalloc 1578 drivers/thunderbolt/xdomain.c block = kcalloc(len, sizeof(u32), GFP_KERNEL); kcalloc 3057 drivers/tty/cyclades.c cinfo->ports = kcalloc(cinfo->nports, sizeof(*cinfo->ports), kcalloc 772 drivers/tty/ehv_bytechan.c bcs = kcalloc(count, sizeof(struct ehv_bc_data), GFP_KERNEL); kcalloc 249 drivers/tty/goldfish.c goldfish_ttys = kcalloc(goldfish_tty_line_count, kcalloc 1255 drivers/tty/hvc/hvc_iucv.c array = kcalloc(size, 8, GFP_KERNEL); kcalloc 828 drivers/tty/moxa.c brd->ports = kcalloc(MAX_PORTS_PER_BOARD, sizeof(*brd->ports), kcalloc 991 drivers/tty/serial/pch_uart.c priv->sg_tx_p = kcalloc(num, sizeof(struct scatterlist), GFP_ATOMIC); kcalloc 2530 drivers/tty/serial/serial_core.c drv->state = kcalloc(drv->nr, sizeof(struct uart_state), GFP_KERNEL); kcalloc 2846 drivers/tty/serial/serial_core.c uport->tty_groups = kcalloc(num_groups, sizeof(*uport->tty_groups), kcalloc 1128 drivers/tty/serial/sunsab.c sunsab_ports = kcalloc(num_channels, kcalloc 3226 drivers/tty/tty_io.c driver->ttys = kcalloc(lines, sizeof(*driver->ttys), kcalloc 3228 drivers/tty/tty_io.c driver->termios = kcalloc(lines, sizeof(*driver->termios), kcalloc 3237 drivers/tty/tty_io.c driver->ports = kcalloc(lines, sizeof(*driver->ports), kcalloc 3246 drivers/tty/tty_io.c driver->cdevs = kcalloc(cdevs, sizeof(*driver->cdevs), GFP_KERNEL); kcalloc 132 drivers/uio/uio_pruss.c gdev->info = kcalloc(MAX_PRUSS_EVT, sizeof(*p), GFP_KERNEL); kcalloc 1438 drivers/usb/core/hub.c hub->ports = kcalloc(maxchild, sizeof(struct usb_port *), GFP_KERNEL); kcalloc 58 drivers/usb/core/quirks.c quirk_list = kcalloc(quirk_count, sizeof(struct quirk_entry), kcalloc 5030 drivers/usb/dwc2/hcd.c hsotg->frame_num_array = kcalloc(FRAME_NUM_ARRAY_SIZE, kcalloc 5036 drivers/usb/dwc2/hcd.c kcalloc(FRAME_NUM_ARRAY_SIZE, kcalloc 110 drivers/usb/dwc2/hcd_ddma.c qh->n_bytes = kcalloc(dwc2_max_desc_num(qh), sizeof(u32), flags); kcalloc 830 drivers/usb/dwc3/core.c vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); kcalloc 473 drivers/usb/dwc3/dwc3-qcom.c child_res = kcalloc(2, sizeof(*child_res), GFP_KERNEL); kcalloc 1895 drivers/usb/gadget/function/f_fs.c epfiles = kcalloc(count, sizeof(*epfiles), GFP_KERNEL); kcalloc 2611 drivers/usb/gadget/function/f_mass_storage.c buffhds = kcalloc(n, sizeof(*buffhds), GFP_KERNEL); kcalloc 917 drivers/usb/gadget/function/f_midi.c midi_function = kcalloc((MAX_PORTS * 4) + 11, sizeof(*midi_function), kcalloc 521 drivers/usb/gadget/function/u_audio.c prm->ureq = kcalloc(params->req_number, sizeof(struct uac_req), kcalloc 528 drivers/usb/gadget/function/u_audio.c prm->rbuf = kcalloc(params->req_number, prm->max_psize, kcalloc 543 drivers/usb/gadget/function/u_audio.c prm->ureq = kcalloc(params->req_number, sizeof(struct uac_req), kcalloc 550 drivers/usb/gadget/function/u_audio.c prm->rbuf = kcalloc(params->req_number, prm->max_psize, kcalloc 1300 drivers/usb/gadget/function/uvc_configfs.c tmp = frm_intrv = kcalloc(n, sizeof(u32), GFP_KERNEL); kcalloc 2190 drivers/usb/gadget/function/uvc_configfs.c *class_array = kcalloc(count, sizeof(void *), GFP_KERNEL); kcalloc 193 drivers/usb/gadget/legacy/g_ffs.c f_ffs[0] = kcalloc(func_num * N_CONF, sizeof(*f_ffs), GFP_KERNEL); kcalloc 201 drivers/usb/gadget/legacy/g_ffs.c fi_ffs = kcalloc(func_num, sizeof(*fi_ffs), GFP_KERNEL); kcalloc 396 drivers/usb/gadget/udc/bdc/bdc_core.c bdc->bdc_ep_array = kcalloc(bdc->num_eps, sizeof(struct bdc_ep *), kcalloc 141 drivers/usb/gadget/udc/bdc/bdc_ep.c ep->bd_list.bd_table_array = kcalloc(num_tabs, kcalloc 2251 drivers/usb/gadget/udc/fsl_udc_core.c udc->eps = kcalloc(udc->max_ep, sizeof(struct fsl_ep), GFP_KERNEL); kcalloc 430 drivers/usb/gadget/udc/mv_u3d_core.c trb = kcalloc(trb_num, sizeof(*trb), GFP_ATOMIC); kcalloc 434 drivers/usb/gadget/udc/mv_u3d_core.c trb_hw = kcalloc(trb_num, sizeof(*trb_hw), GFP_ATOMIC); kcalloc 217 drivers/usb/host/ehci-mem.c ehci->pshadow = kcalloc(ehci->periodic_size, sizeof(void *), flags); kcalloc 120 drivers/usb/host/ehci-sched.c tt_index = kcalloc(utt->hub->maxchild, kcalloc 433 drivers/usb/host/fhci-hcd.c urb_priv->tds = kcalloc(size, sizeof(*urb_priv->tds), mem_flags); kcalloc 1967 drivers/usb/host/fotg210-hcd.c fotg210->pshadow = kcalloc(fotg210->periodic_size, sizeof(void *), kcalloc 744 drivers/usb/host/imx21-hcd.c urb_priv->isoc_td = kcalloc(urb->number_of_packets, sizeof(struct td), kcalloc 1177 drivers/usb/host/oxu210hp-hcd.c oxu->murb_pool = kcalloc(MURB_NUM, sizeof(struct oxu_murb), flags); kcalloc 1195 drivers/usb/host/oxu210hp-hcd.c oxu->pshadow = kcalloc(oxu->periodic_size, sizeof(void *), flags); kcalloc 608 drivers/usb/host/uhci-hcd.c uhci->frame_cpu = kcalloc(UHCI_NUMFRAMES, sizeof(*uhci->frame_cpu), kcalloc 103 drivers/usb/host/xhci-mtk-sch.c tt_index = kcalloc(utt->hub->maxchild, kcalloc 573 drivers/usb/host/xhci-mtk-sch.c sch_array = kcalloc(num_usb_bus, sizeof(*sch_array), GFP_KERNEL); kcalloc 699 drivers/usb/misc/ldusb.c dev->ring_buffer = kcalloc(ring_buffer_size, kcalloc 1224 drivers/usb/misc/usbtest.c urb = kcalloc(param->sglen, sizeof(struct urb *), GFP_KERNEL); kcalloc 1575 drivers/usb/misc/usbtest.c ctx.urbs = kcalloc(num, sizeof(struct urb *), GFP_KERNEL); kcalloc 1027 drivers/usb/mon/mon_bin.c vec = kcalloc(size / CHUNK_SIZE, sizeof(struct mon_pgmap), kcalloc 513 drivers/usb/mtu3/mtu3_core.c ep_array = kcalloc(mtu->num_eps * 2, sizeof(*ep_array), GFP_KERNEL); kcalloc 1091 drivers/usb/renesas_usbhs/mod_gadget.c uep = kcalloc(pipe_size, sizeof(struct usbhsg_uep), GFP_KERNEL); kcalloc 821 drivers/usb/renesas_usbhs/pipe.c info->pipe = kcalloc(pipe_size, sizeof(struct usbhs_pipe), kcalloc 305 drivers/usb/serial/cypress_m8.c feature_buffer = kcalloc(feature_len, sizeof(u8), GFP_KERNEL); kcalloc 439 drivers/usb/storage/alauda.c MEDIA_INFO(us).pba_to_lba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); kcalloc 440 drivers/usb/storage/alauda.c MEDIA_INFO(us).lba_to_pba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); kcalloc 568 drivers/usb/storage/alauda.c u16 *lba_to_pba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); kcalloc 569 drivers/usb/storage/alauda.c u16 *pba_to_lba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); kcalloc 222 drivers/usb/typec/mux.c val = kcalloc(nval, sizeof(*val), GFP_KERNEL); kcalloc 937 drivers/usb/typec/ucsi/ucsi.c ucsi->connector = kcalloc(ucsi->cap.num_connectors + 1, kcalloc 193 drivers/usb/usbip/stub_tx.c iov = kcalloc(iovnum, sizeof(struct kvec), GFP_KERNEL); kcalloc 1508 drivers/usb/usbip/vhci_hcd.c vhcis = kcalloc(vhci_num_controllers, sizeof(struct vhci), GFP_KERNEL); kcalloc 428 drivers/usb/usbip/vhci_sysfs.c status_attrs = kcalloc(vhci_num_controllers, sizeof(struct status_attr), kcalloc 453 drivers/usb/usbip/vhci_sysfs.c attrs = kcalloc((vhci_num_controllers + 5), sizeof(struct attribute *), kcalloc 85 drivers/usb/usbip/vhci_tx.c iov = kcalloc(iovnum, sizeof(*iov), GFP_KERNEL); kcalloc 522 drivers/usb/usbip/vudc_dev.c udc->ep = kcalloc(VIRTUAL_ENDPOINTS, sizeof(*udc->ep), GFP_KERNEL); kcalloc 100 drivers/usb/usbip/vudc_tx.c iov = kcalloc(iovnum, sizeof(*iov), GFP_KERNEL); kcalloc 984 drivers/vfio/pci/vfio_pci.c devices = kcalloc(fill.max, sizeof(*devices), GFP_KERNEL); kcalloc 1053 drivers/vfio/pci/vfio_pci.c group_fds = kcalloc(hdr.count, sizeof(*group_fds), GFP_KERNEL); kcalloc 1054 drivers/vfio/pci/vfio_pci.c groups = kcalloc(hdr.count, sizeof(*groups), GFP_KERNEL); kcalloc 1588 drivers/vfio/pci/vfio_pci.c devs.devices = kcalloc(i, sizeof(struct vfio_device *), GFP_KERNEL); kcalloc 256 drivers/vfio/pci/vfio_pci_intrs.c vdev->ctx = kcalloc(nvec, sizeof(struct vfio_pci_irq_ctx), GFP_KERNEL); kcalloc 145 drivers/vfio/platform/vfio_platform_common.c vdev->regions = kcalloc(cnt, sizeof(struct vfio_platform_region), kcalloc 289 drivers/vfio/platform/vfio_platform_irq.c vdev->irqs = kcalloc(cnt, sizeof(struct vfio_platform_irq), GFP_KERNEL); kcalloc 1920 drivers/vhost/scsi.c tv_cmd->tvc_sgl = kcalloc(VHOST_SCSI_PREALLOC_SGLS, kcalloc 1928 drivers/vhost/scsi.c tv_cmd->tvc_upages = kcalloc(VHOST_SCSI_PREALLOC_UPAGES, kcalloc 1936 drivers/vhost/scsi.c tv_cmd->tvc_prot_sgl = kcalloc(VHOST_SCSI_PREALLOC_PROT_SGLS, kcalloc 229 drivers/video/backlight/hx8357.c local_txbuf = kcalloc(txlen, sizeof(*local_txbuf), GFP_KERNEL); kcalloc 653 drivers/video/console/sticore.c n = kcalloc(4, size, STI_LOWMEM); kcalloc 2937 drivers/video/fbdev/aty/atyfb_base.c par->mmap_map = kcalloc(j, sizeof(*par->mmap_map), GFP_ATOMIC); kcalloc 1547 drivers/video/fbdev/au1200fb.c fbi->pseudo_palette = kcalloc(16, sizeof(u32), GFP_KERNEL); kcalloc 623 drivers/video/fbdev/core/fbmon.c mode = kcalloc(50, sizeof(struct fb_videomode), GFP_KERNEL); kcalloc 483 drivers/video/fbdev/mmp/fb/mmpfb.c videomodes = kcalloc(videomode_num, sizeof(struct fb_videomode), kcalloc 34 drivers/video/fbdev/omap2/omapfb/dss/manager.c managers = kcalloc(num_managers, sizeof(struct omap_overlay_manager), kcalloc 51 drivers/video/fbdev/omap2/omapfb/dss/overlay.c overlays = kcalloc(num_overlays, sizeof(struct omap_overlay), kcalloc 2147 drivers/video/fbdev/savage/savagefb_driver.c info->pixmap.addr = kcalloc(8, 1024, GFP_KERNEL); kcalloc 219 drivers/video/fbdev/simplefb.c par->clks = kcalloc(par->clk_count, sizeof(struct clk *), GFP_KERNEL); kcalloc 490 drivers/video/fbdev/uvesafb.c par->vbe_modes = kcalloc(par->vbe_modes_cnt, kcalloc 863 drivers/video/fbdev/uvesafb.c mode = kcalloc(i, sizeof(*mode), GFP_KERNEL); kcalloc 186 drivers/video/of_display_timing.c disp->timings = kcalloc(disp->num_timings, kcalloc 229 drivers/virt/fsl_hypervisor.c pages = kcalloc(num_pages, sizeof(struct page *), GFP_KERNEL); kcalloc 265 drivers/virt/vboxguest/vboxguest_utils.c bounce_bufs = kcalloc(parm_count, kcalloc 119 drivers/virtio/virtio_pci_common.c = kcalloc(nvectors, sizeof(*vp_dev->msix_affinity_masks), kcalloc 289 drivers/virtio/virtio_pci_common.c vp_dev->vqs = kcalloc(nvqs, sizeof(*vp_dev->vqs), GFP_KERNEL); kcalloc 360 drivers/virtio/virtio_pci_common.c vp_dev->vqs = kcalloc(nvqs, sizeof(*vp_dev->vqs), GFP_KERNEL); kcalloc 62 drivers/xen/arm-device.c gpfns = kcalloc(nr, sizeof(xen_pfn_t), GFP_KERNEL); kcalloc 63 drivers/xen/arm-device.c idxs = kcalloc(nr, sizeof(xen_ulong_t), GFP_KERNEL); kcalloc 64 drivers/xen/arm-device.c errs = kcalloc(nr, sizeof(int), GFP_KERNEL); kcalloc 1687 drivers/xen/events/events_base.c evtchn_to_irq = kcalloc(EVTCHN_ROW(xen_evtchn_max_channels()), kcalloc 297 drivers/xen/gntalloc.c gref_ids = kcalloc(op.count, sizeof(gref_ids[0]), GFP_KERNEL); kcalloc 581 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->u.imp.refs = kcalloc(count, kcalloc 587 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->pages = kcalloc(count, kcalloc 777 drivers/xen/gntdev-dmabuf.c refs = kcalloc(op.count, sizeof(*refs), GFP_KERNEL); kcalloc 139 drivers/xen/gntdev.c add->grants = kcalloc(count, sizeof(add->grants[0]), GFP_KERNEL); kcalloc 140 drivers/xen/gntdev.c add->map_ops = kcalloc(count, sizeof(add->map_ops[0]), GFP_KERNEL); kcalloc 141 drivers/xen/gntdev.c add->unmap_ops = kcalloc(count, sizeof(add->unmap_ops[0]), GFP_KERNEL); kcalloc 142 drivers/xen/gntdev.c add->kmap_ops = kcalloc(count, sizeof(add->kmap_ops[0]), GFP_KERNEL); kcalloc 143 drivers/xen/gntdev.c add->kunmap_ops = kcalloc(count, sizeof(add->kunmap_ops[0]), GFP_KERNEL); kcalloc 144 drivers/xen/gntdev.c add->pages = kcalloc(count, sizeof(add->pages[0]), GFP_KERNEL); kcalloc 163 drivers/xen/gntdev.c add->frames = kcalloc(count, sizeof(add->frames[0]), kcalloc 747 drivers/xen/grant-table.c pfn = kcalloc(max_nr_gframes, sizeof(pfn[0]), GFP_KERNEL); kcalloc 369 drivers/xen/mcelog.c g_physinfo = kcalloc(ncpus, sizeof(struct mcinfo_logical_cpu), kcalloc 426 drivers/xen/privcmd.c pages = kcalloc(numpgs, sizeof(pages[0]), GFP_KERNEL); kcalloc 649 drivers/xen/privcmd.c kbufs = kcalloc(kdata.num, sizeof(*kbufs), GFP_KERNEL); kcalloc 676 drivers/xen/privcmd.c pages = kcalloc(nr_pages, sizeof(*pages), GFP_KERNEL); kcalloc 682 drivers/xen/privcmd.c xbufs = kcalloc(kdata.num, sizeof(*xbufs), GFP_KERNEL); kcalloc 752 drivers/xen/privcmd.c pfns = kcalloc(kdata.num, sizeof(*pfns), GFP_KERNEL); kcalloc 63 drivers/xen/xen-acpi-processor.c dst_cx_states = kcalloc(_pr->power.count, kcalloc 144 drivers/xen/xen-acpi-processor.c dst_states = kcalloc(_pr->performance->state_count, kcalloc 414 drivers/xen/xen-acpi-processor.c acpi_psd = kcalloc(nr_acpi_bits, sizeof(struct acpi_psd_package), kcalloc 217 drivers/xen/xen-front-pgdir-shbuf.c unmap_ops = kcalloc(buf->num_pages, sizeof(*unmap_ops), kcalloc 262 drivers/xen/xen-front-pgdir-shbuf.c map_ops = kcalloc(buf->num_pages, sizeof(*map_ops), GFP_KERNEL); kcalloc 266 drivers/xen/xen-front-pgdir-shbuf.c buf->backend_map_handles = kcalloc(buf->num_pages, kcalloc 479 drivers/xen/xen-front-pgdir-shbuf.c buf->grefs = kcalloc(buf->num_grefs, sizeof(*buf->grefs), GFP_KERNEL); kcalloc 483 drivers/xen/xen-front-pgdir-shbuf.c buf->directory = kcalloc(get_num_pages_dir(buf), PAGE_SIZE, GFP_KERNEL); kcalloc 226 drivers/xen/xlate_mmu.c pages = kcalloc(nr_pages, sizeof(pages[0]), GFP_KERNEL); kcalloc 230 drivers/xen/xlate_mmu.c pfns = kcalloc(nr_grant_frames, sizeof(pfns[0]), GFP_KERNEL); kcalloc 55 fs/adfs/dir_fplus.c kcalloc(size, sizeof(struct buffer_head *), kcalloc 326 fs/afs/cmservice.c call->request = kcalloc(call->count, kcalloc 693 fs/afs/cmservice.c call->request = kcalloc(call->count, kcalloc 253 fs/afs/dir.c req->pages = kcalloc(nr_pages, sizeof(struct page *), kcalloc 707 fs/afs/dir.c cookie->inodes = kcalloc(cookie->nr_fids, sizeof(struct inode *), kcalloc 1287 fs/afs/dir.c scb = kcalloc(2, sizeof(struct afs_status_cb), GFP_KERNEL); kcalloc 1496 fs/afs/dir.c scb = kcalloc(2, sizeof(struct afs_status_cb), GFP_KERNEL); kcalloc 1609 fs/afs/dir.c scb = kcalloc(2, sizeof(struct afs_status_cb), GFP_KERNEL); kcalloc 1682 fs/afs/dir.c scb = kcalloc(2, sizeof(struct afs_status_cb), GFP_KERNEL); kcalloc 1773 fs/afs/dir.c scb = kcalloc(2, sizeof(struct afs_status_cb), GFP_KERNEL); kcalloc 1864 fs/afs/dir.c scb = kcalloc(2, sizeof(struct afs_status_cb), GFP_KERNEL); kcalloc 154 fs/afs/dir_silly.c scb = kcalloc(2, sizeof(struct afs_status_cb), GFP_KERNEL); kcalloc 492 fs/aio.c ctx->ring_pages = kcalloc(nr_pages, sizeof(struct page *), kcalloc 1612 fs/btrfs/check-integrity.c block_ctx->mem_to_free = kcalloc(num_pages, size, GFP_NOFS); kcalloc 602 fs/btrfs/compression.c cb->compressed_pages = kcalloc(nr_pages, sizeof(struct page *), kcalloc 811 fs/btrfs/compression.c ws->bucket = kcalloc(BUCKET_SIZE, sizeof(*ws->bucket), GFP_KERNEL); kcalloc 815 fs/btrfs/compression.c ws->bucket_b = kcalloc(BUCKET_SIZE, sizeof(*ws->bucket_b), GFP_KERNEL); kcalloc 529 fs/btrfs/ctree.c tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS); kcalloc 626 fs/btrfs/ctree.c tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), kcalloc 762 fs/btrfs/ctree.c tm_list = kcalloc(nr_items * 2, sizeof(struct tree_mod_elem *), kcalloc 830 fs/btrfs/ctree.c tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), GFP_NOFS); kcalloc 318 fs/btrfs/free-space-cache.c io_ctl->pages = kcalloc(num_pages, sizeof(struct page *), GFP_NOFS); kcalloc 547 fs/btrfs/inode.c pages = kcalloc(nr_pages, sizeof(struct page *), GFP_NOFS); kcalloc 1819 fs/btrfs/raid56.c pointers = kcalloc(rbio->real_stripes, sizeof(void *), GFP_NOFS); kcalloc 921 fs/btrfs/scrub.c sblocks_for_recheck = kcalloc(BTRFS_MAX_MIRRORS, kcalloc 5030 fs/btrfs/volumes.c devices_info = kcalloc(fs_devices->rw_devices, sizeof(*devices_info), kcalloc 6359 fs/btrfs/volumes.c buf = kcalloc(map->num_stripes, sizeof(u64), GFP_NOFS); kcalloc 612 fs/ceph/mds_client.c sa = kcalloc(newmax, sizeof(void *), GFP_NOFS); kcalloc 140 fs/ceph/mdsmap.c m->m_info = kcalloc(m->m_num_mds, sizeof(*m->m_info), GFP_NOFS); kcalloc 234 fs/ceph/mdsmap.c info->export_targets = kcalloc(num_export_targets, kcalloc 257 fs/ceph/mdsmap.c m->m_data_pg_pools = kcalloc(n, sizeof(u64), GFP_NOFS); kcalloc 429 fs/ceph/snap.c *dst = kcalloc(num, sizeof(u64), GFP_NOFS); kcalloc 680 fs/ceph/xattr.c xattrs = kcalloc(numattr, sizeof(struct ceph_inode_xattr *), kcalloc 2197 fs/cifs/cifssmb.c kcalloc(nr_pages, sizeof(struct page *), GFP_NOFS); kcalloc 1219 fs/cifs/file.c buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); kcalloc 1561 fs/cifs/file.c buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); kcalloc 3288 fs/cifs/file.c kcalloc(nr_pages, sizeof(struct page *), GFP_KERNEL); kcalloc 721 fs/cifs/misc.c *target_nodes = kcalloc(*num_of_nodes, sizeof(struct dfs_info3_param), kcalloc 142 fs/cifs/smb2file.c buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL); kcalloc 280 fs/cifs/smb2file.c buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL); kcalloc 473 fs/cifs/smb2ops.c *iface_list = kcalloc(nb_iface, sizeof(**iface_list), GFP_KERNEL); kcalloc 3927 fs/cifs/smb2ops.c bvec = kcalloc(npages, sizeof(struct bio_vec), GFP_KERNEL); kcalloc 2362 fs/cifs/smbdirect.c smbdirect_mr->sgl = kcalloc( kcalloc 796 fs/dlm/config.c nodes = kcalloc(count, sizeof(struct dlm_config_node), GFP_NOFS); kcalloc 1427 fs/dlm/lock.c warned = kcalloc(num_nodes, sizeof(int), GFP_KERNEL); kcalloc 218 fs/dlm/member.c array = kcalloc(array_size, sizeof(*array), GFP_NOFS); kcalloc 491 fs/dlm/member.c slots = kcalloc(num, sizeof(*slots), GFP_KERNEL); kcalloc 1099 fs/ext2/super.c sbi->s_debts = kcalloc(sbi->s_groups_count, sizeof(*sbi->s_debts), GFP_KERNEL); kcalloc 589 fs/ext4/extents.c path = kcalloc(depth + 1, sizeof(struct ext4_ext_path), kcalloc 897 fs/ext4/extents.c path = kcalloc(depth + 2, sizeof(struct ext4_ext_path), kcalloc 1084 fs/ext4/extents.c ablocks = kcalloc(depth, sizeof(ext4_fsblk_t), GFP_NOFS); kcalloc 3063 fs/ext4/extents.c path = kcalloc(depth + 1, sizeof(struct ext4_ext_path), kcalloc 85 fs/fscache/cookie.c buf = kcalloc(bufs, sizeof(*buf), GFP_KERNEL); kcalloc 2142 fs/fuse/file.c data.orig_pages = kcalloc(fc->max_pages, kcalloc 1068 fs/fuse/inode.c pq = kcalloc(FUSE_PQ_HASH_SIZE, sizeof(struct list_head), GFP_KERNEL); kcalloc 537 fs/fuse/virtio_fs.c fs->vqs = kcalloc(fs->nvqs, sizeof(fs->vqs[VQ_HIPRIO]), GFP_KERNEL); kcalloc 1044 fs/gfs2/lock_dlm.c submit = kcalloc(new_size, sizeof(uint32_t), GFP_NOFS); kcalloc 1045 fs/gfs2/lock_dlm.c result = kcalloc(new_size, sizeof(uint32_t), GFP_NOFS); kcalloc 1280 fs/gfs2/quota.c qda = kcalloc(max_qd, sizeof(struct gfs2_quota_data *), GFP_KERNEL); kcalloc 777 fs/gfs2/rgrp.c rgd->rd_bits = kcalloc(length, sizeof(struct gfs2_bitmap), GFP_NOFS); kcalloc 2641 fs/gfs2/rgrp.c tmp = kcalloc(new_space, sizeof(struct gfs2_rgrpd *), kcalloc 452 fs/gfs2/xattr.c bh = kcalloc(nptrs, sizeof(struct buffer_head *), GFP_NOFS); kcalloc 3190 fs/io_uring.c ctx->user_files = kcalloc(nr_args, sizeof(struct file *), GFP_KERNEL); kcalloc 3459 fs/io_uring.c ctx->user_bufs = kcalloc(nr_args, sizeof(struct io_mapped_ubuf), kcalloc 79 fs/isofs/compress.c bhs = kcalloc(needblocks + 1, sizeof(*bhs), GFP_KERNEL); kcalloc 334 fs/isofs/compress.c pages = kcalloc(max_t(unsigned int, zisofs_pages_per_cblock, 1), kcalloc 564 fs/jffs2/fs.c c->inocache_list = kcalloc(c->inocache_hashsize, sizeof(struct jffs2_inode_cache *), GFP_KERNEL); kcalloc 424 fs/nfs/blocklayout/dev.c d->children = kcalloc(v->concat.volumes_count, kcalloc 453 fs/nfs/blocklayout/dev.c d->children = kcalloc(v->stripe.volumes_count, kcalloc 520 fs/nfs/blocklayout/dev.c volumes = kcalloc(nr_volumes, sizeof(struct pnfs_block_volume), kcalloc 580 fs/nfs/blocklayout/extent_tree.c kcalloc(DIV_ROUND_UP(buffer_size, PAGE_SIZE), kcalloc 704 fs/nfs/filelayout/filelayout.c fl->fh_array = kcalloc(fl->num_fh, sizeof(fl->fh_array[0]), kcalloc 787 fs/nfs/filelayout/filelayout.c buckets = kcalloc(size, sizeof(struct pnfs_commit_bucket), kcalloc 102 fs/nfs/filelayout/filelayoutdev.c stripe_indices = kcalloc(cnt, sizeof(u8), gfp_flags); kcalloc 409 fs/nfs/flexfilelayout/flexfilelayout.c fls->mirror_array = kcalloc(fls->mirror_array_cnt, kcalloc 466 fs/nfs/flexfilelayout/flexfilelayout.c kcalloc(fh_count, sizeof(struct nfs_fh), kcalloc 769 fs/nfs/flexfilelayout/flexfilelayout.c buckets = kcalloc(size, sizeof(struct pnfs_commit_bucket), kcalloc 102 fs/nfs/flexfilelayout/flexfilelayoutdev.c ds_versions = kcalloc(version_count, kcalloc 778 fs/nfs/pagelist.c pg_array->pagevec = kcalloc(pagecount, sizeof(struct page *), gfp_flags); kcalloc 122 fs/nfs/pnfs_dev.c pages = kcalloc(max_pages, sizeof(struct page *), gfp_flags); kcalloc 129 fs/nfsd/blocklayoutxdr.c iomaps = kcalloc(nr_iomaps, sizeof(*iomaps), GFP_KERNEL); kcalloc 197 fs/nfsd/blocklayoutxdr.c iomaps = kcalloc(nr_iomaps, sizeof(*iomaps), GFP_KERNEL); kcalloc 420 fs/nfsd/export.c fsloc->locations = kcalloc(fsloc->locations_count, kcalloc 578 fs/nfsd/filecache.c nfsd_file_hashtbl = kcalloc(NFSD_FILE_HASH_SIZE, kcalloc 167 fs/nfsd/nfscache.c nn->drc_hashtbl = kcalloc(hashsize, kcalloc 503 fs/nfsd/nfsctl.c nthreads = kcalloc(npools, sizeof(int), GFP_KERNEL); kcalloc 1200 fs/ocfs2/alloc.c new_eb_bhs = kcalloc(new_blocks, sizeof(struct buffer_head *), kcalloc 6951 fs/ocfs2/alloc.c pages = kcalloc(ocfs2_pages_per_cluster(sb), kcalloc 7068 fs/ocfs2/alloc.c pages = kcalloc(ocfs2_pages_per_cluster(osb->sb), kcalloc 1682 fs/ocfs2/cluster/heartbeat.c reg->hr_slots = kcalloc(reg->hr_blocks, kcalloc 1699 fs/ocfs2/cluster/heartbeat.c reg->hr_slot_data = kcalloc(reg->hr_num_pages, sizeof(struct page *), kcalloc 2501 fs/ocfs2/dir.c dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), kcalloc 1386 fs/ocfs2/journal.c rm_quota = kcalloc(osb->max_slots, sizeof(int), GFP_NOFS); kcalloc 1710 fs/ocfs2/namei.c bhs = kcalloc(blocks, sizeof(struct buffer_head *), GFP_KERNEL); kcalloc 368 fs/ocfs2/slot_map.c si->si_bh = kcalloc(si->si_blocks, sizeof(struct buffer_head *), kcalloc 2111 fs/ocfs2/super.c kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations), kcalloc 2120 fs/ocfs2/super.c osb->osb_orphan_wipes = kcalloc(osb->max_slots, kcalloc 353 fs/omfs/inode.c sbi->s_imap = kcalloc(array_size, sizeof(unsigned long *), GFP_KERNEL); kcalloc 228 fs/orangefs/inode.c ow->pages = kcalloc(ow->maxpages, sizeof(struct page *), GFP_KERNEL); kcalloc 233 fs/orangefs/inode.c ow->bv = kcalloc(ow->maxpages, sizeof(struct bio_vec), GFP_KERNEL); kcalloc 238 fs/orangefs/orangefs-bufmap.c kcalloc(bufmap->desc_count, sizeof(struct orangefs_bufmap_desc), kcalloc 247 fs/orangefs/orangefs-bufmap.c kcalloc(bufmap->page_count, sizeof(struct page *), GFP_KERNEL); kcalloc 538 fs/orangefs/orangefs-debugfs.c cdm_array = kcalloc(cdm_element_count, sizeof(*cdm_array), GFP_KERNEL); kcalloc 101 fs/orangefs/orangefs-mod.c kcalloc(hash_table_size, sizeof(struct list_head), GFP_KERNEL); kcalloc 610 fs/overlayfs/namei.c n = kcalloc(fh->len, 2, GFP_KERNEL); kcalloc 894 fs/overlayfs/namei.c stack = kcalloc(ofs->numlower, sizeof(struct ovl_path), kcalloc 1328 fs/overlayfs/super.c ofs->lower_layers = kcalloc(numlower, sizeof(struct ovl_layer), kcalloc 1333 fs/overlayfs/super.c ofs->lower_fs = kcalloc(numlower, sizeof(struct ovl_sb), kcalloc 1444 fs/overlayfs/super.c stack = kcalloc(stacklen, sizeof(struct path), GFP_KERNEL); kcalloc 676 fs/pipe.c pipe->bufs = kcalloc(pipe_bufs, sizeof(struct pipe_buffer), kcalloc 1099 fs/pipe.c bufs = kcalloc(nr_pages, sizeof(*bufs), kcalloc 1453 fs/proc/proc_sysctl.c files = kcalloc(nr_files + 1, sizeof(struct ctl_table), kcalloc 571 fs/pstore/ram.c prz_ar = kcalloc(*cnt, sizeof(**przs), GFP_KERNEL); kcalloc 223 fs/ramfs/file-nommu.c pages = kcalloc(lpages, sizeof(struct page *), GFP_KERNEL); kcalloc 1047 fs/reiserfs/inode.c un = kcalloc(min(blocks_needed, max_to_insert), kcalloc 690 fs/splice.c struct bio_vec *array = kcalloc(nbufs, sizeof(struct bio_vec), kcalloc 712 fs/splice.c array = kcalloc(nbufs, sizeof(struct bio_vec), kcalloc 87 fs/squashfs/block.c bh = kcalloc(((output->length + msblk->devblksize - 1) kcalloc 234 fs/squashfs/cache.c cache->entry = kcalloc(entries, sizeof(*(cache->entry)), GFP_KERNEL); kcalloc 258 fs/squashfs/cache.c entry->data = kcalloc(cache->pages, sizeof(void *), GFP_KERNEL); kcalloc 417 fs/squashfs/cache.c data = kcalloc(pages, sizeof(void *), GFP_KERNEL); kcalloc 104 fs/squashfs/file.c msblk->meta_index = kcalloc(SQUASHFS_META_SLOTS, kcalloc 807 fs/ubifs/super.c c->jheads = kcalloc(c->jhead_cnt, sizeof(struct ubifs_jhead), kcalloc 256 fs/udf/super.c sbi->s_partmaps = kcalloc(count, sizeof(*sbi->s_partmaps), GFP_KERNEL); kcalloc 1615 fs/udf/super.c new_loc = kcalloc(new_size, sizeof(*new_loc), GFP_KERNEL); kcalloc 1675 fs/udf/super.c data.part_descs_loc = kcalloc(data.size_part_descs, kcalloc 210 include/net/pkt_cls.h exts->actions = kcalloc(TCA_ACT_MAX_PRIO, sizeof(struct tc_action *), kcalloc 113 kernel/auditfilter.c fields = kcalloc(field_count, sizeof(*fields), GFP_KERNEL); kcalloc 167 kernel/auditfilter.c __u32 *p = kcalloc(AUDIT_BITMASK_SIZE, sizeof(__u32), GFP_KERNEL); kcalloc 136 kernel/bpf/core.c prog->aux->jited_linfo = kcalloc(prog->aux->nr_linfo, kcalloc 1858 kernel/bpf/core.c ids = kcalloc(cnt, sizeof(u32), GFP_USER | __GFP_NOWARN); kcalloc 7117 kernel/bpf/verifier.c idmap = kcalloc(ID_MAP_SIZE, sizeof(struct idpair), GFP_KERNEL); kcalloc 8784 kernel/bpf/verifier.c func = kcalloc(env->subprog_cnt, sizeof(prog), GFP_KERNEL); kcalloc 444 kernel/cgroup/rdma.c new_limits = kcalloc(RDMACG_RESOURCE_MAX, sizeof(int), GFP_KERNEL); kcalloc 694 kernel/debug/kdb/kdb_main.c s->command = kcalloc(s->count + 1, sizeof(*(s->command)), GFP_KDB); kcalloc 10579 kernel/events/core.c event->addr_filter_ranges = kcalloc(pmu->nr_addr_filters, kcalloc 673 kernel/events/hw_breakpoint.c info->tsk_pinned = kcalloc(nr_slots[i], sizeof(int), kcalloc 1498 kernel/events/uprobes.c area->bitmap = kcalloc(BITS_TO_LONGS(UINSNS_PER_PAGE), sizeof(long), kcalloc 375 kernel/gcov/fs.c node->links = kcalloc(num, sizeof(struct dentry *), GFP_KERNEL); kcalloc 438 kernel/gcov/fs.c node->loaded_info = kcalloc(1, sizeof(struct gcov_info *), kcalloc 624 kernel/gcov/fs.c loaded_info = kcalloc(num + 1, sizeof(struct gcov_info *), GFP_KERNEL); kcalloc 290 kernel/gcov/gcc_4_7.c dup->functions = kcalloc(info->n_functions, kcalloc 48 kernel/irq/affinity.c masks = kcalloc(nr_node_ids, sizeof(cpumask_var_t), GFP_KERNEL); kcalloc 280 kernel/irq/affinity.c node_vectors = kcalloc(nr_node_ids, kcalloc 449 kernel/irq/affinity.c masks = kcalloc(nvecs, sizeof(*masks), GFP_KERNEL); kcalloc 984 kernel/locking/locktorture.c writer_tasks = kcalloc(cxt.nrealwriters_stress, kcalloc 995 kernel/locking/locktorture.c reader_tasks = kcalloc(cxt.nrealreaders_stress, kcalloc 98 kernel/power/energy_model.c table = kcalloc(nr_states, sizeof(*table), GFP_KERNEL); kcalloc 652 kernel/rcu/rcuperf.c reader_tasks = kcalloc(nrealreaders, sizeof(reader_tasks[0]), kcalloc 667 kernel/rcu/rcuperf.c writer_tasks = kcalloc(nrealwriters, sizeof(reader_tasks[0]), kcalloc 669 kernel/rcu/rcuperf.c writer_durations = kcalloc(nrealwriters, sizeof(*writer_durations), kcalloc 672 kernel/rcu/rcuperf.c kcalloc(nrealwriters, sizeof(*writer_n_durations), kcalloc 681 kernel/rcu/rcuperf.c kcalloc(MAX_MEAS, sizeof(*writer_durations[i]), kcalloc 2099 kernel/rcu/rcutorture.c kcalloc(n_barrier_cbs, sizeof(barrier_cbs_tasks[0]), kcalloc 2102 kernel/rcu/rcutorture.c kcalloc(n_barrier_cbs, sizeof(barrier_cbs_wq[0]), GFP_KERNEL); kcalloc 2412 kernel/rcu/rcutorture.c fakewriter_tasks = kcalloc(nfakewriters, kcalloc 2427 kernel/rcu/rcutorture.c reader_tasks = kcalloc(nrealreaders, sizeof(reader_tasks[0]), kcalloc 247 kernel/sched/cpudeadline.c cp->elements = kcalloc(nr_cpu_ids, kcalloc 211 kernel/sched/cpupri.c cp->cpu_to_pri = kcalloc(nr_cpu_ids, sizeof(int), GFP_KERNEL); kcalloc 210 kernel/sched/debug.c kcalloc(n, sizeof(struct ctl_table), GFP_KERNEL); kcalloc 317 kernel/sched/debug.c cpu_idx = kcalloc(nr_cpu_ids, sizeof(struct ctl_table*), GFP_KERNEL); kcalloc 10284 kernel/sched/fair.c tg->cfs_rq = kcalloc(nr_cpu_ids, sizeof(cfs_rq), GFP_KERNEL); kcalloc 10287 kernel/sched/fair.c tg->se = kcalloc(nr_cpu_ids, sizeof(se), GFP_KERNEL); kcalloc 189 kernel/sched/rt.c tg->rt_rq = kcalloc(nr_cpu_ids, sizeof(rt_rq), GFP_KERNEL); kcalloc 192 kernel/sched/rt.c tg->rt_se = kcalloc(nr_cpu_ids, sizeof(rt_se), GFP_KERNEL); kcalloc 1283 kernel/trace/bpf_trace.c ids = kcalloc(ids_len, sizeof(u32), GFP_USER | __GFP_NOWARN); kcalloc 663 kernel/trace/ftrace.c stat->hash = kcalloc(size, sizeof(struct hlist_head), GFP_KERNEL); kcalloc 1286 kernel/trace/ftrace.c hash->buckets = kcalloc(size, sizeof(*hash->buckets), GFP_KERNEL); kcalloc 4084 kernel/trace/trace.c iter->buffer_iter = kcalloc(nr_cpu_ids, sizeof(*iter->buffer_iter), kcalloc 8103 kernel/trace/trace.c topts = kcalloc(cnt + 1, sizeof(*topts), GFP_KERNEL); kcalloc 431 kernel/trace/trace_events_filter.c prog_stack = kcalloc(nr_preds, sizeof(*prog_stack), GFP_KERNEL); kcalloc 1286 kernel/trace/trace_events_hist.c event->fields = kcalloc(n_fields, sizeof(*event->fields), GFP_KERNEL); kcalloc 621 kernel/trace/trace_probe.c code = tmp = kcalloc(FETCH_INSN_MAX, sizeof(*code), GFP_KERNEL); kcalloc 713 kernel/trace/trace_probe.c parg->code = kcalloc(code - tmp + 1, sizeof(*code), GFP_KERNEL); kcalloc 540 kernel/trace/trace_syscalls.c syscalls_metadata = kcalloc(NR_syscalls, sizeof(*syscalls_metadata), kcalloc 337 kernel/trace/tracing_map.c a->pages = kcalloc(a->n_pages, sizeof(void *), GFP_KERNEL); kcalloc 417 kernel/trace/tracing_map.c elt->fields = kcalloc(map->n_fields, sizeof(*elt->fields), GFP_KERNEL); kcalloc 423 kernel/trace/tracing_map.c elt->vars = kcalloc(map->n_vars, sizeof(*elt->vars), GFP_KERNEL); kcalloc 429 kernel/trace/tracing_map.c elt->var_set = kcalloc(map->n_vars, sizeof(*elt->var_set), GFP_KERNEL); kcalloc 5860 kernel/workqueue.c tbl = kcalloc(nr_node_ids, sizeof(tbl[0]), GFP_KERNEL); kcalloc 107 lib/lru_cache.c slot = kcalloc(e_count, sizeof(struct hlist_head), GFP_KERNEL); kcalloc 110 lib/lru_cache.c element = kcalloc(e_count, sizeof(struct lc_element *), GFP_KERNEL); kcalloc 101 lib/mpi/mpiutil.c a->d = kcalloc(nlimbs, sizeof(mpi_limb_t), GFP_KERNEL); kcalloc 791 lib/objagg.c graph->nodes = kcalloc(nodes_count, sizeof(*graph->nodes), GFP_KERNEL); kcalloc 157 lib/sg_split.c splitters = kcalloc(nb_splits, sizeof(*splitters), gfp_mask); kcalloc 79 lib/test_list_sort.c elts = kcalloc(TEST_LIST_LEN, sizeof(*elts), GFP_KERNEL); kcalloc 27 lib/test_memcat_p.c in0 = kcalloc(INPUT_MAX, sizeof(*in0), GFP_KERNEL); kcalloc 31 lib/test_memcat_p.c in1 = kcalloc(INPUT_MAX, sizeof(*in1), GFP_KERNEL); kcalloc 1568 mm/gup.c vmas_tmp = kcalloc(nr_pages, kcalloc 2982 mm/ksm.c buf = kcalloc(nr_node_ids + nr_node_ids, sizeof(*buf), kcalloc 614 mm/list_lru.c lru->node = kcalloc(nr_node_ids, sizeof(*lru->node), GFP_KERNEL); kcalloc 1368 mm/slab_common.c cachep->random_seq = kcalloc(count, sizeof(unsigned int), gfp); kcalloc 4814 mm/slub.c nodes = kcalloc(nr_node_ids, sizeof(unsigned long), GFP_KERNEL); kcalloc 3266 mm/vmalloc.c vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); kcalloc 3267 mm/vmalloc.c vas = kcalloc(nr_vms, sizeof(vas[0]), GFP_KERNEL); kcalloc 416 net/9p/trans_xen.c priv->rings = kcalloc(priv->num_rings, sizeof(*priv->rings), kcalloc 169 net/bridge/br_ioctl.c indices = kcalloc(num, sizeof(int), GFP_KERNEL); kcalloc 318 net/bridge/br_ioctl.c indices = kcalloc(args[2], sizeof(int), GFP_KERNEL); kcalloc 1090 net/can/bcm.c op->last_frames = kcalloc(msg_head->nframes, kcalloc 378 net/ceph/ceph_common.c opt->mon_addr = kcalloc(CEPH_MAX_MON, sizeof(*opt->mon_addr), kcalloc 297 net/ceph/cls_lock_client.c *lockers = kcalloc(*num_lockers, sizeof(**lockers), GFP_NOIO); kcalloc 4968 net/ceph/osd_client.c *watchers = kcalloc(*num_watchers, sizeof(**watchers), GFP_NOIO); kcalloc 71 net/ceph/osdmap.c b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); kcalloc 74 net/ceph/osdmap.c b->sum_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); kcalloc 93 net/ceph/osdmap.c b->node_weights = kcalloc(b->num_nodes, sizeof(u32), GFP_NOFS); kcalloc 109 net/ceph/osdmap.c b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); kcalloc 112 net/ceph/osdmap.c b->straws = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); kcalloc 130 net/ceph/osdmap.c b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); kcalloc 278 net/ceph/osdmap.c arg_map->args = kcalloc(arg_map->size, sizeof(*arg_map->args), kcalloc 376 net/ceph/osdmap.c c->buckets = kcalloc(c->max_buckets, sizeof(*c->buckets), GFP_NOFS); kcalloc 379 net/ceph/osdmap.c c->rules = kcalloc(c->max_rules, sizeof(*c->rules), GFP_NOFS); kcalloc 432 net/ceph/osdmap.c b->items = kcalloc(b->size, sizeof(__s32), GFP_NOFS); kcalloc 837 net/core/ethtool.c info_buf = kcalloc(n_bits, sizeof(u32), GFP_USER); kcalloc 946 net/core/ethtool.c rule_buf = kcalloc(info.rule_cnt, sizeof(u32), kcalloc 1015 net/core/ethtool.c indir = kcalloc(dev_size, sizeof(indir[0]), GFP_USER); kcalloc 1063 net/core/ethtool.c indir = kcalloc(dev_size, sizeof(indir[0]), GFP_USER); kcalloc 1107 net/core/ethtool.c indir = kcalloc(dev_size, sizeof(indir[0]), GFP_USER); kcalloc 554 net/core/filter.c addrs = kcalloc(len, sizeof(*addrs), kcalloc 188 net/core/rtnetlink.c tab = kcalloc(RTM_NR_MSGTYPES, sizeof(void *), GFP_KERNEL); kcalloc 166 net/decnet/dn_table.c ht = kcalloc(new_divisor, sizeof(struct dn_fib_node*), GFP_KERNEL); kcalloc 202 net/decnet/dn_table.c dz->dz_hash = kcalloc(dz->dz_divisor, sizeof(struct dn_fib_node *), GFP_KERNEL); kcalloc 33 net/ieee802154/nl-phy.c uint32_t *buf = kcalloc(32, sizeof(uint32_t), GFP_KERNEL); kcalloc 171 net/ipv4/cipso_ipv4.c cipso_v4_cache = kcalloc(CIPSO_V4_CACHE_BUCKETS, kcalloc 596 net/ipv4/fib_frontend.c mx = kcalloc(3, nla_total_size(4), GFP_KERNEL); kcalloc 343 net/ipv4/route.c dst = kcalloc(256, sizeof(struct ip_rt_acct), GFP_KERNEL); kcalloc 661 net/ipv4/route.c hash = kcalloc(FNHE_HASH_SIZE, sizeof(*hash), GFP_ATOMIC); kcalloc 3463 net/ipv4/route.c ip_tstamps = kcalloc(IP_IDENTS_SZ, sizeof(*ip_tstamps), GFP_KERNEL); kcalloc 380 net/ipv4/tcp_cdg.c ca->gradients = kcalloc(window, sizeof(ca->gradients[0]), kcalloc 133 net/ipv6/calipso.c calipso_cache = kcalloc(CALIPSO_CACHE_BUCKETS, kcalloc 1674 net/ipv6/route.c bucket = kcalloc(FIB6_EXCEPTION_BUCKET_SIZE, sizeof(*bucket), kcalloc 312 net/ipv6/sit.c kcalloc(cmax, sizeof(*kp), GFP_KERNEL | __GFP_NOWARN) : kcalloc 325 net/ipv6/sit.c kp = kcalloc(ca, sizeof(*kp), GFP_ATOMIC); kcalloc 402 net/mac80211/agg-rx.c kcalloc(buf_size, sizeof(struct sk_buff_head), GFP_KERNEL); kcalloc 404 net/mac80211/agg-rx.c kcalloc(buf_size, sizeof(unsigned long), GFP_KERNEL); kcalloc 1190 net/mac80211/chan.c vif_chsw = kcalloc(n_vifs, sizeof(vif_chsw[0]), GFP_KERNEL); kcalloc 472 net/mac80211/mesh_plink.c aid_map = kcalloc(BITS_TO_LONGS(IEEE80211_MAX_AID + 1), kcalloc 1575 net/mac80211/rc80211_minstrel_ht.c msp->ratelist = kcalloc(max_rates, sizeof(struct minstrel_rate), gfp); kcalloc 1262 net/mac80211/scan.c ie = kcalloc(iebufsz, num_bands, GFP_KERNEL); kcalloc 379 net/mac80211/sta_info.c txq_data = kcalloc(ARRAY_SIZE(sta->sta.txq), size, gfp); kcalloc 1563 net/mac80211/tx.c local->cvars = kcalloc(fq->flows_cnt, sizeof(local->cvars[0]), kcalloc 2103 net/mac80211/util.c funcs = kcalloc(sdata->local->hw.max_nan_de_entries + 1, kcalloc 800 net/ncsi/ncsi-rsp.c nc->vlan_filter.vids = kcalloc(rsp->vlan_cnt, kcalloc 177 net/netfilter/ipvs/ip_vs_mh.c table = kcalloc(BITS_TO_LONGS(IP_VS_MH_TAB_SIZE), kcalloc 298 net/netfilter/ipvs/ip_vs_mh.c s->dest_setup = kcalloc(svc->num_dests, kcalloc 392 net/netfilter/ipvs/ip_vs_mh.c s->lookup = kcalloc(IP_VS_MH_TAB_SIZE, sizeof(struct ip_vs_mh_lookup), kcalloc 1841 net/netfilter/ipvs/ip_vs_sync.c ipvs->ms = kcalloc(count, sizeof(ipvs->ms[0]), GFP_KERNEL); kcalloc 1855 net/netfilter/ipvs/ip_vs_sync.c ti = kcalloc(count, sizeof(struct ip_vs_sync_thread_data), kcalloc 5748 net/netfilter/nf_tables_api.c ops = kcalloc(n, sizeof(struct nf_hook_ops), GFP_KERNEL); kcalloc 191 net/netfilter/nfnetlink_cthelper.c expect_policy = kcalloc(class_max, kcalloc 53 net/netfilter/nfnetlink_cttimeout.c tb = kcalloc(l4proto->ctnl_timeout.nlattr_max + 1, sizeof(*tb), kcalloc 800 net/netfilter/nft_ct.c tb = kcalloc(l4proto->ctnl_timeout.nlattr_max + 1, sizeof(*tb), kcalloc 1706 net/netfilter/x_tables.c ops = kcalloc(num_hooks, sizeof(*ops), GFP_KERNEL); kcalloc 1897 net/netfilter/x_tables.c xt = kcalloc(NFPROTO_NUMPROTO, sizeof(struct xt_af), GFP_KERNEL); kcalloc 188 net/netlabel/netlabel_cipso_v4.c doi_def->map.std->lvl.local = kcalloc(doi_def->map.std->lvl.local_size, kcalloc 195 net/netlabel/netlabel_cipso_v4.c doi_def->map.std->lvl.cipso = kcalloc(doi_def->map.std->lvl.cipso_size, kcalloc 263 net/netlabel/netlabel_cipso_v4.c doi_def->map.std->cat.local = kcalloc( kcalloc 271 net/netlabel/netlabel_cipso_v4.c doi_def->map.std->cat.cipso = kcalloc( kcalloc 372 net/netlabel/netlabel_domainhash.c hsh_tbl->tbl = kcalloc(hsh_tbl->size, kcalloc 1421 net/netlabel/netlabel_unlabeled.c hsh_tbl->tbl = kcalloc(hsh_tbl->size, kcalloc 2761 net/netlink/af_netlink.c nl_table = kcalloc(MAX_LINKS, sizeof(*nl_table), GFP_KERNEL); kcalloc 1370 net/netrom/af_netrom.c dev_nr = kcalloc(nr_ndevs, sizeof(struct net_device *), GFP_KERNEL); kcalloc 37 net/openvswitch/vport.c dev_table = kcalloc(VPORT_HASH_BUCKETS, sizeof(struct hlist_head), kcalloc 4266 net/packet/af_packet.c pg_vec = kcalloc(block_nr, sizeof(struct pgv), GFP_KERNEL | __GFP_NOWARN); kcalloc 198 net/rds/connection.c conn->c_path = kcalloc(npaths, sizeof(struct rds_conn_path), gfp); kcalloc 170 net/rds/ib.c rds_ibdev->vector_load = kcalloc(device->num_comp_vectors, kcalloc 216 net/rds/rdma.c pages = kcalloc(nr_pages, sizeof(struct page *), GFP_KERNEL); kcalloc 255 net/rds/rdma.c sg = kcalloc(nents, sizeof(*sg), GFP_KERNEL); kcalloc 535 net/rds/rdma.c iov->iov = kcalloc(args->nr_local, kcalloc 614 net/rds/rdma.c pages = kcalloc(nr_pages, sizeof(struct page *), GFP_KERNEL); kcalloc 1489 net/rose/af_rose.c dev_rose = kcalloc(rose_ndevs, sizeof(struct net_device *), kcalloc 108 net/rxrpc/call_object.c call->rxtx_buffer = kcalloc(RXRPC_RXTX_BUFF_SIZE, kcalloc 114 net/rxrpc/call_object.c call->rxtx_annotations = kcalloc(RXRPC_RXTX_BUFF_SIZE, sizeof(u8), gfp); kcalloc 239 net/rxrpc/key.c princ->name_parts = kcalloc(n_parts, sizeof(char *), GFP_KERNEL); kcalloc 364 net/rxrpc/key.c td = kcalloc(n_elem, sizeof(struct krb5_tagged_data), kcalloc 49 net/sched/act_pedit.c keys_ex = kcalloc(n, sizeof(*k), GFP_KERNEL); kcalloc 1553 net/sched/cls_flower.c tb = kcalloc(TCA_FLOWER_MAX + 1, sizeof(struct nlattr *), GFP_KERNEL); kcalloc 1921 net/sched/cls_flower.c tb = kcalloc(TCA_FLOWER_MAX + 1, sizeof(struct nlattr *), GFP_KERNEL); kcalloc 306 net/sched/cls_tcindex.c cp->perfect = kcalloc(cp->hash, sizeof(struct tcindex_filter_result), kcalloc 439 net/sched/cls_tcindex.c hash = kcalloc(cp->hash, kcalloc 83 net/sched/sch_mq.c priv->qdiscs = kcalloc(dev->num_tx_queues, sizeof(priv->qdiscs[0]), kcalloc 221 net/sched/sch_mqprio.c priv->qdiscs = kcalloc(dev->num_tx_queues, sizeof(priv->qdiscs[0]), kcalloc 253 net/sched/sch_multiq.c q->queues = kcalloc(q->max_bands, sizeof(struct Qdisc *), GFP_KERNEL); kcalloc 1641 net/sched/sch_taprio.c q->qdiscs = kcalloc(dev->num_tx_queues, kcalloc 464 net/sctp/auth.c ep->auth_hmacs = kcalloc(SCTP_AUTH_NUM_HMACS, kcalloc 313 net/sctp/stream.c nstr_list = kcalloc(str_nums, sizeof(__be16), GFP_KERNEL); kcalloc 274 net/smc/smc_ism.c smcd->conn = kcalloc(max_dmbs, sizeof(struct smc_connection *), kcalloc 561 net/smc/smc_wr.c link->wr_tx_bufs = kcalloc(SMC_WR_BUF_CNT, SMC_WR_BUF_SIZE, GFP_KERNEL); kcalloc 564 net/smc/smc_wr.c link->wr_rx_bufs = kcalloc(SMC_WR_BUF_CNT * 3, SMC_WR_BUF_SIZE, kcalloc 568 net/smc/smc_wr.c link->wr_tx_ibs = kcalloc(SMC_WR_BUF_CNT, sizeof(link->wr_tx_ibs[0]), kcalloc 572 net/smc/smc_wr.c link->wr_rx_ibs = kcalloc(SMC_WR_BUF_CNT * 3, kcalloc 577 net/smc/smc_wr.c link->wr_tx_rdmas = kcalloc(SMC_WR_BUF_CNT, kcalloc 582 net/smc/smc_wr.c link->wr_tx_rdma_sges = kcalloc(SMC_WR_BUF_CNT, kcalloc 587 net/smc/smc_wr.c link->wr_tx_sges = kcalloc(SMC_WR_BUF_CNT, sizeof(link->wr_tx_sges[0]), kcalloc 591 net/smc/smc_wr.c link->wr_rx_sges = kcalloc(SMC_WR_BUF_CNT * 3, kcalloc 596 net/smc/smc_wr.c link->wr_tx_mask = kcalloc(BITS_TO_LONGS(SMC_WR_BUF_CNT), kcalloc 601 net/smc/smc_wr.c link->wr_tx_pends = kcalloc(SMC_WR_BUF_CNT, kcalloc 350 net/sunrpc/auth.c new->hashtable = kcalloc(hashsize, sizeof(new->hashtable[0]), GFP_KERNEL); kcalloc 214 net/sunrpc/auth_gss/gss_rpc_upcall.c arg->pages = kcalloc(arg->npages, sizeof(struct page *), GFP_KERNEL); kcalloc 1110 net/sunrpc/auth_gss/svcauth_gss.c in_token->pages = kcalloc(pages, sizeof(struct page *), GFP_KERNEL); kcalloc 1726 net/sunrpc/cache.c cd->hash_table = kcalloc(cd->hash_size, sizeof(struct hlist_head), kcalloc 125 net/sunrpc/stats.c stats = kcalloc(clnt->cl_maxproc, sizeof(*stats), GFP_KERNEL); kcalloc 145 net/sunrpc/svc.c m->to_pool = kcalloc(maxpools, sizeof(unsigned int), GFP_KERNEL); kcalloc 148 net/sunrpc/svc.c m->pool_to = kcalloc(maxpools, sizeof(unsigned int), GFP_KERNEL); kcalloc 466 net/sunrpc/svc.c kcalloc(serv->sv_nrpools, sizeof(struct svc_pool), kcalloc 176 net/sunrpc/xprtrdma/frwr_ops.c sg = kcalloc(depth, sizeof(*sg), GFP_NOFS); kcalloc 841 net/sunrpc/xprtrdma/verbs.c buf->rb_sc_ctxs = kcalloc(i, sizeof(sc), GFP_KERNEL); kcalloc 809 net/wireless/nl80211.c attrbuf = kcalloc(NUM_NL80211_ATTR, sizeof(*attrbuf), kcalloc 2466 net/wireless/nl80211.c struct nlattr **tb = kcalloc(NUM_NL80211_ATTR, sizeof(*tb), GFP_KERNEL); kcalloc 8876 net/wireless/nl80211.c attrbuf = kcalloc(NUM_NL80211_ATTR, sizeof(*attrbuf), GFP_KERNEL); kcalloc 9805 net/wireless/nl80211.c attrbuf = kcalloc(NUM_NL80211_ATTR, sizeof(*attrbuf), kcalloc 11529 net/wireless/nl80211.c tb = kcalloc(NUM_NL80211_ATTR, sizeof(*tb), GFP_KERNEL); kcalloc 11645 net/wireless/nl80211.c new_triggers.patterns = kcalloc(n_patterns, kcalloc 11899 net/wireless/nl80211.c new_rule->patterns = kcalloc(n_patterns, sizeof(new_rule->patterns[0]), kcalloc 11981 net/wireless/nl80211.c new_coalesce.rules = kcalloc(n_rules, sizeof(new_coalesce.rules[0]), kcalloc 12309 net/wireless/nl80211.c filter = kcalloc(n_entries, sizeof(*func->rx_filters), GFP_KERNEL); kcalloc 12497 net/wireless/nl80211.c kcalloc(n_entries, sizeof(*func->srf_macs), kcalloc 13014 net/wireless/nl80211.c attrbuf = kcalloc(NUM_NL80211_ATTR, sizeof(*attrbuf), GFP_KERNEL); kcalloc 101 net/wireless/of.c freq_limits = kcalloc(n_freq_limits, sizeof(*freq_limits), GFP_KERNEL); kcalloc 1960 net/wireless/util.c sinfo->pertid = kcalloc(IEEE80211_NUM_TIDS + 1, kcalloc 288 net/xdp/xdp_umem.c umem->pgs = kcalloc(umem->npgs, sizeof(*umem->pgs), kcalloc 415 net/xdp/xdp_umem.c umem->pages = kcalloc(umem->npgs, sizeof(*umem->pages), GFP_KERNEL); kcalloc 540 samples/vfio-mdev/mbochs.c mdev_state->pages = kcalloc(mdev_state->pagecount, kcalloc 932 samples/vfio-mdev/mbochs.c dmabuf->pages = kcalloc(dmabuf->pagecount, sizeof(struct page *), kcalloc 486 security/apparmor/policy_unpack.c profile->file.trans.table = kcalloc(size, sizeof(char *), kcalloc 552 security/apparmor/policy_unpack.c profile->xattrs = kcalloc(size, sizeof(char *), GFP_KERNEL); kcalloc 580 security/apparmor/policy_unpack.c profile->secmark = kcalloc(size, sizeof(struct aa_secmark), kcalloc 618 security/integrity/ima/ima_policy.c arch_policy_entry = kcalloc(arch_entries + 1, kcalloc 225 security/integrity/ima/ima_queue.c digests = kcalloc(ima_tpm_chip->nr_allocated_banks, sizeof(*digests), kcalloc 1223 security/keys/trusted.c digests = kcalloc(chip->nr_allocated_banks, sizeof(*digests), kcalloc 287 security/security.c ordered_lsms = kcalloc(LSM_COUNT + 1, sizeof(*ordered_lsms), kcalloc 715 security/selinux/ss/policydb.c p->class_val_to_struct = kcalloc(p->p_classes.nprim, kcalloc 721 security/selinux/ss/policydb.c p->role_val_to_struct = kcalloc(p->p_roles.nprim, kcalloc 727 security/selinux/ss/policydb.c p->user_val_to_struct = kcalloc(p->p_users.nprim, kcalloc 117 security/selinux/ss/services.c out_map->mapping = kcalloc(++i, sizeof(*out_map->mapping), GFP_ATOMIC); kcalloc 2097 security/selinux/ss/services.c oldpolicydb = kcalloc(2, sizeof(*oldpolicydb), GFP_KERNEL); kcalloc 2590 security/selinux/ss/services.c mysids = kcalloc(maxnel, sizeof(*mysids), GFP_ATOMIC); kcalloc 2612 security/selinux/ss/services.c mysids2 = kcalloc(maxnel, sizeof(*mysids2), GFP_ATOMIC); kcalloc 2631 security/selinux/ss/services.c mysids2 = kcalloc(mynel, sizeof(*mysids2), GFP_KERNEL); kcalloc 2821 security/selinux/ss/services.c *names = kcalloc(*len, sizeof(char *), GFP_ATOMIC); kcalloc 2826 security/selinux/ss/services.c *values = kcalloc(*len, sizeof(int), GFP_ATOMIC); kcalloc 3154 security/selinux/ss/services.c *classes = kcalloc(*nclasses, sizeof(**classes), GFP_ATOMIC); kcalloc 3204 security/selinux/ss/services.c *perms = kcalloc(*nperms, sizeof(**perms), GFP_ATOMIC); kcalloc 1340 sound/core/oss/mixer_oss.c mixer = kcalloc(2, sizeof(*mixer), GFP_KERNEL); kcalloc 177 sound/core/oss/pcm_plugin.c plugin->buf_channels = kcalloc(channels, sizeof(*plugin->buf_channels), GFP_KERNEL); kcalloc 336 sound/core/pcm_native.c rstamps = kcalloc(constrs->rules_num, sizeof(unsigned int), GFP_KERNEL); kcalloc 41 sound/core/seq/oss/seq_oss_readq.c q->q = kcalloc(maxlen, sizeof(union evrec), GFP_KERNEL); kcalloc 237 sound/core/seq/oss/seq_oss_synth.c info->ch = kcalloc(info->nr_voices, sizeof(struct seq_oss_chinfo), GFP_KERNEL); kcalloc 319 sound/core/seq/seq_midi.c msynth = kcalloc(ports, sizeof(struct seq_midisynth), GFP_KERNEL); kcalloc 81 sound/core/sgbuf.c table = kcalloc(sgbuf->tblsize, sizeof(*table), GFP_KERNEL); kcalloc 85 sound/core/sgbuf.c pgtable = kcalloc(sgbuf->tblsize, sizeof(*pgtable), GFP_KERNEL); kcalloc 1434 sound/core/timer.c tqueue = kcalloc(size, sizeof(*tqueue), GFP_KERNEL); kcalloc 1438 sound/core/timer.c queue = kcalloc(size, sizeof(*queue), GFP_KERNEL); kcalloc 1172 sound/drivers/vx/vx_pcm.c chip->playback_pipes = kcalloc(chip->audio_outs, sizeof(struct vx_pipe *), GFP_KERNEL); kcalloc 1175 sound/drivers/vx/vx_pcm.c chip->capture_pipes = kcalloc(chip->audio_ins, sizeof(struct vx_pipe *), GFP_KERNEL); kcalloc 984 sound/firewire/amdtp-stream.c s->pkt_descs = kcalloc(INTERRUPT_INTERVAL, sizeof(*s->pkt_descs), kcalloc 100 sound/firewire/fireface/ff-protocol-former.c reg = kcalloc(count, sizeof(__le32), GFP_KERNEL); kcalloc 375 sound/hda/hdac_sysfs.c tree->nodes = kcalloc(codec->num_nodes + 1, sizeof(*tree->nodes), kcalloc 437 sound/hda/hdac_sysfs.c tree->nodes = kcalloc(num_nodes + 1, sizeof(*tree->nodes), GFP_KERNEL); kcalloc 445 sound/pci/ac97/ac97_pcm.c rpcms = kcalloc(pcms_count, sizeof(struct ac97_pcm), GFP_KERNEL); kcalloc 648 sound/pci/asihpi/hpicmn.c kcalloc(control_count, sizeof(*p_cache->p_info), GFP_KERNEL); kcalloc 417 sound/pci/cs46xx/cs46xx_lib.c kcalloc(nums, sizeof(struct dsp_symbol_entry), GFP_KERNEL); kcalloc 437 sound/pci/cs46xx/cs46xx_lib.c kcalloc(nums, sizeof(struct dsp_segment_desc), GFP_KERNEL); kcalloc 275 sound/pci/ctxfi/ctatc.c apcm->amixers = kcalloc(n_amixer, sizeof(void *), GFP_KERNEL); kcalloc 543 sound/pci/ctxfi/ctatc.c apcm->srccs = kcalloc(n_srcc, sizeof(void *), GFP_KERNEL); kcalloc 548 sound/pci/ctxfi/ctatc.c apcm->amixers = kcalloc(n_amixer, sizeof(void *), GFP_KERNEL); kcalloc 554 sound/pci/ctxfi/ctatc.c apcm->srcimps = kcalloc(n_srcimp, sizeof(void *), GFP_KERNEL); kcalloc 819 sound/pci/ctxfi/ctatc.c apcm->amixers = kcalloc(n_amixer, sizeof(void *), GFP_KERNEL); kcalloc 1378 sound/pci/ctxfi/ctatc.c atc->daios = kcalloc(num_daios, sizeof(void *), GFP_KERNEL); kcalloc 1382 sound/pci/ctxfi/ctatc.c atc->srcs = kcalloc(num_srcs, sizeof(void *), GFP_KERNEL); kcalloc 1386 sound/pci/ctxfi/ctatc.c atc->srcimps = kcalloc(num_srcs, sizeof(void *), GFP_KERNEL); kcalloc 1390 sound/pci/ctxfi/ctatc.c atc->pcm = kcalloc(2 * 4, sizeof(void *), GFP_KERNEL); kcalloc 909 sound/pci/ctxfi/ctmixer.c mixer->amixers = kcalloc(NUM_CT_AMIXERS * CHN_NUM, sizeof(void *), kcalloc 915 sound/pci/ctxfi/ctmixer.c mixer->sums = kcalloc(NUM_CT_SUMS * CHN_NUM, sizeof(void *), kcalloc 437 sound/pci/ctxfi/ctsrc.c src = kcalloc(desc->multi, sizeof(*src), GFP_KERNEL); kcalloc 678 sound/pci/ctxfi/ctsrc.c srcimp->imappers = kcalloc(desc->msr, sizeof(struct imapper), kcalloc 1205 sound/pci/emu10k1/emufx.c icode->gpr_map = (u_int32_t __user *) kcalloc(512 + 256 + 256 + 2 * 1024, kcalloc 1209 sound/pci/emu10k1/emufx.c controls = kcalloc(SND_EMU10K1_GPR_CONTROLS, kcalloc 1840 sound/pci/emu10k1/emufx.c icode->gpr_map = (u_int32_t __user *) kcalloc(256 + 160 + 160 + 2 * 512, kcalloc 1845 sound/pci/emu10k1/emufx.c controls = kcalloc(SND_EMU10K1_GPR_CONTROLS, kcalloc 8697 sound/pci/hda/patch_ca0132.c spec->spec_init_verbs = kcalloc(NUM_SPEC_VERBS, kcalloc 1027 sound/pci/ice1712/quartet.c ice->akm = kcalloc(2, sizeof(struct snd_akm4xxx), GFP_KERNEL); kcalloc 518 sound/pci/ice1712/revo.c ak = ice->akm = kcalloc(2, sizeof(struct snd_akm4xxx), GFP_KERNEL); kcalloc 2599 sound/pci/maestro3.c chip->substreams = kcalloc(chip->num_substreams, sizeof(struct m3_dma), kcalloc 1318 sound/pci/nm256/nm256.c chip->ac97_regs = kcalloc(ARRAY_SIZE(nm256_ac97_init_val), kcalloc 293 sound/soc/codecs/sigmadsp.c rates = kcalloc(num_rates, sizeof(*rates), GFP_KERNEL); kcalloc 1729 sound/soc/codecs/wcd9335.c cfg->chs = kcalloc(cfg->ch_count, sizeof(unsigned int), GFP_KERNEL); kcalloc 3636 sound/soc/codecs/wm_adsp.c buf->regions = kcalloc(caps->num_regions, sizeof(*buf->regions), kcalloc 119 sound/soc/intel/common/sst-ipc.c ipc->msg = kcalloc(IPC_EMPTY_LIST_SIZE, sizeof(struct ipc_message), kcalloc 290 sound/soc/intel/skylake/skl-messages.c cores->state = kcalloc(cores->count, sizeof(*cores->state), GFP_KERNEL); kcalloc 296 sound/soc/intel/skylake/skl-messages.c cores->usage_count = kcalloc(cores->count, sizeof(*cores->usage_count), kcalloc 38 sound/soc/qcom/common.c card->dai_link = kcalloc(num_links, sizeof(*link), GFP_KERNEL); kcalloc 373 sound/soc/soc-core.c rtd->codec_dais = kcalloc(dai_link->num_codecs, kcalloc 3216 sound/soc/soc-dapm.c w->kcontrols = kcalloc(w->num_kcontrols, kcalloc 938 sound/soc/soc-topology.c kcalloc(le32_to_cpu(ec->items), sizeof(char *), GFP_KERNEL); kcalloc 1227 sound/soc/soc-topology.c routes = kcalloc(count, sizeof(struct snd_soc_dapm_route *), kcalloc 1317 sound/soc/soc-topology.c kc = kcalloc(num_kcontrols, sizeof(*kc), GFP_KERNEL); kcalloc 1410 sound/soc/soc-topology.c kc = kcalloc(num_kcontrols, sizeof(*kc), GFP_KERNEL); kcalloc 1520 sound/soc/soc-topology.c kc = kcalloc(num_kcontrols, sizeof(*kc), GFP_KERNEL); kcalloc 329 sound/soc/sof/topology.c scontrol->volume_table = kcalloc(size, sizeof(u32), GFP_KERNEL); kcalloc 1855 sound/soc/sof/topology.c wdata = kcalloc(widget->num_kcontrols, kcalloc 89 sound/synth/emux/emux.c emu->voices = kcalloc(emu->max_voices, sizeof(struct snd_emux_voice), kcalloc 269 sound/synth/emux/emux_effect.c p->effect = kcalloc(p->chset.max_channels, kcalloc 138 sound/synth/emux/emux_seq.c p->chset.channels = kcalloc(max_channels, sizeof(*p->chset.channels), kcalloc 360 sound/synth/emux/emux_seq.c emu->vmidi = kcalloc(emu->midi_ports, sizeof(*emu->vmidi), GFP_KERNEL); kcalloc 589 sound/usb/6fire/pcm.c rt->out_urbs[i].buffer = kcalloc(PCM_MAX_PACKET_SIZE, kcalloc 594 sound/usb/6fire/pcm.c rt->in_urbs[i].buffer = kcalloc(PCM_MAX_PACKET_SIZE, kcalloc 263 sound/usb/line6/capture.c line6pcm->in.urbs = kcalloc(line6->iso_buffers, sizeof(struct urb *), kcalloc 408 sound/usb/line6/playback.c line6pcm->out.urbs = kcalloc(line6->iso_buffers, sizeof(struct urb *), kcalloc 2655 sound/usb/mixer.c namelist = kcalloc(desc->bNrInPins, sizeof(char *), GFP_KERNEL); kcalloc 3477 sound/usb/mixer.c mixer->id_elems = kcalloc(MAX_ID_ELEMS, sizeof(*mixer->id_elems), kcalloc 407 sound/usb/usx2y/usbusx2yaudio.c subs->tmpbuf = kcalloc(nr_of_packs(), subs->maxpacksize, GFP_KERNEL); kcalloc 450 sound/xen/xen_snd_front_alsa.c stream->pages = kcalloc(stream->num_pages, sizeof(struct page *), kcalloc 301 sound/xen/xen_snd_front_evtchnl.c kcalloc(num_streams, kcalloc 148 virt/kvm/arm/vgic/vgic-init.c dist->spis = kcalloc(nr_spis, sizeof(struct vgic_irq), GFP_KERNEL); kcalloc 128 virt/kvm/arm/vgic/vgic-irqfd.c entries = kcalloc(nr, sizeof(*entries), GFP_KERNEL); kcalloc 118 virt/kvm/arm/vgic/vgic-v4.c dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), kcalloc 647 virt/kvm/kvm_main.c kvm->debugfs_stat_data = kcalloc(kvm_debugfs_num_entries,