Home
last modified time | relevance | path

Searched refs:kcalloc (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/linux-4.19.296/drivers/irqchip/
Dirq-mtk-sysirq.c156 chip_data->intpol_words = kcalloc(nr_intpol_bases, in mtk_sysirq_of_init()
164 chip_data->intpol_bases = kcalloc(nr_intpol_bases, in mtk_sysirq_of_init()
187 chip_data->intpol_idx = kcalloc(intpol_num, in mtk_sysirq_of_init()
195 chip_data->which_word = kcalloc(intpol_num, in mtk_sysirq_of_init()
Dirq-mvebu-odmi.c170 odmis = kcalloc(odmis_count, sizeof(struct odmi_data), GFP_KERNEL); in mvebu_odmi_init()
174 odmis_bm = kcalloc(BITS_TO_LONGS(odmis_count * NODMIS_PER_FRAME), in mvebu_odmi_init()
/linux-4.19.296/drivers/xen/
Darm-device.c73 gpfns = kcalloc(nr, sizeof(xen_pfn_t), GFP_KERNEL); in xen_map_device_mmio()
74 idxs = kcalloc(nr, sizeof(xen_ulong_t), GFP_KERNEL); in xen_map_device_mmio()
75 errs = kcalloc(nr, sizeof(int), GFP_KERNEL); in xen_map_device_mmio()
Dxen-acpi-processor.c72 dst_cx_states = kcalloc(_pr->power.count, in push_cxx_to_hypervisor()
153 dst_states = kcalloc(_pr->performance->state_count, in xen_copy_pss_data()
413 acpi_id_present = kcalloc(BITS_TO_LONGS(nr_acpi_bits), sizeof(unsigned long), GFP_KERNEL); in check_acpi_ids()
417 acpi_id_cst_present = kcalloc(BITS_TO_LONGS(nr_acpi_bits), sizeof(unsigned long), GFP_KERNEL); in check_acpi_ids()
423 acpi_psd = kcalloc(nr_acpi_bits, sizeof(struct acpi_psd_package), in check_acpi_ids()
536 acpi_ids_done = kcalloc(BITS_TO_LONGS(nr_acpi_bits), sizeof(unsigned long), GFP_KERNEL); in xen_acpi_processor_init()
Dxlate_mmu.c227 pages = kcalloc(nr_pages, sizeof(pages[0]), GFP_KERNEL); in xen_xlate_map_ballooned_pages()
231 pfns = kcalloc(nr_grant_frames, sizeof(pfns[0]), GFP_KERNEL); in xen_xlate_map_ballooned_pages()
Dgntdev.c143 add->grants = kcalloc(count, sizeof(add->grants[0]), GFP_KERNEL); in gntdev_alloc_map()
144 add->map_ops = kcalloc(count, sizeof(add->map_ops[0]), GFP_KERNEL); in gntdev_alloc_map()
145 add->unmap_ops = kcalloc(count, sizeof(add->unmap_ops[0]), GFP_KERNEL); in gntdev_alloc_map()
146 add->kmap_ops = kcalloc(count, sizeof(add->kmap_ops[0]), GFP_KERNEL); in gntdev_alloc_map()
147 add->kunmap_ops = kcalloc(count, sizeof(add->kunmap_ops[0]), GFP_KERNEL); in gntdev_alloc_map()
148 add->pages = kcalloc(count, sizeof(add->pages[0]), GFP_KERNEL); in gntdev_alloc_map()
150 kcalloc(count, sizeof(add->being_removed[0]), GFP_KERNEL); in gntdev_alloc_map()
170 add->frames = kcalloc(count, sizeof(add->frames[0]), in gntdev_alloc_map()
/linux-4.19.296/lib/mpi/
Dmpiutil.c94 p = kcalloc(nlimbs, sizeof(mpi_limb_t), GFP_KERNEL); in mpi_resize()
101 a->d = kcalloc(nlimbs, sizeof(mpi_limb_t), GFP_KERNEL); in mpi_resize()
/linux-4.19.296/drivers/misc/echo/
Dfir.h89 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); in fir16_create()
131 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); in fir32_create()
Decho.c170 kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
175 kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
192 ec->snapshot = kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
/linux-4.19.296/drivers/sh/intc/
Dcore.c206 d->window = kcalloc(d->nr_windows, sizeof(*d->window), in register_intc_controller()
233 d->reg = kcalloc(d->nr_reg, sizeof(*d->reg), GFP_NOWAIT); in register_intc_controller()
238 d->smp = kcalloc(d->nr_reg, sizeof(*d->smp), GFP_NOWAIT); in register_intc_controller()
256 d->prio = kcalloc(hw->nr_vectors, sizeof(*d->prio), in register_intc_controller()
272 d->sense = kcalloc(hw->nr_vectors, sizeof(*d->sense), in register_intc_controller()
/linux-4.19.296/drivers/iio/imu/
Dadis_buffer.c37 adis->xfer = kcalloc(scan_count + 1, sizeof(*adis->xfer), GFP_KERNEL); in adis_update_scan_mode()
41 adis->buffer = kcalloc(indio_dev->scan_bytes, 2, GFP_KERNEL); in adis_update_scan_mode()
/linux-4.19.296/drivers/char/
Dpowernv-op-panel.c164 oppanel_data = kcalloc(oppanel_size, sizeof(*oppanel_data), GFP_KERNEL); in oppanel_probe()
168 oppanel_lines = kcalloc(num_lines, sizeof(oppanel_line_t), GFP_KERNEL); in oppanel_probe()
/linux-4.19.296/drivers/gpio/
Dgpiolib-devprop.c48 names = kcalloc(gdev->ngpio, sizeof(*names), GFP_KERNEL); in devprop_gpiochip_set_names()
/linux-4.19.296/fs/squashfs/
Dcache.c247 cache->entry = kcalloc(entries, sizeof(*(cache->entry)), GFP_KERNEL); in squashfs_cache_init()
271 entry->data = kcalloc(cache->pages, sizeof(void *), GFP_KERNEL); in squashfs_cache_init()
430 data = kcalloc(pages, sizeof(void *), GFP_KERNEL); in squashfs_read_table()
/linux-4.19.296/drivers/i2c/busses/
Di2c-nforce2-s4985.c167 s4985_adapter = kcalloc(5, sizeof(struct i2c_adapter), GFP_KERNEL); in nforce2_s4985_init()
172 s4985_algo = kcalloc(5, sizeof(struct i2c_algorithm), GFP_KERNEL); in nforce2_s4985_init()
Di2c-amd756-s4882.c172 if (!(s4882_adapter = kcalloc(5, sizeof(struct i2c_adapter), in amd756_s4882_init()
177 if (!(s4882_algo = kcalloc(5, sizeof(struct i2c_algorithm), in amd756_s4882_init()
/linux-4.19.296/drivers/base/regmap/
Dregmap-irq.c463 d->status_buf = kcalloc(chip->num_regs, sizeof(unsigned int), in regmap_add_irq_chip()
468 d->mask_buf = kcalloc(chip->num_regs, sizeof(unsigned int), in regmap_add_irq_chip()
473 d->mask_buf_def = kcalloc(chip->num_regs, sizeof(unsigned int), in regmap_add_irq_chip()
479 d->wake_buf = kcalloc(chip->num_regs, sizeof(unsigned int), in regmap_add_irq_chip()
486 d->type_buf_def = kcalloc(chip->num_type_reg, in regmap_add_irq_chip()
491 d->type_buf = kcalloc(chip->num_type_reg, sizeof(unsigned int), in regmap_add_irq_chip()
Dregcache-flat.c33 map->cache = kcalloc(regcache_flat_get_index(map, map->max_register) in regcache_flat_init()
/linux-4.19.296/drivers/oprofile/
Doprofile_perf.c289 counter_config = kcalloc(num_counters, in oprofile_perf_init()
301 per_cpu(perf_events, cpu) = kcalloc(num_counters, in oprofile_perf_init()
/linux-4.19.296/drivers/clk/mvebu/
Dclk-cpu.c189 cpuclk = kcalloc(ncpus, sizeof(*cpuclk), GFP_KERNEL); in of_cpu_clk_setup()
193 clks = kcalloc(ncpus, sizeof(*clks), GFP_KERNEL); in of_cpu_clk_setup()
Dcommon.c129 clk_data.clks = kcalloc(clk_data.clk_num, sizeof(*clk_data.clks), in mvebu_coreclk_setup()
273 ctrl->gates = kcalloc(ctrl->num_gates, sizeof(*ctrl->gates), in mvebu_clk_gating_setup()
/linux-4.19.296/fs/nfsd/
Dblocklayoutxdr.c138 iomaps = kcalloc(nr_iomaps, sizeof(*iomaps), GFP_KERNEL); in nfsd4_block_decode_layoutupdate()
206 iomaps = kcalloc(nr_iomaps, sizeof(*iomaps), GFP_KERNEL); in nfsd4_scsi_decode_layoutupdate()
/linux-4.19.296/block/
Dblk-tag.c102 tag_index = kcalloc(depth, sizeof(struct request *), GFP_ATOMIC); in init_tag_map()
107 tag_map = kcalloc(nr_ulongs, sizeof(unsigned long), GFP_ATOMIC); in init_tag_map()
/linux-4.19.296/fs/ceph/
Dmdsmap.c141 m->m_info = kcalloc(m->m_num_mds, sizeof(*m->m_info), GFP_NOFS); in ceph_mdsmap_decode()
234 info->export_targets = kcalloc(num_export_targets, in ceph_mdsmap_decode()
257 m->m_data_pg_pools = kcalloc(n, sizeof(u64), GFP_NOFS); in ceph_mdsmap_decode()
/linux-4.19.296/drivers/clk/st/
Dclkgen-mux.c32 parents = kcalloc(nparents, sizeof(const char *), GFP_KERNEL); in clkgen_mux_get_parents()

12345678910>>...13