Home
last modified time | relevance | path

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

12

/openbmc/linux/scripts/coccinelle/api/
H 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
H 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\)
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dexp_rcv.c44 kcalloc_node(ngroups, sizeof(*rcd->groups), in hfi1_alloc_ctxt_rcv_groups()
H A Dnetdev_rx.c194 rx->rxq = kcalloc_node(rx->num_rx_q, sizeof(*rx->rxq), in hfi1_netdev_rxq_init()
H 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()
H A Dpio.c813 sc->sr = kcalloc_node(sc->sr_size, in sc_alloc()
1987 dd->kernel_send_context = kcalloc_node(dd->num_send_contexts, in init_pervl_scs()
H A Dipoib_tx.c697 priv->txqs = kcalloc_node(dev->num_tx_queues, in hfi1_ipoib_txreq_init()
/openbmc/linux/lib/
H A Dfortify_kunit.c166 kcalloc_node(1, alloc_size, gfp, NUMA_NO_NODE), \
169 kcalloc_node(alloc_size, 1, gfp, NUMA_NO_NODE), \
/openbmc/linux/drivers/usb/host/
H A Dxhci-mem.c618 stream_info->stream_rings = kcalloc_node( in xhci_alloc_stream_info()
1646 xhci->scratchpad->sp_buffers = kcalloc_node(num_sp, sizeof(void *), in scratchpad_alloc()
2020 port_cap->psi = kcalloc_node(port_cap->psi_count, in xhci_add_in_port()
2105 rhub->ports = kcalloc_node(rhub->num_ports, sizeof(*rhub->ports), in xhci_create_rhub_port_array()
2140 xhci->hw_ports = kcalloc_node(num_ports, sizeof(*xhci->hw_ports), in xhci_setup_port_arrays()
2154 xhci->rh_bw = kcalloc_node(num_ports, sizeof(*xhci->rh_bw), flags, in xhci_setup_port_arrays()
2182 xhci->ext_caps = kcalloc_node(cap_count, sizeof(*xhci->ext_caps), in xhci_setup_port_arrays()
2187 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays()
/openbmc/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c241 src_buf = kcalloc_node(src_len, 1, GFP_KERNEL, node); in __virtio_crypto_akcipher_do_req()
256 dst_buf = kcalloc_node(req->dst_len, 1, GFP_KERNEL, node); in __virtio_crypto_akcipher_do_req()
H A Dvirtio_crypto_skcipher_algs.c356 sgs = kcalloc_node(sg_total, sizeof(*sgs), GFP_KERNEL, in __virtio_crypto_skcipher_do_req()
/openbmc/linux/drivers/dma/idxd/
H A Dinit.c155 idxd->wqs = kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_setup_wqs()
233 idxd->engines = kcalloc_node(idxd->max_engines, sizeof(struct idxd_engine *), in idxd_setup_engines()
280 idxd->groups = kcalloc_node(idxd->max_groups, sizeof(struct idxd_group *), in idxd_setup_groups()
H A Ddevice.c57 wq->hw_descs = kcalloc_node(num, sizeof(struct dsa_hw_desc *), in alloc_hw_descs()
90 wq->descs = kcalloc_node(num, sizeof(struct idxd_desc *), in alloc_descs()
/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_lib.c155 ndev->pkt_inq = kcalloc_node(ndev->nr_queues, in nitrox_alloc_pktin_queues()
/openbmc/linux/include/linux/
H A Dslab.h701 static inline __alloc_size(1, 2) void *kcalloc_node(size_t n, size_t size, gfp_t flags, int node) in kcalloc_node() function
/openbmc/linux/block/
H A Dblk-zoned.c157 return kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(unsigned long), in blk_alloc_zone_bitmap()
H A Dblk-mq.c3397 tags->rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map()
3403 tags->static_rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map()
4557 new_tags = kcalloc_node(new_nr_hw_queues, sizeof(struct blk_mq_tags *), in blk_mq_realloc_tag_set_tags()
4645 set->tags = kcalloc_node(set->nr_hw_queues, in blk_mq_alloc_tag_set()
4652 set->map[i].mq_map = kcalloc_node(nr_cpu_ids, in blk_mq_alloc_tag_set()
/openbmc/linux/drivers/ntb/hw/amd/
H 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()
/openbmc/linux/net/sunrpc/xprtrdma/
H A Dfrwr_ops.c129 sg = kcalloc_node(depth, sizeof(*sg), XPRTRDMA_GFP_FLAGS, in frwr_mr_init()
/openbmc/linux/drivers/nvme/target/
H A Dzns.c411 d.zbitmap = kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(*(d.zbitmap)), in nvmet_bdev_zone_mgmt_emulate_all()
/openbmc/linux/kernel/events/
H A Dring_buffer.c713 rb->aux_pages = kcalloc_node(nr_pages, sizeof(void *), GFP_KERNEL, in rb_alloc_aux()
/openbmc/linux/drivers/ntb/hw/intel/
H 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()
/openbmc/linux/drivers/ntb/
H A Dntb_transport.c1322 nt->mw_vec = kcalloc_node(mw_count, sizeof(*nt->mw_vec), in ntb_transport_probe()
1369 nt->qp_vec = kcalloc_node(qp_count, sizeof(*nt->qp_vec), in ntb_transport_probe()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_init.c1631 kcalloc_node(chunk, sizeof(rcd->rcvegrbuf[0]), in qib_setup_eagerbufs()
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dqp.c176 wss->entries = kcalloc_node(wss->num_entries, sizeof(*wss->entries), in rvt_wss_init()
1101 kcalloc_node(rvt_max_atomic(rdi), in rvt_create_qp()

12