/Linux-v4.19/include/linux/ |
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-v4.19/scripts/coccinelle/api/alloc/ |
D | pool_zalloc-simple.cocci | 24 * x = \(dma_pool_alloc\|pci_pool_alloc\)(...); 38 - x = dma_pool_alloc(a,b,c); 65 x = @p\(dma_pool_alloc\|pci_pool_alloc\)(a,b,c);
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 132 pool->elements[i].virt = dma_pool_alloc(phba->lpfc_mbuf_pool, in lpfc_mem_alloc() 401 ret = dma_pool_alloc(phba->lpfc_mbuf_pool, GFP_KERNEL, handle); in lpfc_mbuf_alloc() 485 ret = dma_pool_alloc(phba->lpfc_sg_dma_buf_pool, GFP_KERNEL, handle); in lpfc_nvmet_buf_alloc() 526 hbqbp->dbuf.virt = dma_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL, in lpfc_els_hbq_alloc() 578 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc() 584 dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_drb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc() 638 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_nvmet_alloc() 644 dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_nvmet_drb_pool, in lpfc_sli4_nvmet_alloc()
|
/Linux-v4.19/drivers/usb/host/ |
D | ehci-mem.c | 41 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-v4.19/drivers/dma/ |
D | coh901318_lli.c | 68 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()
|
D | fsl_raid.c | 298 cf = dma_pool_alloc(re_chan->re_dev->cf_desc_pool, GFP_NOWAIT, in fsl_re_chan_alloc_desc() 587 cf = dma_pool_alloc(re_chan->re_dev->cf_desc_pool, GFP_KERNEL, in fsl_re_alloc_chan_resources() 695 chan->inb_ring_virt_addr = dma_pool_alloc(chan->re_dev->hw_desc_pool, in fsl_re_chan_probe() 703 chan->oub_ring_virt_addr = dma_pool_alloc(chan->re_dev->hw_desc_pool, in fsl_re_chan_probe()
|
D | img-mdc-dma.c | 310 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, &curr_phys); in mdc_prep_dma_memcpy() 404 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, in mdc_prep_dma_cyclic() 484 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, in mdc_prep_slave_sg()
|
D | sun6i-dma.c | 622 v_lli = dma_pool_alloc(sdev->pool, GFP_NOWAIT, &p_lli); in sun6i_dma_prep_dma_memcpy() 684 v_lli = dma_pool_alloc(sdev->pool, GFP_NOWAIT, &p_lli); in sun6i_dma_prep_slave_sg() 767 v_lli = dma_pool_alloc(sdev->pool, GFP_NOWAIT, &p_lli); in sun6i_dma_prep_dma_cyclic()
|
/Linux-v4.19/drivers/usb/core/ |
D | buffer.c | 141 return dma_pool_alloc(hcd->pool[i], mem_flags, dma); in hcd_buffer_alloc()
|
/Linux-v4.19/mm/ |
D | dmapool.c | 320 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() function 387 EXPORT_SYMBOL(dma_pool_alloc);
|
/Linux-v4.19/drivers/crypto/cavium/nitrox/ |
D | nitrox_lib.c | 152 vaddr = dma_pool_alloc(ndev->ctx_pool, (GFP_KERNEL | __GFP_ZERO), &dma); in crypto_alloc_context()
|
/Linux-v4.19/drivers/scsi/megaraid/ |
D | megaraid_mm.c | 577 kioc->buf_vaddr = dma_pool_alloc(pool->handle, GFP_ATOMIC, in mraid_mm_attach_buf() 974 kioc->pthru32 = dma_pool_alloc(adapter->pthru_dma_pool, in mraid_mm_register_adp() 1098 pool->vaddr = dma_pool_alloc(pool->handle, GFP_KERNEL, in mraid_mm_setup_dma_pools()
|
D | megaraid_sas_fusion.c | 398 fusion->sense = dma_pool_alloc(fusion->sense_dma_pool, in megasas_create_sg_sense_fusion() 433 fusion->sense = dma_pool_alloc(fusion->sense_dma_pool, in megasas_create_sg_sense_fusion() 448 cmd->sg_frame = dma_pool_alloc(fusion->sg_dma_pool, in megasas_create_sg_sense_fusion() 532 dma_pool_alloc(fusion->io_request_frames_pool, in megasas_alloc_request_fusion() 570 dma_pool_alloc(fusion->io_request_frames_pool, in megasas_alloc_request_fusion() 614 dma_pool_alloc(fusion->reply_frames_desc_pool, in megasas_alloc_reply_fusion() 645 dma_pool_alloc(fusion->reply_frames_desc_pool, in megasas_alloc_reply_fusion() 726 dma_pool_alloc(fusion->reply_frames_desc_pool, in megasas_alloc_rdpq_fusion() 752 dma_pool_alloc(fusion->reply_frames_desc_pool_align, in megasas_alloc_rdpq_fusion()
|
/Linux-v4.19/drivers/crypto/ |
D | ixp4xx_crypto.c | 547 dir->npe_ctx = dma_pool_alloc(ctx_pool, GFP_KERNEL, &dir->npe_ctx_phys); in init_sa_dir() 612 pad = dma_pool_alloc(ctx_pool, GFP_KERNEL, &pad_phys); in register_chain_var() 615 buf = dma_pool_alloc(buffer_pool, GFP_KERNEL, &buf_phys); in register_chain_var() 807 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers() 1071 req_ctx->hmac_virt = dma_pool_alloc(buffer_pool, flags, in aead_perform()
|
D | picoxcell_crypto.c | 308 ddt = dma_pool_alloc(engine->req_pool, GFP_ATOMIC, ddt_phys); in spacc_sg_to_ddt() 357 src_ddt = dma_pool_alloc(engine->req_pool, GFP_ATOMIC, &req->src_addr); in spacc_aead_make_ddts() 361 dst_ddt = dma_pool_alloc(engine->req_pool, GFP_ATOMIC, &req->dst_addr); in spacc_aead_make_ddts()
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_cmd.c | 269 mailbox->buf = dma_pool_alloc(hr_dev->cmd.pool, GFP_KERNEL, in hns_roce_alloc_cmd_mailbox()
|
/Linux-v4.19/drivers/crypto/marvell/ |
D | tdma.c | 264 op = dma_pool_alloc(cesa_dev->dma->op_pool, flags, &dma_handle); in mv_cesa_dma_add_op()
|
/Linux-v4.19/drivers/nvme/host/ |
D | lightnvm.c | 742 return dma_pool_alloc(pool, mem_flags, dma_handler); in nvme_nvm_dev_dma_alloc() 798 ppa_list = dma_pool_alloc(dev->dma_pool, GFP_KERNEL, &ppa_dma); in nvme_nvm_submit_user_cmd() 820 metadata = dma_pool_alloc(dev->dma_pool, GFP_KERNEL, in nvme_nvm_submit_user_cmd()
|
D | pci.c | 607 prp_list = dma_pool_alloc(pool, GFP_ATOMIC, &prp_dma); in nvme_pci_setup_prps() 619 prp_list = dma_pool_alloc(pool, GFP_ATOMIC, &prp_dma); in nvme_pci_setup_prps() 702 sg_list = dma_pool_alloc(pool, GFP_ATOMIC, &sgl_dma); in nvme_pci_setup_sgls() 718 sg_list = dma_pool_alloc(pool, GFP_ATOMIC, &sgl_dma); in nvme_pci_setup_sgls()
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 1536 void *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_update_fru_versions() 1586 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_read_fru_status() 1636 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_write_fru_status() 1682 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_write_i2c() 1727 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_read_i2c()
|
/Linux-v4.19/drivers/usb/gadget/udc/ |
D | pch_udc.c | 1565 td = dma_pool_alloc(ep->dev->data_requests, gfp_flags, in pch_udc_create_dma_chain() 1770 dma_desc = dma_pool_alloc(ep->dev->data_requests, gfp, in pch_udc_alloc_request() 2931 td_stp = dma_pool_alloc(dev->stp_requests, GFP_KERNEL, in init_dma_pools() 2941 td_data = dma_pool_alloc(dev->data_requests, GFP_KERNEL, in init_dma_pools()
|
/Linux-v4.19/arch/arm/common/ |
D | dmabounce.c | 139 buf->safe = dma_pool_alloc(pool->pool, GFP_ATOMIC, in alloc_safe_buffer()
|
/Linux-v4.19/drivers/scsi/aic94xx/ |
D | aic94xx_hwi.c | 241 seq->next_scb.vaddr = dma_pool_alloc(asd_ha->scb_pool, GFP_KERNEL, in asd_init_scbs() 1060 ascb->dma_scb.vaddr = dma_pool_alloc(asd_ha->scb_pool, in asd_ascb_alloc()
|
/Linux-v4.19/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 4519 dma_pool_alloc(ioc->reply_post_free_dma_pool, in _base_allocate_memory_pools() 4707 ioc->pcie_sg_lookup[i].pcie_sgl = dma_pool_alloc( in _base_allocate_memory_pools() 4747 ct->chain_buffer = dma_pool_alloc( in _base_allocate_memory_pools() 4774 ioc->sense = dma_pool_alloc(ioc->sense_dma_pool, GFP_KERNEL, in _base_allocate_memory_pools() 4804 ioc->sense = dma_pool_alloc(ioc->sense_dma_pool, GFP_KERNEL, in _base_allocate_memory_pools() 4829 ioc->reply = dma_pool_alloc(ioc->reply_dma_pool, GFP_KERNEL, in _base_allocate_memory_pools() 4855 ioc->reply_free = dma_pool_alloc(ioc->reply_free_dma_pool, GFP_KERNEL, in _base_allocate_memory_pools() 4884 dma_pool_alloc(ioc->reply_post_free_array_dma_pool, in _base_allocate_memory_pools()
|
/Linux-v4.19/Documentation/ |
D | DMA-API-HOWTO.txt | 457 cpu_addr = dma_pool_alloc(pool, flags, &dma_handle); 467 where pool is what you passed to dma_pool_alloc(), and cpu_addr and 468 dma_handle are the values dma_pool_alloc() returned. This function 754 returned by the dma_alloc_coherent(), dma_pool_alloc(), and dma_map_single()
|