Home
last modified time | relevance | path

Searched refs:MBOX_MAX_SCSI_CMDS (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/scsi/megaraid/
Dmegaraid_mbox.h90 #define MBOX_MAX_SCSI_CMDS 128 // number of cmds reserved for kernel macro
193 struct mraid_pci_blk mbox_pool[MBOX_MAX_SCSI_CMDS];
195 struct mraid_pci_blk epthru_pool[MBOX_MAX_SCSI_CMDS];
197 struct mraid_pci_blk sg_pool[MBOX_MAX_SCSI_CMDS];
199 mbox_ccb_t ccb_list[MBOX_MAX_SCSI_CMDS];
Dmegaraid_mbox.c356 if (megaraid_cmd_per_lun > MBOX_MAX_SCSI_CMDS) { in megaraid_init()
360 MBOX_MAX_SCSI_CMDS)); in megaraid_init()
362 megaraid_cmd_per_lun = MBOX_MAX_SCSI_CMDS; in megaraid_init()
1016 adapter->kscb_list = kcalloc(MBOX_MAX_SCSI_CMDS, sizeof(scb_t), GFP_KERNEL); in megaraid_alloc_cmd_packets()
1038 for (i = 0; i < MBOX_MAX_SCSI_CMDS; i++) { in megaraid_alloc_cmd_packets()
1152 for (i = 0; i < MBOX_MAX_SCSI_CMDS; i++) { in megaraid_mbox_setup_dma_pools()
1178 for (i = 0; i < MBOX_MAX_SCSI_CMDS; i++) { in megaraid_mbox_setup_dma_pools()
1201 for (i = 0; i < MBOX_MAX_SCSI_CMDS; i++) { in megaraid_mbox_setup_dma_pools()
1237 for (i = 0; i < MBOX_MAX_SCSI_CMDS && sg_pci_blk[i].vaddr; i++) { in megaraid_mbox_teardown_dma_pools()
1245 for (i = 0; i < MBOX_MAX_SCSI_CMDS && epthru_pci_blk[i].vaddr; i++) { in megaraid_mbox_teardown_dma_pools()
[all …]