/kernel/linux/linux-5.10/drivers/scsi/aacraid/ |
H A D | comminit.c | 71 (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB) in aac_alloc_comm() 76 host_rrq_size = (dev->scsi_host_ptr->can_queue in aac_alloc_comm() 182 cpu_to_le32(dev->scsi_host_ptr->can_queue + in aac_alloc_comm() 466 dev->scsi_host_ptr->can_queue + in aac_define_int_mode() 503 dev->vector_cap = dev->scsi_host_ptr->can_queue + in aac_define_int_mode() 506 dev->vector_cap = (dev->scsi_host_ptr->can_queue + in aac_define_int_mode() 613 if (host->can_queue > (status[3] >> 16) - in aac_init_adapter() 615 host->can_queue = (status[3] >> 16) - in aac_init_adapter() 617 } else if (host->can_queue > (status[3] & 0xFFFF) - in aac_init_adapter() 619 host->can_queue in aac_init_adapter() [all...] |
H A D | rkt.c | 49 if (dev->scsi_host_ptr->can_queue > AAC_NUM_IO_FIB_RKT) { in aac_rkt_select_comm() 52 dev->scsi_host_ptr->can_queue = AAC_NUM_IO_FIB_RKT; in aac_rkt_select_comm()
|
H A D | commsup.c | 63 &dev->pdev->dev, dev->max_cmd_size, dev->scsi_host_ptr->can_queue, in fib_map_alloc() 67 * (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB) + (ALIGN32 - 1), in fib_map_alloc() 91 num_fibs = dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB; in aac_fib_map_free() 109 i < (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); in aac_fib_vector_assign() 112 (i > ((dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB - 1) in aac_fib_vector_assign() 141 && (dev->scsi_host_ptr->can_queue > (64 - AAC_NUM_MGT_FIB))) { in aac_fib_setup() 142 max_cmds = (dev->scsi_host_ptr->can_queue+AAC_NUM_MGT_FIB) >> 1; in aac_fib_setup() 143 dev->scsi_host_ptr->can_queue = max_cmds - AAC_NUM_MGT_FIB; in aac_fib_setup() 152 (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB)); in aac_fib_setup() 168 i < (dev->scsi_host_ptr->can_queue in aac_fib_setup() [all...] |
H A D | linit.c | 466 depth = (host->can_queue - num_one) / num_lsu; in aac_slave_configure() 541 if (num >= host->can_queue) in aac_change_queue_depth() 542 num = host->can_queue - 1; in aac_change_queue_depth() 543 if (depth > (host->can_queue - num)) in aac_change_queue_depth() 544 depth = host->can_queue - num; in aac_change_queue_depth() 704 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_abort() 776 count < (host->can_queue + AAC_NUM_MGT_FIB); in aac_eh_abort() 797 count < (host->can_queue + AAC_NUM_MGT_FIB); in aac_eh_abort() 1041 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_bus_reset() 1495 .can_queue [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aacraid/ |
H A D | comminit.c | 71 (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB) in aac_alloc_comm() 76 host_rrq_size = (dev->scsi_host_ptr->can_queue in aac_alloc_comm() 182 cpu_to_le32(dev->scsi_host_ptr->can_queue + in aac_alloc_comm() 466 dev->scsi_host_ptr->can_queue + in aac_define_int_mode() 503 dev->vector_cap = dev->scsi_host_ptr->can_queue + in aac_define_int_mode() 506 dev->vector_cap = (dev->scsi_host_ptr->can_queue + in aac_define_int_mode() 613 if (host->can_queue > (status[3] >> 16) - in aac_init_adapter() 615 host->can_queue = (status[3] >> 16) - in aac_init_adapter() 617 } else if (host->can_queue > (status[3] & 0xFFFF) - in aac_init_adapter() 619 host->can_queue in aac_init_adapter() [all...] |
H A D | rkt.c | 49 if (dev->scsi_host_ptr->can_queue > AAC_NUM_IO_FIB_RKT) { in aac_rkt_select_comm() 52 dev->scsi_host_ptr->can_queue = AAC_NUM_IO_FIB_RKT; in aac_rkt_select_comm()
|
H A D | commsup.c | 63 &dev->pdev->dev, dev->max_cmd_size, dev->scsi_host_ptr->can_queue, in fib_map_alloc() 67 * (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB) + (ALIGN32 - 1), in fib_map_alloc() 91 num_fibs = dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB; in aac_fib_map_free() 109 i < (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); in aac_fib_vector_assign() 112 (i > ((dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB - 1) in aac_fib_vector_assign() 141 && (dev->scsi_host_ptr->can_queue > (64 - AAC_NUM_MGT_FIB))) { in aac_fib_setup() 142 max_cmds = (dev->scsi_host_ptr->can_queue+AAC_NUM_MGT_FIB) >> 1; in aac_fib_setup() 143 dev->scsi_host_ptr->can_queue = max_cmds - AAC_NUM_MGT_FIB; in aac_fib_setup() 152 (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB)); in aac_fib_setup() 168 i < (dev->scsi_host_ptr->can_queue in aac_fib_setup() [all...] |
H A D | linit.c | 464 depth = (host->can_queue - num_one) / num_lsu; in aac_slave_configure() 539 if (num >= host->can_queue) in aac_change_queue_depth() 540 num = host->can_queue - 1; in aac_change_queue_depth() 541 if (depth > (host->can_queue - num)) in aac_change_queue_depth() 542 depth = host->can_queue - num; in aac_change_queue_depth() 705 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_abort() 777 count < (host->can_queue + AAC_NUM_MGT_FIB); in aac_eh_abort() 798 count < (host->can_queue + AAC_NUM_MGT_FIB); in aac_eh_abort() 1042 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_bus_reset() 1498 .can_queue [all...] |
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_fcp.c | 64 * @max_can_queue: max can_queue size 358 * fc_fcp_can_queue_ramp_up() - increases can_queue 359 * @lport: lport to ramp up can_queue 365 int can_queue; in fc_fcp_can_queue_ramp_up() local 380 can_queue = lport->host->can_queue << 1; in fc_fcp_can_queue_ramp_up() 381 if (can_queue >= si->max_can_queue) { in fc_fcp_can_queue_ramp_up() 382 can_queue = si->max_can_queue; in fc_fcp_can_queue_ramp_up() 385 lport->host->can_queue = can_queue; in fc_fcp_can_queue_ramp_up() 407 int can_queue; fc_fcp_can_queue_ramp_down() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_fcp.c | 60 * @max_can_queue: max can_queue size 352 * fc_fcp_can_queue_ramp_up() - increases can_queue 353 * @lport: lport to ramp up can_queue 359 int can_queue; in fc_fcp_can_queue_ramp_up() local 374 can_queue = lport->host->can_queue << 1; in fc_fcp_can_queue_ramp_up() 375 if (can_queue >= si->max_can_queue) { in fc_fcp_can_queue_ramp_up() 376 can_queue = si->max_can_queue; in fc_fcp_can_queue_ramp_up() 379 lport->host->can_queue = can_queue; in fc_fcp_can_queue_ramp_up() 401 int can_queue; fc_fcp_can_queue_ramp_down() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/mvsas/ |
H A D | mv_init.c | 43 .can_queue = 1, 442 int can_queue, i = 0, j = 0; in mvs_post_sas_ha_init() local 464 can_queue = MVS_SOC_CAN_QUEUE; in mvs_post_sas_ha_init() 466 can_queue = MVS_CHIP_SLOT_SZ; in mvs_post_sas_ha_init() 468 can_queue -= MVS_RSVD_SLOTS; in mvs_post_sas_ha_init() 471 shost->can_queue = can_queue; in mvs_post_sas_ha_init()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | hosts.c | 218 if (!shost->can_queue) { in scsi_add_host_with_dma() 220 "can_queue = 0 no longer supported\n"); in scsi_add_host_with_dma() 224 /* Use min_t(int, ...) in case shost->can_queue exceeds SHRT_MAX */ in scsi_add_host_with_dma() 226 shost->can_queue); in scsi_add_host_with_dma() 426 shost->can_queue = sht->can_queue; in scsi_host_alloc()
|
H A D | atari_scsi.c | 24 * 1) The lock is taken for each command separately (i.e. can_queue == 1). 26 * when the last command is finished (i.e. can_queue > 1). 32 * the default is can_queue == 1. 380 instance->hostt->can_queue > 1) in falcon_get_lock() 394 * atascsi=<can_queue>,<cmd_per_lun>,<sg_tablesize>,<hostid>,<use_tags> in atari_scsi_setup() 741 atari_scsi_template.can_queue = 16; in atari_scsi_probe() 744 atari_scsi_template.can_queue = 1; in atari_scsi_probe() 749 atari_scsi_template.can_queue = setup_can_queue; in atari_scsi_probe()
|
H A D | dmx3191d.c | 50 .can_queue = 32,
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | hosts.c | 228 if (!shost->can_queue) { in scsi_add_host_with_dma() 230 "can_queue = 0 no longer supported\n"); in scsi_add_host_with_dma() 234 /* Use min_t(int, ...) in case shost->can_queue exceeds SHRT_MAX */ in scsi_add_host_with_dma() 236 shost->can_queue); in scsi_add_host_with_dma() 438 shost->can_queue = sht->can_queue; in scsi_host_alloc()
|
H A D | atari_scsi.c | 24 * 1) The lock is taken for each command separately (i.e. can_queue == 1). 26 * when the last command is finished (i.e. can_queue > 1). 32 * the default is can_queue == 1. 390 * atascsi=<can_queue>,<cmd_per_lun>,<sg_tablesize>,<hostid>,<use_tags> in atari_scsi_setup() 737 atari_scsi_template.can_queue = 16; in atari_scsi_probe() 740 atari_scsi_template.can_queue = 1; in atari_scsi_probe() 745 atari_scsi_template.can_queue = setup_can_queue; in atari_scsi_probe()
|
/kernel/linux/linux-5.10/drivers/scsi/mvsas/ |
H A D | mv_init.c | 43 .can_queue = 1, 448 int can_queue, i = 0, j = 0; in mvs_post_sas_ha_init() local 471 can_queue = MVS_SOC_CAN_QUEUE; in mvs_post_sas_ha_init() 473 can_queue = MVS_CHIP_SLOT_SZ; in mvs_post_sas_ha_init() 476 shost->can_queue = can_queue; in mvs_post_sas_ha_init()
|
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
H A D | snic_ctl.c | 213 if (snic->shost->can_queue > snic->fwinfo.max_concur_ios) in snic_io_exch_ver_cmpl_handler() 214 snic->shost->can_queue = snic->fwinfo.max_concur_ios; in snic_io_exch_ver_cmpl_handler()
|
/kernel/linux/linux-6.6/drivers/scsi/snic/ |
H A D | snic_ctl.c | 196 if (snic->shost->can_queue > snic->fwinfo.max_concur_ios) in snic_io_exch_ver_cmpl_handler() 197 snic->shost->can_queue = snic->fwinfo.max_concur_ios; in snic_io_exch_ver_cmpl_handler()
|
/kernel/linux/linux-5.10/drivers/scsi/esas2r/ |
H A D | esas2r_main.c | 246 .can_queue = 128, 293 int can_queue = 128; variable 294 module_param(can_queue, int, 0); 295 MODULE_PARM_DESC(can_queue, 411 host->can_queue = can_queue; in esas2r_probe() 541 if (can_queue < 1) { in esas2r_init() 543 "warning: can_queue must be at least 1, value " in esas2r_init() 545 can_queue = 1; in esas2r_init() 546 } else if (can_queue > 204 in esas2r_init() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/esas2r/ |
H A D | esas2r_main.c | 246 .can_queue = 128, 290 int can_queue = 128; variable 291 module_param(can_queue, int, 0); 292 MODULE_PARM_DESC(can_queue, 407 host->can_queue = can_queue; in esas2r_probe() 537 if (can_queue < 1) { in esas2r_init() 539 "warning: can_queue must be at least 1, value " in esas2r_init() 541 can_queue = 1; in esas2r_init() 542 } else if (can_queue > 204 in esas2r_init() [all...] |
/kernel/linux/linux-5.10/include/scsi/ |
H A D | scsi_host.h | 347 int can_queue; member 596 int can_queue; member 608 * can_queue. In other words, the total queue depth per host 609 * is nr_hw_queues * can_queue. However, for when host_tagset is set, 610 * the total queue depth is can_queue.
|
/kernel/linux/linux-6.6/include/scsi/ |
H A D | scsi_host.h | 377 int can_queue; member 610 int can_queue; member 623 * can_queue. In other words, the total queue depth per host 624 * is nr_hw_queues * can_queue. However, for when host_tagset is set, 625 * the total queue depth is can_queue.
|
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.c | 400 seq->can_queue = 1 + (asd_ha->hw_prof.max_scbs - seq->pending)/2; in asd_init_escbs() 1179 * A) can_queue >= num, 1180 * B) can_queue < num. 1191 int can_queue; in asd_post_ascb_list() local 1194 can_queue = asd_ha->hw_prof.max_scbs - asd_ha->seq.pending; in asd_post_ascb_list() 1195 if (can_queue >= num) in asd_post_ascb_list() 1198 can_queue = 0; in asd_post_ascb_list() 1200 if (!can_queue) { in asd_post_ascb_list()
|
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.c | 398 seq->can_queue = 1 + (asd_ha->hw_prof.max_scbs - seq->pending)/2; in asd_init_escbs() 1177 * A) can_queue >= num, 1178 * B) can_queue < num. 1189 int can_queue; in asd_post_ascb_list() local 1192 can_queue = asd_ha->hw_prof.max_scbs - asd_ha->seq.pending; in asd_post_ascb_list() 1193 if (can_queue >= num) in asd_post_ascb_list() 1196 can_queue = 0; in asd_post_ascb_list() 1198 if (!can_queue) { in asd_post_ascb_list()
|