/Linux-v5.10/scripts/coccinelle/api/ |
D | kfree_mismatch.cocci | 27 kmalloc_array_node\|kcalloc_node\)(...)@kok 39 kmalloc_array\|kmalloc_array_node\|kcalloc_node\)(...)@kok 70 * kcalloc_node\)(...)@a 84 kcalloc_node\)(...)@a
|
D | kvmalloc.cocci | 36 * 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.10/drivers/infiniband/hw/hfi1/ |
D | exp_rcv.c | 86 kcalloc_node(ngroups, sizeof(*rcd->groups), in hfi1_alloc_ctxt_rcv_groups()
|
D | netdev_rx.c | 195 priv->rxq = kcalloc_node(priv->num_rx_q, sizeof(struct hfi1_netdev_rxq), in hfi1_netdev_rxq_init() 358 dd->dummy_netdev = kcalloc_node(1, netdev_size, GFP_KERNEL, dd->node); in hfi1_netdev_alloc()
|
D | ipoib_tx.c | 703 priv->tx_napis = kcalloc_node(dev->num_tx_queues, in hfi1_ipoib_txreq_init() 710 priv->txqs = kcalloc_node(dev->num_tx_queues, in hfi1_ipoib_txreq_init()
|
D | init.c | 179 dd->rcd = kcalloc_node(dd->num_rcv_contexts, sizeof(*dd->rcd), in hfi1_create_kctxts() 455 kcalloc_node(rcd->egrbufs.count, in hfi1_create_ctxtdata() 461 kcalloc_node(rcd->egrbufs.count, in hfi1_create_ctxtdata()
|
D | pio.c | 855 sc->sr = kcalloc_node(sc->sr_size, in sc_alloc() 2030 dd->kernel_send_context = kcalloc_node(dd->num_send_contexts, in init_pervl_scs()
|
D | sdma.c | 1400 dd->per_sdma = kcalloc_node(num_engines, sizeof(*dd->per_sdma), in sdma_init()
|
/Linux-v5.10/drivers/usb/host/ |
D | xhci-mem.c | 651 stream_info->stream_rings = kcalloc_node( in xhci_alloc_stream_info() 1682 xhci->scratchpad->sp_buffers = kcalloc_node(num_sp, sizeof(void *), in scratchpad_alloc() 2182 port_cap->psi = kcalloc_node(port_cap->psi_count, in xhci_add_in_port() 2255 rhub->ports = kcalloc_node(rhub->num_ports, sizeof(*rhub->ports), in xhci_create_rhub_port_array() 2287 xhci->hw_ports = kcalloc_node(num_ports, sizeof(*xhci->hw_ports), in xhci_setup_port_arrays() 2298 xhci->rh_bw = kcalloc_node(num_ports, sizeof(*xhci->rh_bw), flags, in xhci_setup_port_arrays() 2326 xhci->ext_caps = kcalloc_node(cap_count, sizeof(*xhci->ext_caps), in xhci_setup_port_arrays() 2331 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays()
|
/Linux-v5.10/drivers/crypto/cavium/nitrox/ |
D | nitrox_lib.c | 155 ndev->pkt_inq = kcalloc_node(ndev->nr_queues, in nitrox_alloc_pktin_queues()
|
/Linux-v5.10/drivers/crypto/qat/qat_common/ |
D | adf_isr.c | 197 entries = kcalloc_node(msix_num_entries, sizeof(*entries), in adf_isr_alloc_msix_entry_table()
|
/Linux-v5.10/drivers/dma/idxd/ |
D | device.c | 78 wq->hw_descs = kcalloc_node(num, sizeof(struct dsa_hw_desc *), in alloc_hw_descs() 111 wq->descs = kcalloc_node(num, sizeof(struct idxd_desc *), in alloc_descs()
|
/Linux-v5.10/include/linux/ |
D | slab.h | 630 static inline void *kcalloc_node(size_t n, size_t size, gfp_t flags, int node) in kcalloc_node() function
|
/Linux-v5.10/block/ |
D | blk-zoned.c | 376 return kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(unsigned long), in blk_alloc_zone_bitmap()
|
D | blk-mq.c | 2331 tags->rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map() 2339 tags->static_rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map() 3116 new_hctxs = kcalloc_node(set->nr_hw_queues, in blk_mq_realloc_hw_ctxs() 3363 new_tags = kcalloc_node(new_nr_hw_queues, sizeof(struct blk_mq_tags *), in blk_mq_realloc_tag_set_tags() 3436 set->map[i].mq_map = kcalloc_node(nr_cpu_ids, in blk_mq_alloc_tag_set()
|
/Linux-v5.10/drivers/ntb/hw/amd/ |
D | ntb_hw_amd.c | 722 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.10/lib/ |
D | sbitmap.c | 76 sb->map = kcalloc_node(sb->map_nr, sizeof(*sb->map), flags, node); in sbitmap_init_node()
|
/Linux-v5.10/drivers/crypto/virtio/ |
D | virtio_crypto_algs.c | 372 sgs = kcalloc_node(sg_total, sizeof(*sgs), GFP_KERNEL, in __virtio_crypto_skcipher_do_req()
|
/Linux-v5.10/kernel/events/ |
D | ring_buffer.c | 694 rb->aux_pages = kcalloc_node(nr_pages, sizeof(void *), GFP_KERNEL, in rb_alloc_aux()
|
/Linux-v5.10/drivers/ntb/hw/intel/ |
D | ntb_hw_gen1.c | 382 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.10/drivers/ntb/ |
D | ntb_transport.c | 1304 nt->mw_vec = kcalloc_node(mw_count, sizeof(*nt->mw_vec), in ntb_transport_probe() 1351 nt->qp_vec = kcalloc_node(qp_count, sizeof(*nt->qp_vec), in ntb_transport_probe()
|
/Linux-v5.10/drivers/infiniband/hw/qib/ |
D | qib_init.c | 1645 kcalloc_node(chunk, sizeof(rcd->rcvegrbuf[0]), in qib_setup_eagerbufs()
|
/Linux-v5.10/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 218 wss->entries = kcalloc_node(wss->num_entries, sizeof(*wss->entries), in rvt_wss_init() 1143 kcalloc_node(rvt_max_atomic(rdi), in rvt_create_qp()
|
/Linux-v5.10/drivers/nvme/host/ |
D | pci.c | 2866 dev->queues = kcalloc_node(dev->nr_allocated_queues, in nvme_probe()
|
/Linux-v5.10/mm/ |
D | slab.c | 665 alc_ptr = kcalloc_node(nr_node_ids, sizeof(void *), gfp, node); in alloc_alien_cache()
|