Home
last modified time | relevance | path

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

1234

/Linux-v5.10/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-v5.10/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-v5.10/drivers/scsi/lpfc/
Dlpfc_mem.c106 pool->elements[i].virt = dma_pool_alloc(phba->lpfc_mbuf_pool, in lpfc_mem_alloc()
369 ret = dma_pool_alloc(phba->lpfc_mbuf_pool, GFP_KERNEL, handle); in lpfc_mbuf_alloc()
453 ret = dma_pool_alloc(phba->lpfc_sg_dma_buf_pool, GFP_KERNEL, handle); in lpfc_nvmet_buf_alloc()
494 hbqbp->dbuf.virt = dma_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL, in lpfc_els_hbq_alloc()
546 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc()
552 dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_drb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc()
606 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_nvmet_alloc()
612 dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_nvmet_drb_pool, in lpfc_sli4_nvmet_alloc()
/Linux-v5.10/drivers/usb/host/
Dehci-mem.c41 qtd = dma_pool_alloc (ehci->qtd_pool, flags, &dma); in ehci_qtd_alloc()
76 dma_pool_alloc(ehci->qh_pool, flags, &dma); in ehci_qh_alloc()
/Linux-v5.10/drivers/staging/kpc2000/kpc_dma/
Ddma.c108 eng->desc_pool_first = dma_pool_alloc(eng->desc_pool, GFP_KERNEL | GFP_DMA, &head_handle); in setup_dma_engine()
120 next = dma_pool_alloc(eng->desc_pool, GFP_KERNEL | GFP_DMA, &next_handle); in setup_dma_engine()
/Linux-v5.10/drivers/dma/
Dcoh901318_lli.c68 head = dma_pool_alloc(pool->dmapool, GFP_NOWAIT, &phy); in coh901318_lli_alloc()
83 lli = dma_pool_alloc(pool->dmapool, GFP_NOWAIT, &phy); in coh901318_lli_alloc()
Dfsl_raid.c296 cf = dma_pool_alloc(re_chan->re_dev->cf_desc_pool, GFP_NOWAIT, in fsl_re_chan_alloc_desc()
585 cf = dma_pool_alloc(re_chan->re_dev->cf_desc_pool, GFP_KERNEL, in fsl_re_alloc_chan_resources()
693 chan->inb_ring_virt_addr = dma_pool_alloc(chan->re_dev->hw_desc_pool, in fsl_re_chan_probe()
701 chan->oub_ring_virt_addr = dma_pool_alloc(chan->re_dev->hw_desc_pool, in fsl_re_chan_probe()
Dimg-mdc-dma.c307 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, &curr_phys); in mdc_prep_dma_memcpy()
401 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, in mdc_prep_dma_cyclic()
481 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, in mdc_prep_slave_sg()
Dsun6i-dma.c651 v_lli = dma_pool_alloc(sdev->pool, GFP_NOWAIT, &p_lli); in sun6i_dma_prep_dma_memcpy()
711 v_lli = dma_pool_alloc(sdev->pool, GFP_NOWAIT, &p_lli); in sun6i_dma_prep_slave_sg()
790 v_lli = dma_pool_alloc(sdev->pool, GFP_NOWAIT, &p_lli); in sun6i_dma_prep_dma_cyclic()
Dfsl-qdma.c409 dma_pool_alloc(queue->comp_pool, GFP_KERNEL, in fsl_qdma_pre_request_enqueue_desc()
415 dma_pool_alloc(queue->desc_pool, GFP_KERNEL, in fsl_qdma_pre_request_enqueue_desc()
/Linux-v5.10/drivers/usb/core/
Dbuffer.c137 return dma_pool_alloc(hcd->pool[i], mem_flags, dma); in hcd_buffer_alloc()
/Linux-v5.10/mm/
Ddmapool.c314 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() function
380 EXPORT_SYMBOL(dma_pool_alloc);
/Linux-v5.10/drivers/scsi/megaraid/
Dmegaraid_mm.c565 kioc->buf_vaddr = dma_pool_alloc(pool->handle, GFP_ATOMIC, in mraid_mm_attach_buf()
962 kioc->pthru32 = dma_pool_alloc(adapter->pthru_dma_pool, in mraid_mm_register_adp()
1085 pool->vaddr = dma_pool_alloc(pool->handle, GFP_KERNEL, in mraid_mm_setup_dma_pools()
Dmegaraid_sas_fusion.c476 fusion->sense = dma_pool_alloc(fusion->sense_dma_pool, in megasas_create_sg_sense_fusion()
511 fusion->sense = dma_pool_alloc(fusion->sense_dma_pool, in megasas_create_sg_sense_fusion()
526 cmd->sg_frame = dma_pool_alloc(fusion->sg_dma_pool, in megasas_create_sg_sense_fusion()
611 dma_pool_alloc(fusion->io_request_frames_pool, in megasas_alloc_request_fusion()
650 dma_pool_alloc(fusion->io_request_frames_pool, in megasas_alloc_request_fusion()
694 dma_pool_alloc(fusion->reply_frames_desc_pool, in megasas_alloc_reply_fusion()
725 dma_pool_alloc(fusion->reply_frames_desc_pool, in megasas_alloc_reply_fusion()
807 dma_pool_alloc(fusion->reply_frames_desc_pool, in megasas_alloc_rdpq_fusion()
833 dma_pool_alloc(fusion->reply_frames_desc_pool_align, in megasas_alloc_rdpq_fusion()
/Linux-v5.10/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c104 dma_pool_alloc(dpaa2_chan->fd_pool, GFP_NOWAIT, in dpaa2_qdma_request_desc()
110 dma_pool_alloc(dpaa2_chan->fl_pool, GFP_NOWAIT, in dpaa2_qdma_request_desc()
116 dma_pool_alloc(dpaa2_chan->sdd_pool, GFP_NOWAIT, in dpaa2_qdma_request_desc()
/Linux-v5.10/drivers/crypto/
Dixp4xx_crypto.c545 dir->npe_ctx = dma_pool_alloc(ctx_pool, GFP_KERNEL, &dir->npe_ctx_phys); in init_sa_dir()
615 pad = dma_pool_alloc(ctx_pool, GFP_KERNEL, &pad_phys); in register_chain_var()
618 buf = dma_pool_alloc(buffer_pool, GFP_KERNEL, &buf_phys); in register_chain_var()
800 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers()
1060 req_ctx->hmac_virt = dma_pool_alloc(buffer_pool, flags, in aead_perform()
Dpicoxcell_crypto.c296 ddt = dma_pool_alloc(engine->req_pool, GFP_ATOMIC, ddt_phys); in spacc_sg_to_ddt()
345 src_ddt = dma_pool_alloc(engine->req_pool, GFP_ATOMIC, &req->src_addr); in spacc_aead_make_ddts()
349 dst_ddt = dma_pool_alloc(engine->req_pool, GFP_ATOMIC, &req->dst_addr); in spacc_aead_make_ddts()
/Linux-v5.10/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c274 mailbox->buf = dma_pool_alloc(hr_dev->cmd.pool, GFP_KERNEL, in hns_roce_alloc_cmd_mailbox()
/Linux-v5.10/drivers/crypto/marvell/cesa/
Dtdma.c263 op = dma_pool_alloc(cesa_dev->dma->op_pool, flags, &dma_handle); in mv_cesa_dma_add_op()
/Linux-v5.10/drivers/nvme/host/
Dlightnvm.c725 return dma_pool_alloc(pool, mem_flags, dma_handler); in nvme_nvm_dev_dma_alloc()
780 ppa_list = dma_pool_alloc(dev->dma_pool, GFP_KERNEL, &ppa_dma); in nvme_nvm_submit_user_cmd()
802 metadata = dma_pool_alloc(dev->dma_pool, GFP_KERNEL, in nvme_nvm_submit_user_cmd()
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_bsg.c1549 void *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_update_fru_versions()
1600 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_read_fru_status()
1651 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_write_fru_status()
1698 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_write_i2c()
1744 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_read_i2c()
Dqla_iocb.c944 dma_pool_alloc(ha->dl_dma_pool, GFP_ATOMIC, in qla24xx_walk_and_build_sglist_no_difb()
1041 dma_pool_alloc(ha->dl_dma_pool, GFP_ATOMIC, in qla24xx_walk_and_build_sglist()
1190 dsd_ptr->dsd_addr = dma_pool_alloc in qla24xx_walk_and_build_prot_sglist()
1277 dma_pool_alloc(ha->dl_dma_pool, GFP_ATOMIC, in qla24xx_walk_and_build_prot_sglist()
1342 dma_pool_alloc(ha->dl_dma_pool, GFP_ATOMIC, in qla24xx_walk_and_build_prot_sglist()
3335 dsd_ptr->dsd_addr = dma_pool_alloc(ha->dl_dma_pool, in qla82xx_start_scsi()
/Linux-v5.10/drivers/usb/gadget/udc/
Dpch_udc.c1546 td = dma_pool_alloc(ep->dev->data_requests, gfp_flags, in pch_udc_create_dma_chain()
1751 dma_desc = dma_pool_alloc(ep->dev->data_requests, gfp, in pch_udc_alloc_request()
2911 td_stp = dma_pool_alloc(dev->stp_requests, GFP_KERNEL, in init_dma_pools()
2921 td_data = dma_pool_alloc(dev->data_requests, GFP_KERNEL, in init_dma_pools()
/Linux-v5.10/arch/arm/common/
Ddmabounce.c137 buf->safe = dma_pool_alloc(pool->pool, GFP_ATOMIC, in alloc_safe_buffer()
/Linux-v5.10/Documentation/core-api/
Ddma-api-howto.rst417 cpu_addr = dma_pool_alloc(pool, flags, &dma_handle);
427 where pool is what you passed to dma_pool_alloc(), and cpu_addr and
428 dma_handle are the values dma_pool_alloc() returned. This function
714 returned by the dma_alloc_coherent(), dma_pool_alloc(), and dma_map_single()

1234