Home
last modified time | relevance | path

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

/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\)
/linux/drivers/infiniband/hw/hfi1/
H A Dexp_rcv.c44 kcalloc_node(ngroups, sizeof(*rcd->groups), in hfi1_alloc_ctxt_rcv_groups()
H A Dipoib_tx.c697 priv->txqs = kcalloc_node(dev->num_tx_queues, in hfi1_ipoib_txreq_init()
/linux/drivers/dma/idxd/
H A Dinit.c186 idxd->wqs = kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_setup_wqs()
293 idxd->engines = kcalloc_node(idxd->max_engines, sizeof(struct idxd_engine *), in idxd_setup_engines()
357 idxd->groups = kcalloc_node(idxd->max_groups, sizeof(struct idxd_group *), in idxd_setup_groups()
861 kcalloc_node(idxd->max_groups, in idxd_device_config_save()
884 kcalloc_node(idxd->max_engines, in idxd_device_config_save()
922 kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_device_config_save()
H A Ddevice.c58 wq->hw_descs = kcalloc_node(num, sizeof(struct dsa_hw_desc *), in alloc_hw_descs()
91 wq->descs = kcalloc_node(num, sizeof(struct idxd_desc *), in alloc_descs()
/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c231 src_buf = kcalloc_node(req->src_len, 1, GFP_KERNEL, node); in __virtio_crypto_akcipher_do_req()
240 dst_buf = kcalloc_node(req->dst_len, 1, GFP_KERNEL, node); in __virtio_crypto_akcipher_do_req()
H A Dvirtio_crypto_skcipher_algs.c354 sgs = kcalloc_node(sg_total, sizeof(*sgs), GFP_KERNEL, in __virtio_crypto_skcipher_do_req()
/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_lib.c155 ndev->pkt_inq = kcalloc_node(ndev->nr_queues, in nitrox_alloc_pktin_queues()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_isr.c280 irqs = kcalloc_node(msix_num_entries, sizeof(*irqs), in adf_isr_alloc_msix_vectors_data()
/linux/drivers/ntb/hw/amd/
H A Dntb_hw_amd.c731 ndev->vec = kcalloc_node(msix_max, sizeof(*ndev->vec), in ndev_init_isr()
736 ndev->msix = kcalloc_node(msix_max, sizeof(*ndev->msix), in ndev_init_isr()
/linux/block/
H A Dblk-mq.c3600 tags->rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map()
3606 tags->static_rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map()
4597 new_hctxs = kcalloc_node(set->nr_hw_queues, in __blk_mq_realloc_hw_ctxs()
4846 new_tags = kcalloc_node(new_nr_hw_queues, sizeof(struct blk_mq_tags *), in blk_mq_prealloc_tag_set_tags()
4943 set->tags = kcalloc_node(set->nr_hw_queues, in blk_mq_alloc_tag_set()
4950 set->map[i].mq_map = kcalloc_node(nr_cpu_ids, in blk_mq_alloc_tag_set()
/linux/net/sunrpc/
H A Dsvc.c642 rqstp->rq_pages = kcalloc_node(rqstp->rq_maxpages + 1, in svc_init_buffer()
649 rqstp->rq_respages = kcalloc_node(rqstp->rq_maxpages + 1, in svc_init_buffer()
729 rqstp->rq_bvec = kcalloc_node(rqstp->rq_maxpages, in svc_prepare_thread()
/linux/drivers/nvme/target/
H A Dzns.c403 d.zbitmap = kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(*(d.zbitmap)), in nvmet_bdev_zone_mgmt_emulate_all()
/linux/lib/tests/
H A Dfortify_kunit.c239 kcalloc_node(1, alloc_size, gfp, NUMA_NO_NODE), \
242 kcalloc_node(alloc_size, 1, gfp, NUMA_NO_NODE), \
/linux/net/sunrpc/xprtrdma/
H A Dfrwr_ops.c129 sg = kcalloc_node(depth, sizeof(*sg), XPRTRDMA_GFP_FLAGS, in frwr_mr_init()
/linux/kernel/events/
H A Dring_buffer.c733 rb->aux_pages = kcalloc_node(nr_pages, sizeof(void *), GFP_KERNEL, in rb_alloc_aux()
/linux/include/linux/
H A Dslab.h1173 #define kcalloc_node(_n, _size, _flags, _node) \ macro
/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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c6358 priv->txq2sq = kcalloc_node(num_txqs, sizeof(*priv->txq2sq), GFP_KERNEL, node); in mlx5e_priv_init()
6362 priv->txq2sq_stats = kcalloc_node(num_txqs, sizeof(*priv->txq2sq_stats), GFP_KERNEL, node); in mlx5e_priv_init()
6366 priv->tx_rates = kcalloc_node(num_txqs, sizeof(*priv->tx_rates), GFP_KERNEL, node); in mlx5e_priv_init()
6371 kcalloc_node(nch, sizeof(*priv->channel_stats), GFP_KERNEL, node); in mlx5e_priv_init()
/linux/drivers/nvme/host/
H A Dpci.c3660 dev->queues = kcalloc_node(dev->nr_allocated_queues, in nvme_pci_alloc_dev()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c668 s = kcalloc_node(sw_size, nelem, GFP_KERNEL, node); in alloc_ring()