| /Linux-v5.4/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-v5.4/scripts/coccinelle/api/alloc/ | 
| 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-v5.4/drivers/scsi/lpfc/ | 
| D | lpfc_mem.c | 108 		pool->elements[i].virt = dma_pool_alloc(phba->lpfc_mbuf_pool,  in lpfc_mem_alloc()374 	ret = dma_pool_alloc(phba->lpfc_mbuf_pool, GFP_KERNEL, handle);  in lpfc_mbuf_alloc()
 458 	ret = dma_pool_alloc(phba->lpfc_sg_dma_buf_pool, GFP_KERNEL, handle);  in lpfc_nvmet_buf_alloc()
 499 	hbqbp->dbuf.virt = dma_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL,  in lpfc_els_hbq_alloc()
 551 	dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL,  in lpfc_sli4_rb_alloc()
 557 	dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_drb_pool, GFP_KERNEL,  in lpfc_sli4_rb_alloc()
 611 	dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL,  in lpfc_sli4_nvmet_alloc()
 617 	dma_buf->dbuf.virt = dma_pool_alloc(phba->lpfc_nvmet_drb_pool,  in lpfc_sli4_nvmet_alloc()
 
 | 
| /Linux-v5.4/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-v5.4/drivers/staging/kpc2000/kpc_dma/ | 
| D | dma.c | 109 	eng->desc_pool_first = dma_pool_alloc(eng->desc_pool, GFP_KERNEL | GFP_DMA, &head_handle);  in setup_dma_engine()121 		next = dma_pool_alloc(eng->desc_pool, GFP_KERNEL | GFP_DMA, &next_handle);  in setup_dma_engine()
 
 | 
| /Linux-v5.4/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 | 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()
 
 | 
| 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()
 
 | 
| D | fsl-qdma.c | 397 			dma_pool_alloc(queue->comp_pool, GFP_KERNEL,  in fsl_qdma_pre_request_enqueue_desc()403 			dma_pool_alloc(queue->desc_pool, GFP_KERNEL,  in fsl_qdma_pre_request_enqueue_desc()
 
 | 
| /Linux-v5.4/drivers/usb/core/ | 
| D | buffer.c | 137 			return dma_pool_alloc(hcd->pool[i], mem_flags, dma);  in hcd_buffer_alloc()
 | 
| /Linux-v5.4/mm/ | 
| D | dmapool.c | 319 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags,  in dma_pool_alloc()  function386 EXPORT_SYMBOL(dma_pool_alloc);
 
 | 
| /Linux-v5.4/drivers/scsi/megaraid/ | 
| D | megaraid_mm.c | 573 	kioc->buf_vaddr		= dma_pool_alloc(pool->handle, GFP_ATOMIC,  in mraid_mm_attach_buf()970 		kioc->pthru32	= dma_pool_alloc(adapter->pthru_dma_pool,  in mraid_mm_register_adp()
 1093 		pool->vaddr = dma_pool_alloc(pool->handle, GFP_KERNEL,  in mraid_mm_setup_dma_pools()
 
 | 
| D | megaraid_sas_fusion.c | 461 	fusion->sense = dma_pool_alloc(fusion->sense_dma_pool,  in megasas_create_sg_sense_fusion()496 		fusion->sense = dma_pool_alloc(fusion->sense_dma_pool,  in megasas_create_sg_sense_fusion()
 511 		cmd->sg_frame = dma_pool_alloc(fusion->sg_dma_pool,  in megasas_create_sg_sense_fusion()
 596 			dma_pool_alloc(fusion->io_request_frames_pool,  in megasas_alloc_request_fusion()
 634 			dma_pool_alloc(fusion->io_request_frames_pool,  in megasas_alloc_request_fusion()
 678 		dma_pool_alloc(fusion->reply_frames_desc_pool,  in megasas_alloc_reply_fusion()
 709 			dma_pool_alloc(fusion->reply_frames_desc_pool,  in megasas_alloc_reply_fusion()
 791 			dma_pool_alloc(fusion->reply_frames_desc_pool,  in megasas_alloc_rdpq_fusion()
 817 				dma_pool_alloc(fusion->reply_frames_desc_pool_align,  in megasas_alloc_rdpq_fusion()
 
 | 
| /Linux-v5.4/drivers/crypto/ | 
| D | ixp4xx_crypto.c | 544 	dir->npe_ctx = dma_pool_alloc(ctx_pool, GFP_KERNEL, &dir->npe_ctx_phys);  in init_sa_dir()609 	pad = dma_pool_alloc(ctx_pool, GFP_KERNEL, &pad_phys);  in register_chain_var()
 612 	buf = dma_pool_alloc(buffer_pool, GFP_KERNEL, &buf_phys);  in register_chain_var()
 793 		next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys);  in chainup_buffers()
 1064 		req_ctx->hmac_virt = dma_pool_alloc(buffer_pool, flags,  in aead_perform()
 
 | 
| D | picoxcell_crypto.c | 295 	ddt = dma_pool_alloc(engine->req_pool, GFP_ATOMIC, ddt_phys);  in spacc_sg_to_ddt()344 	src_ddt = dma_pool_alloc(engine->req_pool, GFP_ATOMIC, &req->src_addr);  in spacc_aead_make_ddts()
 348 	dst_ddt = dma_pool_alloc(engine->req_pool, GFP_ATOMIC, &req->dst_addr);  in spacc_aead_make_ddts()
 
 | 
| /Linux-v5.4/drivers/infiniband/hw/hns/ | 
| D | hns_roce_cmd.c | 274 	mailbox->buf = dma_pool_alloc(hr_dev->cmd.pool, GFP_KERNEL,  in hns_roce_alloc_cmd_mailbox()
 | 
| /Linux-v5.4/drivers/crypto/marvell/ | 
| D | tdma.c | 261 	op = dma_pool_alloc(cesa_dev->dma->op_pool, flags, &dma_handle);  in mv_cesa_dma_add_op()
 | 
| D | hash.c | 49 	req->cache = dma_pool_alloc(cesa_dev->dma->cache_pool, flags,  in mv_cesa_ahash_dma_alloc_cache()73 	req->padding = dma_pool_alloc(cesa_dev->dma->padding_pool, flags,  in mv_cesa_ahash_dma_alloc_padding()
 
 | 
| /Linux-v5.4/drivers/nvme/host/ | 
| D | lightnvm.c | 725 	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.4/drivers/scsi/qla2xxx/ | 
| D | qla_bsg.c | 1534 	void *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma);  in qla2x00_update_fru_versions()1585 	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()
 1683 	uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma);  in qla2x00_write_i2c()
 1729 	uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma);  in qla2x00_read_i2c()
 
 | 
| D | qla_iocb.c | 943 			    dma_pool_alloc(ha->dl_dma_pool, GFP_ATOMIC,  in qla24xx_walk_and_build_sglist_no_difb()1040 			    dma_pool_alloc(ha->dl_dma_pool, GFP_ATOMIC,  in qla24xx_walk_and_build_sglist()
 1189 					dsd_ptr->dsd_addr = dma_pool_alloc  in qla24xx_walk_and_build_prot_sglist()
 1276 				    dma_pool_alloc(ha->dl_dma_pool, GFP_ATOMIC,  in qla24xx_walk_and_build_prot_sglist()
 1341 				    dma_pool_alloc(ha->dl_dma_pool, GFP_ATOMIC,  in qla24xx_walk_and_build_prot_sglist()
 3156 			dsd_ptr->dsd_addr = dma_pool_alloc(ha->dl_dma_pool,  in qla82xx_start_scsi()
 
 | 
| /Linux-v5.4/drivers/usb/gadget/udc/ | 
| D | pch_udc.c | 1564 		td = dma_pool_alloc(ep->dev->data_requests, gfp_flags,  in pch_udc_create_dma_chain()1769 	dma_desc = dma_pool_alloc(ep->dev->data_requests, gfp,  in pch_udc_alloc_request()
 2930 	td_stp = dma_pool_alloc(dev->stp_requests, GFP_KERNEL,  in init_dma_pools()
 2940 	td_data = dma_pool_alloc(dev->data_requests, GFP_KERNEL,  in init_dma_pools()
 
 | 
| /Linux-v5.4/arch/arm/common/ | 
| D | dmabounce.c | 136 		buf->safe = dma_pool_alloc(pool->pool, GFP_ATOMIC,  in alloc_safe_buffer()
 | 
| /Linux-v5.4/Documentation/ | 
| D | DMA-API-HOWTO.txt | 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()
 
 |