Home
last modified time | relevance | path

Searched refs:kcalloc_node (Results 1 – 25 of 29) sorted by relevance

12

/linux/scripts/coccinelle/api/
A Dkfree_mismatch.cocci27 kmalloc_array_node\|kcalloc_node\)(...)@kok
39 kmalloc_array\|kmalloc_array_node\|kcalloc_node\)(...)@kok
70 * kcalloc_node\)(...)@a
84 kcalloc_node\)(...)@a
A Dkvmalloc.cocci36 * kmalloc_array\|kmalloc_array_node\|kcalloc_node\)
46 * kmalloc_array\|kmalloc_array_node\|kcalloc_node\)
58 * kmalloc_array\|kmalloc_array_node\|kcalloc_node\)
/linux/drivers/dma/idxd/
A Dinit.c96 idxd->irq_entries = kcalloc_node(msixcnt, sizeof(struct idxd_irq_entry), in idxd_setup_interrupts()
211 idxd->wqs = kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_setup_wqs()
269 idxd->engines = kcalloc_node(idxd->max_engines, sizeof(struct idxd_engine *), in idxd_setup_engines()
316 idxd->groups = kcalloc_node(idxd->max_groups, sizeof(struct idxd_group *), in idxd_setup_groups()
383 idxd->int_handles = kcalloc_node(idxd->max_wqs, sizeof(int), GFP_KERNEL, in idxd_setup_internals()
A Ddevice.c82 wq->hw_descs = kcalloc_node(num, sizeof(struct dsa_hw_desc *), in alloc_hw_descs()
115 wq->descs = kcalloc_node(num, sizeof(struct idxd_desc *), in alloc_descs()
/linux/drivers/infiniband/hw/hfi1/
A Dexp_rcv.c44 kcalloc_node(ngroups, sizeof(*rcd->groups), in hfi1_alloc_ctxt_rcv_groups()
A Dnetdev_rx.c194 rx->rxq = kcalloc_node(rx->num_rx_q, sizeof(*rx->rxq), in hfi1_netdev_rxq_init()
A Dipoib_tx.c695 priv->txqs = kcalloc_node(dev->num_tx_queues, in hfi1_ipoib_txreq_init()
728 kcalloc_node(tx_ring_size, tx_item_size, in hfi1_ipoib_txreq_init()
A Dinit.c137 dd->rcd = kcalloc_node(dd->num_rcv_contexts, sizeof(*dd->rcd), in hfi1_create_kctxts()
415 kcalloc_node(rcd->egrbufs.count, in hfi1_create_ctxtdata()
421 kcalloc_node(rcd->egrbufs.count, in hfi1_create_ctxtdata()
A Dpio.c813 sc->sr = kcalloc_node(sc->sr_size, in sc_alloc()
1991 dd->kernel_send_context = kcalloc_node(dd->num_send_contexts, in init_pervl_scs()
A Dsdma.c1358 dd->per_sdma = kcalloc_node(num_engines, sizeof(*dd->per_sdma), in sdma_init()
/linux/drivers/usb/host/
A Dxhci-mem.c634 stream_info->stream_rings = kcalloc_node( in xhci_alloc_stream_info()
1668 xhci->scratchpad->sp_buffers = kcalloc_node(num_sp, sizeof(void *), in scratchpad_alloc()
2178 port_cap->psi = kcalloc_node(port_cap->psi_count, in xhci_add_in_port()
2251 rhub->ports = kcalloc_node(rhub->num_ports, sizeof(*rhub->ports), in xhci_create_rhub_port_array()
2286 xhci->hw_ports = kcalloc_node(num_ports, sizeof(*xhci->hw_ports), in xhci_setup_port_arrays()
2297 xhci->rh_bw = kcalloc_node(num_ports, sizeof(*xhci->rh_bw), flags, in xhci_setup_port_arrays()
2325 xhci->ext_caps = kcalloc_node(cap_count, sizeof(*xhci->ext_caps), in xhci_setup_port_arrays()
2330 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays()
/linux/drivers/crypto/cavium/nitrox/
A Dnitrox_lib.c155 ndev->pkt_inq = kcalloc_node(ndev->nr_queues, in nitrox_alloc_pktin_queues()
/linux/block/
A Dblk-zoned.c167 return kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(unsigned long), in blk_alloc_zone_bitmap()
A Dblk-mq.c2827 tags->rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map()
2835 tags->static_rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map()
3644 new_hctxs = kcalloc_node(set->nr_hw_queues, in blk_mq_realloc_hw_ctxs()
3897 new_tags = kcalloc_node(new_nr_hw_queues, sizeof(struct blk_mq_tags *), in blk_mq_realloc_tag_set_tags()
3976 set->map[i].mq_map = kcalloc_node(nr_cpu_ids, in blk_mq_alloc_tag_set()
/linux/include/linux/
A Dslab.h689 static inline __alloc_size(1, 2) void *kcalloc_node(size_t n, size_t size, gfp_t flags, int node) in kcalloc_node() function
/linux/drivers/ntb/hw/amd/
A Dntb_hw_amd.c722 ndev->vec = kcalloc_node(msix_max, sizeof(*ndev->vec), in ndev_init_isr()
727 ndev->msix = kcalloc_node(msix_max, sizeof(*ndev->msix), in ndev_init_isr()
/linux/drivers/crypto/virtio/
A Dvirtio_crypto_algs.c372 sgs = kcalloc_node(sg_total, sizeof(*sgs), GFP_KERNEL, in __virtio_crypto_skcipher_do_req()
/linux/drivers/nvme/target/
A Dzns.c395 d.zbitmap = kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(*(d.zbitmap)), in nvmet_bdev_zone_mgmt_emulate_all()
/linux/lib/
A Dsbitmap.c114 sb->map = kcalloc_node(sb->map_nr, sizeof(*sb->map), flags, node); in sbitmap_init_node()
/linux/kernel/events/
A Dring_buffer.c699 rb->aux_pages = kcalloc_node(nr_pages, sizeof(void *), GFP_KERNEL, in rb_alloc_aux()
/linux/drivers/ntb/hw/intel/
A Dntb_hw_gen1.c382 ndev->vec = kcalloc_node(msix_max, sizeof(*ndev->vec), in ndev_init_isr()
387 ndev->msix = kcalloc_node(msix_max, sizeof(*ndev->msix), in ndev_init_isr()
/linux/drivers/ntb/
A Dntb_transport.c1302 nt->mw_vec = kcalloc_node(mw_count, sizeof(*nt->mw_vec), in ntb_transport_probe()
1349 nt->qp_vec = kcalloc_node(qp_count, sizeof(*nt->qp_vec), in ntb_transport_probe()
/linux/drivers/infiniband/hw/qib/
A Dqib_init.c1645 kcalloc_node(chunk, sizeof(rcd->rcvegrbuf[0]), in qib_setup_eagerbufs()
/linux/drivers/infiniband/sw/rdmavt/
A Dqp.c176 wss->entries = kcalloc_node(wss->num_entries, sizeof(*wss->entries), in rvt_wss_init()
1103 kcalloc_node(rvt_max_atomic(rdi), in rvt_create_qp()
/linux/drivers/net/vmxnet3/
A Dvmxnet3_drv.c531 tq->buf_info = kcalloc_node(tq->tx_ring.size, sizeof(tq->buf_info[0]), in vmxnet3_tq_create()
1894 bi = kcalloc_node(rq->rx_ring[0].size + rq->rx_ring[1].size, in vmxnet3_rq_create()

Completed in 102 milliseconds

12