Home
last modified time | relevance | path

Searched refs:sg_pool (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/lib/
Dsg_pool.c10 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()
147 struct sg_pool *sgp = sg_pools + i; in sg_pool_init()
171 struct sg_pool *sgp = sg_pools + i; in sg_pool_init()
185 struct sg_pool *sgp = sg_pools + i; in sg_pool_exit()
DMakefile262 obj-$(CONFIG_SG_POOL) += sg_pool.o
/linux-5.19.10/drivers/scsi/megaraid/
Dmegaraid_mbox.h197 struct mraid_pci_blk sg_pool[MBOX_MAX_SCSI_CMDS]; member
Dmegaraid_mbox.c1037 sg_pci_blk = raid_dev->sg_pool; in megaraid_alloc_cmd_packets()
1202 sg_pci_blk = raid_dev->sg_pool; in megaraid_mbox_setup_dma_pools()
1238 sg_pci_blk = raid_dev->sg_pool; in megaraid_mbox_teardown_dma_pools()
/linux-5.19.10/drivers/net/ipa/
Dgsi.h85 struct gsi_trans_pool sg_pool; /* scatterlist pool */ member
Dgsi_trans.c362 trans->sgl = gsi_trans_pool_alloc(&trans_info->sg_pool, tre_count); in gsi_channel_trans_alloc()
753 ret = gsi_trans_pool_init(&trans_info->sg_pool, in gsi_channel_trans_init()
792 gsi_trans_pool_exit(&trans_info->sg_pool); in gsi_channel_trans_exit()
/linux-5.19.10/drivers/scsi/
Dmyrs.c1729 hw_sgl = dma_pool_alloc(cs->sg_pool, GFP_ATOMIC, in myrs_queuecommand()
2076 dma_pool_free(cs->sg_pool, cmd_blk->sgl, in myrs_handle_scsi()
2178 cs->sg_pool = dma_pool_create("myrs_sg", &pdev->dev, in myrs_create_mempools()
2180 if (cs->sg_pool == NULL) { in myrs_create_mempools()
2189 dma_pool_destroy(cs->sg_pool); in myrs_create_mempools()
2190 cs->sg_pool = NULL; in myrs_create_mempools()
2200 dma_pool_destroy(cs->sg_pool); in myrs_create_mempools()
2201 cs->sg_pool = NULL; in myrs_create_mempools()
2215 dma_pool_destroy(cs->sg_pool); in myrs_create_mempools()
2216 cs->sg_pool = NULL; in myrs_create_mempools()
[all …]
Dmyrb.c96 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()
1575 hw_sgl = dma_pool_alloc(cb->sg_pool, GFP_ATOMIC, &hw_sgl_addr); in myrb_ldev_queuecommand()
2319 dma_pool_free(cb->sg_pool, cmd_blk->sgl, cmd_blk->sgl_addr); in myrb_handle_scsi()
Dmyrb.h720 struct dma_pool *sg_pool; member
Dmyrs.h914 struct dma_pool *sg_pool; member
/linux-5.19.10/drivers/scsi/ibmvscsi/
Dibmvfc.h856 struct dma_pool *sg_pool; member
Dibmvfc.c848 dma_pool_free(vhost->sg_pool, in ibmvfc_free_event_pool()
1633 evt->ext_list = dma_pool_alloc(vhost->sg_pool, GFP_ATOMIC, in ibmvfc_map_sg_data()
5947 dma_pool_destroy(vhost->sg_pool); in ibmvfc_free_mem()
5970 vhost->sg_pool = dma_pool_create(IBMVFC_NAME, dev, in ibmvfc_alloc_mem()
5974 if (!vhost->sg_pool) { in ibmvfc_alloc_mem()
6034 dma_pool_destroy(vhost->sg_pool); in ibmvfc_alloc_mem()