Home
last modified time | relevance | path

Searched refs:dma_pool_alloc (Results 1 – 25 of 85) sorted by relevance

1234

/linux-6.12.1/include/linux/
Ddmapool.h26 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags,
42 static inline void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() function
55 return dma_pool_alloc(pool, mem_flags | __GFP_ZERO, handle); in dma_pool_zalloc()
/linux-6.12.1/scripts/coccinelle/api/alloc/
Dpool_zalloc-simple.cocci25 * x = \(dma_pool_alloc\|pci_pool_alloc\)(...);
39 - x = dma_pool_alloc(a,b,c);
66 x = @p\(dma_pool_alloc\|pci_pool_alloc\)(a,b,c);
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_mem.c130 pool->elements[i].virt = dma_pool_alloc(phba->lpfc_mbuf_pool, in lpfc_mem_alloc()
393 ret = dma_pool_alloc(phba->lpfc_mbuf_pool, GFP_KERNEL, handle); in lpfc_mbuf_alloc()
477 ret = dma_pool_alloc(phba->lpfc_sg_dma_buf_pool, GFP_KERNEL, handle); in lpfc_nvmet_buf_alloc()
518 hbqbp->dbuf.virt = dma_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL, in lpfc_els_hbq_alloc()
570 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc()
576 dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_drb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc()
628 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_nvmet_alloc()
634 dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_nvmet_drb_pool, in lpfc_sli4_nvmet_alloc()
/linux-6.12.1/drivers/dma/
Dfsl_raid.c297 cf = dma_pool_alloc(re_chan->re_dev->cf_desc_pool, GFP_NOWAIT, in fsl_re_chan_alloc_desc()
586 cf = dma_pool_alloc(re_chan->re_dev->cf_desc_pool, GFP_KERNEL, in fsl_re_alloc_chan_resources()
694 chan->inb_ring_virt_addr = dma_pool_alloc(chan->re_dev->hw_desc_pool, in fsl_re_chan_probe()
702 chan->oub_ring_virt_addr = dma_pool_alloc(chan->re_dev->hw_desc_pool, in fsl_re_chan_probe()
Dat_hdmac.c938 atdma_sg->lli = dma_pool_alloc(atdma->lli_pool, GFP_NOWAIT, in atc_prep_dma_interleaved()
1019 atdma_sg->lli = dma_pool_alloc(atdma->lli_pool, GFP_NOWAIT, in atc_prep_dma_memcpy()
1069 atdma_sg->lli = dma_pool_alloc(atdma->lli_pool, GFP_NOWAIT, in atdma_create_memset_lli()
1119 vaddr = dma_pool_alloc(atdma->memset_pool, GFP_NOWAIT, &paddr); in atc_prep_dma_memset()
1186 vaddr = dma_pool_alloc(atdma->memset_pool, GFP_NOWAIT, &paddr); in atc_prep_dma_memset_sg()
1303 atdma_sg->lli = dma_pool_alloc(atdma->lli_pool, in atc_prep_slave_sg()
1352 atdma_sg->lli = dma_pool_alloc(atdma->lli_pool, in atc_prep_slave_sg()
1437 atdma_sg->lli = dma_pool_alloc(atdma->lli_pool, GFP_ATOMIC, in atc_dma_cyclic_fill_desc()
Dls2x-apb-dma.c350 ldma_sg->hw = dma_pool_alloc(lchan->pool, GFP_NOWAIT, &ldma_sg->llp); in ls2x_dma_prep_slave_sg()
416 ldma_sg->hw = dma_pool_alloc(lchan->pool, GFP_NOWAIT, &ldma_sg->llp); in ls2x_dma_prep_dma_cyclic()
Dimg-mdc-dma.c306 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, &curr_phys); in mdc_prep_dma_memcpy()
400 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, in mdc_prep_dma_cyclic()
480 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, in mdc_prep_slave_sg()
Dsun6i-dma.c670 v_lli = dma_pool_alloc(sdev->pool, GFP_DMA32 | GFP_NOWAIT, &p_lli); in sun6i_dma_prep_dma_memcpy()
729 v_lli = dma_pool_alloc(sdev->pool, GFP_DMA32 | GFP_NOWAIT, &p_lli); in sun6i_dma_prep_slave_sg()
812 v_lli = dma_pool_alloc(sdev->pool, GFP_DMA32 | GFP_NOWAIT, &p_lli); in sun6i_dma_prep_dma_cyclic()
Dfsl-qdma.c410 dma_pool_alloc(queue->comp_pool, GFP_KERNEL, in fsl_qdma_pre_request_enqueue_desc()
416 dma_pool_alloc(queue->desc_pool, GFP_KERNEL, in fsl_qdma_pre_request_enqueue_desc()
/linux-6.12.1/mm/
Ddmapool.c404 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() function
439 EXPORT_SYMBOL(dma_pool_alloc);
Ddmapool_test.c45 p[i].v = dma_pool_alloc(pool, GFP_KERNEL, in dmapool_test_alloc()
/linux-6.12.1/drivers/usb/core/
Dbuffer.c139 return dma_pool_alloc(hcd->pool[i], mem_flags, dma); in hcd_buffer_alloc()
/linux-6.12.1/drivers/scsi/megaraid/
Dmegaraid_mm.c569 kioc->buf_vaddr = dma_pool_alloc(pool->handle, GFP_ATOMIC, in mraid_mm_attach_buf()
971 kioc->pthru32 = dma_pool_alloc(adapter->pthru_dma_pool, in mraid_mm_register_adp()
1094 pool->vaddr = dma_pool_alloc(pool->handle, GFP_KERNEL, in mraid_mm_setup_dma_pools()
Dmegaraid_sas_fusion.c509 fusion->sense = dma_pool_alloc(fusion->sense_dma_pool, in megasas_create_sg_sense_fusion()
544 fusion->sense = dma_pool_alloc(fusion->sense_dma_pool, in megasas_create_sg_sense_fusion()
559 cmd->sg_frame = dma_pool_alloc(fusion->sg_dma_pool, in megasas_create_sg_sense_fusion()
644 dma_pool_alloc(fusion->io_request_frames_pool, in megasas_alloc_request_fusion()
683 dma_pool_alloc(fusion->io_request_frames_pool, in megasas_alloc_request_fusion()
729 dma_pool_alloc(fusion->reply_frames_desc_pool, in megasas_alloc_reply_fusion()
760 dma_pool_alloc(fusion->reply_frames_desc_pool, in megasas_alloc_reply_fusion()
843 dma_pool_alloc(fusion->reply_frames_desc_pool, in megasas_alloc_rdpq_fusion()
869 dma_pool_alloc(fusion->reply_frames_desc_pool_align, in megasas_alloc_rdpq_fusion()
/linux-6.12.1/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c106 dma_pool_alloc(dpaa2_chan->fd_pool, GFP_NOWAIT, in dpaa2_qdma_request_desc()
112 dma_pool_alloc(dpaa2_chan->fl_pool, GFP_NOWAIT, in dpaa2_qdma_request_desc()
118 dma_pool_alloc(dpaa2_chan->sdd_pool, GFP_NOWAIT, in dpaa2_qdma_request_desc()
/linux-6.12.1/drivers/usb/host/
Dehci-mem.c41 qtd = dma_pool_alloc (ehci->qtd_pool, flags, &dma); in ehci_qtd_alloc()
/linux-6.12.1/drivers/crypto/intel/ixp4xx/
Dixp4xx_crypto.c600 dir->npe_ctx = dma_pool_alloc(ctx_pool, GFP_KERNEL, &dir->npe_ctx_phys); in init_sa_dir()
692 pad = dma_pool_alloc(ctx_pool, GFP_KERNEL, &pad_phys); in register_chain_var()
695 buf = dma_pool_alloc(buffer_pool, GFP_KERNEL, &buf_phys); in register_chain_var()
882 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers()
1177 req_ctx->hmac_virt = dma_pool_alloc(buffer_pool, flags, &dma); in aead_perform()
/linux-6.12.1/drivers/net/ethernet/google/gve/
Dgve_adminq.c285 priv->adminq = dma_pool_alloc(priv->adminq_pool, GFP_KERNEL, in gve_adminq_alloc()
994 descriptor = dma_pool_alloc(priv->adminq_pool, GFP_KERNEL, in gve_adminq_describe_device()
1422 descriptor = dma_pool_alloc(priv->adminq_pool, GFP_KERNEL, &descriptor_bus); in gve_adminq_query_flow_rules()
1486 descriptor = dma_pool_alloc(priv->adminq_pool, GFP_KERNEL, &descriptor_bus); in gve_adminq_query_rss_config()
/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c262 dma_pool_alloc(hr_dev->cmd.pool, GFP_KERNEL, &mailbox->dma); in hns_roce_alloc_cmd_mailbox()
/linux-6.12.1/drivers/crypto/marvell/cesa/
Dtdma.c263 op = dma_pool_alloc(cesa_dev->dma->op_pool, flags, &dma_handle); in mv_cesa_dma_add_op()
Dhash.c52 req->cache = dma_pool_alloc(cesa_dev->dma->cache_pool, flags, in mv_cesa_ahash_dma_alloc_cache()
76 req->padding = dma_pool_alloc(cesa_dev->dma->padding_pool, flags, in mv_cesa_ahash_dma_alloc_padding()
/linux-6.12.1/drivers/usb/gadget/udc/
Dpch_udc.c1524 td = dma_pool_alloc(ep->dev->data_requests, gfp_flags, in pch_udc_create_dma_chain()
1728 dma_desc = dma_pool_alloc(ep->dev->data_requests, gfp, in pch_udc_alloc_request()
2872 td_stp = dma_pool_alloc(dev->stp_requests, GFP_KERNEL, in init_dma_pools()
2882 td_data = dma_pool_alloc(dev->data_requests, GFP_KERNEL, in init_dma_pools()
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_bsg.c1573 void *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_update_fru_versions()
1624 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_read_fru_status()
1675 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_write_fru_status()
1722 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_write_i2c()
1768 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_read_i2c()
Dqla_iocb.c891 dma_pool_alloc(ha->dl_dma_pool, GFP_ATOMIC, in qla24xx_walk_and_build_sglist_no_difb()
988 dma_pool_alloc(ha->dl_dma_pool, GFP_ATOMIC, in qla24xx_walk_and_build_sglist()
1137 dsd_ptr->dsd_addr = dma_pool_alloc in qla24xx_walk_and_build_prot_sglist()
1224 dma_pool_alloc(ha->dl_dma_pool, GFP_ATOMIC, in qla24xx_walk_and_build_prot_sglist()
1289 dma_pool_alloc(ha->dl_dma_pool, GFP_ATOMIC, in qla24xx_walk_and_build_prot_sglist()
3461 dsd_ptr->dsd_addr = dma_pool_alloc(ha->dl_dma_pool, in qla82xx_start_scsi()
4326 dsd_ptr->dsd_addr = dma_pool_alloc(ha->dl_dma_pool, in qla_start_scsi_type6()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hwrm.c70 req_addr = dma_pool_alloc(bp->hwrm_dma_pool, GFP_KERNEL | __GFP_ZERO, in __hwrm_req_init()

1234