/linux/include/linux/ |
A D | dmapool.h | 26 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/scripts/coccinelle/api/alloc/ |
A D | pool_zalloc-simple.cocci | 25 * 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/drivers/scsi/lpfc/ |
A D | lpfc_mem.c | 107 pool->elements[i].virt = dma_pool_alloc(phba->lpfc_mbuf_pool, in lpfc_mem_alloc() 383 ret = dma_pool_alloc(phba->lpfc_mbuf_pool, GFP_KERNEL, handle); in lpfc_mbuf_alloc() 467 ret = dma_pool_alloc(phba->lpfc_sg_dma_buf_pool, GFP_KERNEL, handle); in lpfc_nvmet_buf_alloc() 508 hbqbp->dbuf.virt = dma_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL, in lpfc_els_hbq_alloc() 560 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc() 566 dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_drb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc() 618 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_nvmet_alloc() 624 dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_nvmet_drb_pool, in lpfc_sli4_nvmet_alloc()
|
/linux/drivers/dma/ |
A D | fsl_raid.c | 296 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()
|
A D | img-mdc-dma.c | 307 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()
|
A D | sun6i-dma.c | 651 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()
|
A D | fsl-qdma.c | 409 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()
|
A D | idma64.c | 310 hw->lli = dma_pool_alloc(idma64c->pool, GFP_NOWAIT, &hw->llp); in idma64_prep_slave_sg()
|
/linux/drivers/usb/core/ |
A D | buffer.c | 139 return dma_pool_alloc(hcd->pool[i], mem_flags, dma); in hcd_buffer_alloc()
|
/linux/mm/ |
A D | dmapool.c | 314 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() function 380 EXPORT_SYMBOL(dma_pool_alloc);
|
/linux/drivers/scsi/megaraid/ |
A D | megaraid_mm.c | 569 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()
|
A D | megaraid_sas_fusion.c | 509 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/drivers/dma/fsl-dpaa2-qdma/ |
A D | dpaa2-qdma.c | 104 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/drivers/crypto/ |
A D | ixp4xx_crypto.c | 599 dir->npe_ctx = dma_pool_alloc(ctx_pool, GFP_KERNEL, &dir->npe_ctx_phys); in init_sa_dir() 691 pad = dma_pool_alloc(ctx_pool, GFP_KERNEL, &pad_phys); in register_chain_var() 694 buf = dma_pool_alloc(buffer_pool, GFP_KERNEL, &buf_phys); in register_chain_var() 881 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers() 1175 req_ctx->hmac_virt = dma_pool_alloc(buffer_pool, flags, in aead_perform()
|
/linux/drivers/usb/host/ |
A D | ehci-mem.c | 41 qtd = dma_pool_alloc (ehci->qtd_pool, flags, &dma); in ehci_qtd_alloc()
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_cmd.c | 255 dma_pool_alloc(hr_dev->cmd.pool, GFP_KERNEL, &mailbox->dma); in hns_roce_alloc_cmd_mailbox()
|
/linux/drivers/crypto/marvell/cesa/ |
A D | tdma.c | 263 op = dma_pool_alloc(cesa_dev->dma->op_pool, flags, &dma_handle); in mv_cesa_dma_add_op()
|
A D | hash.c | 52 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/drivers/usb/gadget/udc/ |
A D | pch_udc.c | 1525 td = dma_pool_alloc(ep->dev->data_requests, gfp_flags, in pch_udc_create_dma_chain() 1729 dma_desc = dma_pool_alloc(ep->dev->data_requests, gfp, in pch_udc_alloc_request() 2873 td_stp = dma_pool_alloc(dev->stp_requests, GFP_KERNEL, in init_dma_pools() 2883 td_data = dma_pool_alloc(dev->data_requests, GFP_KERNEL, in init_dma_pools()
|
A D | snps_udc_core.c | 535 dma_desc = dma_pool_alloc(ep->dev->data_requests, gfp, in udc_alloc_request() 795 td = dma_pool_alloc(ep->dev->data_requests, in udc_create_dma_chain() 3096 td_stp = dma_pool_alloc(dev->stp_requests, GFP_KERNEL, in init_dma_pools() 3105 td_data = dma_pool_alloc(dev->stp_requests, GFP_KERNEL, in init_dma_pools()
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_bsg.c | 1567 void *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_update_fru_versions() 1618 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_read_fru_status() 1669 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_write_fru_status() 1716 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_write_i2c() 1762 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_read_i2c()
|
A D | qla_iocb.c | 891 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() 3395 dsd_ptr->dsd_addr = dma_pool_alloc(ha->dl_dma_pool, in qla82xx_start_scsi()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_hwrm.c | 70 req_addr = dma_pool_alloc(bp->hwrm_dma_pool, GFP_KERNEL | __GFP_ZERO, in __hwrm_req_init()
|
/linux/arch/arm/common/ |
A D | dmabounce.c | 137 buf->safe = dma_pool_alloc(pool->pool, GFP_ATOMIC, in alloc_safe_buffer()
|
/linux/Documentation/core-api/ |
A D | dma-api-howto.rst | 417 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()
|