/linux/include/linux/ |
H 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/drivers/scsi/lpfc/ |
H A D | lpfc_mem.c | 130 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/scripts/coccinelle/api/alloc/ |
H 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/mm/ |
H A D | dmapool.c | 404 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() function 439 EXPORT_SYMBOL(dma_pool_alloc);
|
H A D | dmapool_test.c | 45 p[i].v = dma_pool_alloc(pool, GFP_KERNEL, in dmapool_test_alloc()
|
/linux/drivers/usb/core/ |
H A D | buffer.c | 139 return dma_pool_alloc(hcd->pool[i], mem_flags, dma); in hcd_buffer_alloc()
|
/linux/drivers/scsi/megaraid/ |
H 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()
|
H 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()
|
H A D | megaraid_mbox.c | 1155 mbox_pci_blk[i].vaddr = dma_pool_alloc( in megaraid_mbox_setup_dma_pools() 1181 epthru_pci_blk[i].vaddr = dma_pool_alloc( in megaraid_mbox_setup_dma_pools() 1204 sg_pci_blk[i].vaddr = dma_pool_alloc( in megaraid_mbox_setup_dma_pools()
|
/linux/drivers/usb/host/ |
H A D | ehci-mem.c | 41 qtd = dma_pool_alloc (ehci->qtd_pool, flags, &dma); in ehci_qtd_alloc()
|
/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_adminq.c | 285 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/drivers/infiniband/hw/hns/ |
H A D | hns_roce_cmd.c | 262 dma_pool_alloc(hr_dev->cmd.pool, GFP_KERNEL, &mailbox->dma); in hns_roce_alloc_cmd_mailbox()
|
/linux/drivers/crypto/marvell/cesa/ |
H A D | tdma.c | 263 op = dma_pool_alloc(cesa_dev->dma->op_pool, flags, &dma_handle); in mv_cesa_dma_add_op()
|
H 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/ |
H A D | pch_udc.c | 1524 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/drivers/scsi/qla2xxx/ |
H 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()
|
H 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() 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/drivers/nvme/host/ |
H A D | apple.c | 438 prp_list = dma_pool_alloc(pool, GFP_ATOMIC, &prp_dma); in apple_nvme_setup_prps() 451 prp_list = dma_pool_alloc(pool, GFP_ATOMIC, &prp_dma); in apple_nvme_setup_prps()
|
H A D | pci.c | 639 prp_list = dma_pool_alloc(pool, GFP_ATOMIC, &prp_dma); in nvme_pci_setup_prps() 650 prp_list = dma_pool_alloc(pool, GFP_ATOMIC, &prp_dma); in nvme_pci_setup_prps() 729 sg_list = dma_pool_alloc(pool, GFP_ATOMIC, &sgl_dma); in nvme_pci_setup_sgls() 869 sg_list = dma_pool_alloc(dev->prp_small_pool, GFP_ATOMIC, &sgl_dma); in nvme_pci_setup_meta_sgls()
|
/linux/Documentation/core-api/ |
H A D | dma-api.rst | 112 Wraps dma_pool_alloc() and also zeroes the returned memory if the 119 dma_pool_alloc(struct dma_pool *pool, gfp_t gfp_flags, 137 dma_pool_alloc(); the CPU (vaddr) and DMA addresses are what
|
H A D | dma-api-howto.rst | 437 cpu_addr = dma_pool_alloc(pool, flags, &dma_handle); 447 where pool is what you passed to dma_pool_alloc(), and cpu_addr and 448 dma_handle are the values dma_pool_alloc() returned. This function
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_rxtx.c | 116 desc = dma_pool_alloc(sdma->desc_pool, GFP_DMA | GFP_KERNEL, &dma); in prestera_sdma_buf_init()
|
/linux/drivers/atm/ |
H A D | he.c | 818 heb = dma_pool_alloc(he_dev->rbpl_pool, GFP_KERNEL, &mapping); in he_init_group() 1611 tpd = dma_pool_alloc(he_dev->tpd_pool, GFP_ATOMIC, &mapping); in __alloc_tpd() 1906 heb = dma_pool_alloc(he_dev->rbpl_pool, GFP_ATOMIC, &mapping); in he_service_rbpl()
|
/linux/drivers/dma/ioat/ |
H A D | prep.c | 90 sed->hw = dma_pool_alloc(ioat_dma->sed_hw_pool[hw_pool], in ioat3_alloc_sed()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_cmdq.c | 132 cmdq_buf->buf = dma_pool_alloc(cmdqs->cmdq_buf_pool, GFP_KERNEL, in hinic_alloc_cmdq_buf()
|