Searched refs:sg_pool (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/lib/ |
D | sg_pool.c | 10 struct sg_pool { struct 21 static struct sg_pool sg_pools[] = { argument 56 struct sg_pool *sgp; in sg_pool_free() 64 struct sg_pool *sgp; in sg_pool_alloc() 146 struct sg_pool *sgp = sg_pools + i; in sg_pool_init() 170 struct sg_pool *sgp = sg_pools + i; in sg_pool_init() 184 struct sg_pool *sgp = sg_pools + i; in sg_pool_exit()
|
D | Makefile | 214 obj-$(CONFIG_SG_POOL) += sg_pool.o
|
/Linux-v5.4/drivers/scsi/megaraid/ |
D | megaraid_mbox.h | 197 struct mraid_pci_blk sg_pool[MBOX_MAX_SCSI_CMDS]; member
|
D | megaraid_mbox.c | 1035 sg_pci_blk = raid_dev->sg_pool; in megaraid_alloc_cmd_packets() 1200 sg_pci_blk = raid_dev->sg_pool; in megaraid_mbox_setup_dma_pools() 1236 sg_pci_blk = raid_dev->sg_pool; in megaraid_mbox_teardown_dma_pools()
|
/Linux-v5.4/drivers/scsi/ |
D | myrs.c | 1733 hw_sgl = dma_pool_alloc(cs->sg_pool, GFP_ATOMIC, in myrs_queuecommand() 2081 dma_pool_free(cs->sg_pool, cmd_blk->sgl, in myrs_handle_scsi() 2183 cs->sg_pool = dma_pool_create("myrs_sg", &pdev->dev, in myrs_create_mempools() 2185 if (cs->sg_pool == NULL) { in myrs_create_mempools() 2194 dma_pool_destroy(cs->sg_pool); in myrs_create_mempools() 2195 cs->sg_pool = NULL; in myrs_create_mempools() 2205 dma_pool_destroy(cs->sg_pool); in myrs_create_mempools() 2206 cs->sg_pool = NULL; in myrs_create_mempools() 2220 dma_pool_destroy(cs->sg_pool); in myrs_create_mempools() 2221 cs->sg_pool = NULL; in myrs_create_mempools() [all …]
|
D | myrb.c | 96 cb->sg_pool = dma_pool_create("myrb_sg", &pdev->dev, in myrb_create_mempools() 98 if (cb->sg_pool == NULL) { in myrb_create_mempools() 108 dma_pool_destroy(cb->sg_pool); in myrb_create_mempools() 109 cb->sg_pool = NULL; in myrb_create_mempools() 121 dma_pool_destroy(cb->sg_pool); in myrb_create_mempools() 122 cb->sg_pool = NULL; in myrb_create_mempools() 145 dma_pool_destroy(cb->sg_pool); in myrb_destroy_mempools() 1602 hw_sgl = dma_pool_alloc(cb->sg_pool, GFP_ATOMIC, &hw_sgl_addr); in myrb_ldev_queuecommand() 2342 dma_pool_free(cb->sg_pool, cmd_blk->sgl, cmd_blk->sgl_addr); in myrb_handle_scsi()
|
D | myrb.h | 720 struct dma_pool *sg_pool; member
|
D | myrs.h | 914 struct dma_pool *sg_pool; member
|
/Linux-v5.4/drivers/scsi/ibmvscsi/ |
D | ibmvfc.h | 694 struct dma_pool *sg_pool; member
|
D | ibmvfc.c | 1245 dma_pool_free(vhost->sg_pool, in ibmvfc_free_event_pool() 1358 evt->ext_list = dma_pool_alloc(vhost->sg_pool, GFP_ATOMIC, in ibmvfc_map_sg_data() 4585 dma_pool_destroy(vhost->sg_pool); in ibmvfc_free_mem() 4621 vhost->sg_pool = dma_pool_create(IBMVFC_NAME, dev, in ibmvfc_alloc_mem() 4625 if (!vhost->sg_pool) { in ibmvfc_alloc_mem() 4673 dma_pool_destroy(vhost->sg_pool); in ibmvfc_alloc_mem()
|