Home
last modified time | relevance | path

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

12

/Linux-v5.15/scripts/coccinelle/api/
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
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-v5.15/drivers/infiniband/hw/hfi1/
Dexp_rcv.c44 kcalloc_node(ngroups, sizeof(*rcd->groups), in hfi1_alloc_ctxt_rcv_groups()
Dipoib_tx.c718 priv->tx_napis = kcalloc_node(dev->num_tx_queues, in hfi1_ipoib_txreq_init()
725 priv->txqs = kcalloc_node(dev->num_tx_queues, in hfi1_ipoib_txreq_init()
759 kcalloc_node(tx_ring_size, in hfi1_ipoib_txreq_init()
Dnetdev_rx.c194 rx->rxq = kcalloc_node(rx->num_rx_q, sizeof(*rx->rxq), in hfi1_netdev_rxq_init()
Dinit.c137 dd->rcd = kcalloc_node(dd->num_rcv_contexts, sizeof(*dd->rcd), in hfi1_create_kctxts()
413 kcalloc_node(rcd->egrbufs.count, in hfi1_create_ctxtdata()
419 kcalloc_node(rcd->egrbufs.count, in hfi1_create_ctxtdata()
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()
/Linux-v5.15/drivers/dma/idxd/
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()
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-v5.15/drivers/usb/host/
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-v5.15/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c155 ndev->pkt_inq = kcalloc_node(ndev->nr_queues, in nitrox_alloc_pktin_queues()
/Linux-v5.15/drivers/crypto/qat/qat_common/
Dadf_isr.c216 entries = kcalloc_node(msix_num_entries, sizeof(*entries), in adf_isr_alloc_msix_entry_table()
/Linux-v5.15/include/linux/
Dslab.h687 static inline void *kcalloc_node(size_t n, size_t size, gfp_t flags, int node) in kcalloc_node() function
/Linux-v5.15/block/
Dblk-zoned.c167 return kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(unsigned long), in blk_alloc_zone_bitmap()
Dblk-mq.c2409 tags->rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map()
2417 tags->static_rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map()
3204 new_hctxs = kcalloc_node(set->nr_hw_queues, in blk_mq_realloc_hw_ctxs()
3446 new_tags = kcalloc_node(new_nr_hw_queues, sizeof(struct blk_mq_tags *), in blk_mq_realloc_tag_set_tags()
3525 set->map[i].mq_map = kcalloc_node(nr_cpu_ids, in blk_mq_alloc_tag_set()
/Linux-v5.15/drivers/ntb/hw/amd/
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-v5.15/drivers/nvme/target/
Dzns.c395 d.zbitmap = kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(*(d.zbitmap)), in nvmet_bdev_zone_mgmt_emulate_all()
/Linux-v5.15/lib/
Dsbitmap.c114 sb->map = kcalloc_node(sb->map_nr, sizeof(*sb->map), flags, node); in sbitmap_init_node()
/Linux-v5.15/drivers/crypto/virtio/
Dvirtio_crypto_algs.c372 sgs = kcalloc_node(sg_total, sizeof(*sgs), GFP_KERNEL, in __virtio_crypto_skcipher_do_req()
/Linux-v5.15/kernel/events/
Dring_buffer.c699 rb->aux_pages = kcalloc_node(nr_pages, sizeof(void *), GFP_KERNEL, in rb_alloc_aux()
/Linux-v5.15/drivers/ntb/hw/intel/
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-v5.15/drivers/ntb/
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-v5.15/drivers/infiniband/hw/qib/
Dqib_init.c1645 kcalloc_node(chunk, sizeof(rcd->rcvegrbuf[0]), in qib_setup_eagerbufs()
/Linux-v5.15/drivers/infiniband/sw/rdmavt/
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-v5.15/drivers/net/vmxnet3/
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()

12