/linux/scripts/coccinelle/api/ |
H A 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
|
H 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/drivers/infiniband/hw/hfi1/ |
H A D | exp_rcv.c | 44 kcalloc_node(ngroups, sizeof(*rcd->groups), in hfi1_alloc_ctxt_rcv_groups()
|
H A D | netdev_rx.c | 194 rx->rxq = kcalloc_node(rx->num_rx_q, sizeof(*rx->rxq), in hfi1_netdev_rxq_init()
|
H A D | init.c | 137 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 D | pio.c | 813 sc->sr = kcalloc_node(sc->sr_size, in sc_alloc() 1977 dd->kernel_send_context = kcalloc_node(dd->num_send_contexts, in init_pervl_scs()
|
H A D | ipoib_tx.c | 697 priv->txqs = kcalloc_node(dev->num_tx_queues, in hfi1_ipoib_txreq_init()
|
/linux/drivers/dma/idxd/ |
H A D | init.c | 184 idxd->wqs = kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_setup_wqs() 289 idxd->engines = kcalloc_node(idxd->max_engines, sizeof(struct idxd_engine *), in idxd_setup_engines() 353 idxd->groups = kcalloc_node(idxd->max_groups, sizeof(struct idxd_group *), in idxd_setup_groups() 847 kcalloc_node(idxd->max_groups, in idxd_device_config_save() 870 kcalloc_node(idxd->max_engines, in idxd_device_config_save() 908 kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_device_config_save()
|
H A D | device.c | 57 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()
|
/linux/drivers/usb/host/ |
H A D | xhci-mem.c | 639 stream_info->stream_rings = kcalloc_node( in xhci_alloc_stream_info() 1670 xhci->scratchpad->sp_buffers = kcalloc_node(num_sp, sizeof(void *), in scratchpad_alloc() 2084 port_cap->psi = kcalloc_node(port_cap->psi_count, in xhci_add_in_port() 2166 rhub->ports = kcalloc_node(rhub->num_ports, sizeof(*rhub->ports), in xhci_create_rhub_port_array() 2201 xhci->hw_ports = kcalloc_node(num_ports, sizeof(*xhci->hw_ports), in xhci_setup_port_arrays() 2215 xhci->rh_bw = kcalloc_node(num_ports, sizeof(*xhci->rh_bw), flags, in xhci_setup_port_arrays() 2243 xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps), in xhci_setup_port_arrays() 2499 xhci->interrupters = kcalloc_node(xhci->max_interrupters, sizeof(*xhci->interrupters), in xhci_mem_init()
|
/linux/drivers/crypto/virtio/ |
H A D | virtio_crypto_akcipher_algs.c | 231 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 D | virtio_crypto_skcipher_algs.c | 354 sgs = kcalloc_node(sg_total, sizeof(*sgs), GFP_KERNEL, in __virtio_crypto_skcipher_do_req()
|
/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_lib.c | 155 ndev->pkt_inq = kcalloc_node(ndev->nr_queues, in nitrox_alloc_pktin_queues()
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_isr.c | 280 irqs = kcalloc_node(msix_num_entries, sizeof(*irqs), in adf_isr_alloc_msix_vectors_data()
|
/linux/drivers/ntb/hw/amd/ |
H A 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/include/linux/ |
H A D | slab.h | 1024 #define kcalloc_node(_n, _size, _flags, _node) \ macro
|
/linux/net/sunrpc/xprtrdma/ |
H A D | frwr_ops.c | 129 sg = kcalloc_node(depth, sizeof(*sg), XPRTRDMA_GFP_FLAGS, in frwr_mr_init()
|
H A D | svc_rdma_sendto.c | 131 ctxt->sc_pages = kcalloc_node(pages, sizeof(struct page *), in svc_rdma_send_ctxt_alloc()
|
/linux/drivers/nvme/target/ |
H A D | zns.c | 407 d.zbitmap = kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(*(d.zbitmap)), in nvmet_bdev_zone_mgmt_emulate_all()
|
/linux/net/sunrpc/ |
H A D | svc.c | 644 rqstp->rq_pages = kcalloc_node(rqstp->rq_maxpages + 1, in svc_init_buffer() 710 rqstp->rq_bvec = kcalloc_node(rqstp->rq_maxpages, in svc_prepare_thread()
|
/linux/kernel/events/ |
H A D | ring_buffer.c | 731 rb->aux_pages = kcalloc_node(nr_pages, sizeof(void *), GFP_KERNEL, in rb_alloc_aux()
|
/linux/lib/tests/ |
H A D | fortify_kunit.c | 239 kcalloc_node(1, alloc_size, gfp, NUMA_NO_NODE), \ 242 kcalloc_node(alloc_size, 1, gfp, NUMA_NO_NODE), \
|
/linux/block/ |
H A D | blk-mq.c | 3546 tags->rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map() 3552 tags->static_rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map() 4747 new_tags = kcalloc_node(new_nr_hw_queues, sizeof(struct blk_mq_tags *), in blk_mq_realloc_tag_set_tags() 4835 set->tags = kcalloc_node(set->nr_hw_queues, in blk_mq_alloc_tag_set() 4842 set->map[i].mq_map = kcalloc_node(nr_cpu_ids, in blk_mq_alloc_tag_set()
|
/linux/drivers/ntb/hw/intel/ |
H A 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/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 176 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()
|