Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
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()
DMakefile259 obj-$(CONFIG_SG_POOL) += sg_pool.o
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
Dmegaraid_mbox.h197 struct mraid_pci_blk sg_pool[MBOX_MAX_SCSI_CMDS]; member
Dmegaraid_mbox.c1035 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()
/kernel/linux/linux-5.10/drivers/net/ipa/
Dgsi.h83 struct gsi_trans_pool sg_pool; /* scatterlist pool */ member
Dgsi_trans.c353 trans->sgl = gsi_trans_pool_alloc(&trans_info->sg_pool, tre_count); in gsi_channel_trans_alloc()
766 ret = gsi_trans_pool_init(&trans_info->sg_pool, in gsi_channel_trans_init()
805 gsi_trans_pool_exit(&trans_info->sg_pool); in gsi_channel_trans_exit()
/kernel/linux/linux-5.10/drivers/scsi/
Dmyrs.c1733 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 …]
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()
1603 hw_sgl = dma_pool_alloc(cb->sg_pool, GFP_ATOMIC, &hw_sgl_addr); in myrb_ldev_queuecommand()
2343 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
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/
Dibmvfc.h789 struct dma_pool *sg_pool; member
Dibmvfc.c1303 dma_pool_free(vhost->sg_pool, in ibmvfc_free_event_pool()
1416 evt->ext_list = dma_pool_alloc(vhost->sg_pool, GFP_ATOMIC, in ibmvfc_map_sg_data()
4954 dma_pool_destroy(vhost->sg_pool); in ibmvfc_free_mem()
4990 vhost->sg_pool = dma_pool_create(IBMVFC_NAME, dev, in ibmvfc_alloc_mem()
4994 if (!vhost->sg_pool) { in ibmvfc_alloc_mem()
5042 dma_pool_destroy(vhost->sg_pool); in ibmvfc_alloc_mem()