Lines Matching refs:can_queue
341 int can_queue; in fc_fcp_can_queue_ramp_up() local
356 can_queue = lport->host->can_queue << 1; in fc_fcp_can_queue_ramp_up()
357 if (can_queue >= si->max_can_queue) { in fc_fcp_can_queue_ramp_up()
358 can_queue = si->max_can_queue; in fc_fcp_can_queue_ramp_up()
361 lport->host->can_queue = can_queue; in fc_fcp_can_queue_ramp_up()
363 "can_queue to %d.\n", can_queue); in fc_fcp_can_queue_ramp_up()
383 int can_queue; in fc_fcp_can_queue_ramp_down() local
394 can_queue = lport->host->can_queue; in fc_fcp_can_queue_ramp_down()
395 can_queue >>= 1; in fc_fcp_can_queue_ramp_down()
396 if (!can_queue) in fc_fcp_can_queue_ramp_down()
397 can_queue = 1; in fc_fcp_can_queue_ramp_down()
398 lport->host->can_queue = can_queue; in fc_fcp_can_queue_ramp_down()
400 "Reducing can_queue to %d.\n", can_queue); in fc_fcp_can_queue_ramp_down()
2271 si->max_can_queue = lport->host->can_queue; in fc_fcp_init()