Lines Matching defs:host
233 * @shost: Scsi host to queue command on
251 * aac_info - Returns the host adapter name
252 * @shost: Scsi host to report on
385 * Selects queue depths for each target device based on the host adapter's
392 struct aac_dev *aac = (struct aac_dev *)sdev->host->hostdata;
438 struct Scsi_Host *host = sdev->host;
449 __shost_for_each_device(dev, host) {
466 depth = (host->can_queue - num_one) / num_lsu;
514 * Alters queue depths for target device based on the host adapter's
520 struct aac_dev *aac = (struct aac_dev *)(sdev->host->hostdata);
532 struct Scsi_Host *host = sdev->host;
535 __shost_for_each_device(dev, host) {
541 if (num >= host->can_queue)
542 num = host->can_queue - 1;
543 if (depth > (host->can_queue - num))
544 depth = host->can_queue - num;
561 struct aac_dev *aac = (struct aac_dev *)(sdev->host->hostdata);
582 struct aac_dev *aac = (struct aac_dev *)(sdev->host->hostdata);
618 struct aac_dev *dev = (struct aac_dev *)sdev->host->hostdata;
682 struct Scsi_Host * host = dev->host;
683 struct aac_dev * aac = (struct aac_dev *)host->hostdata;
701 host->host_no, sdev_channel(dev), sdev_id(dev), (int)dev->lun);
704 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) {
760 host->host_no, sdev_channel(dev), sdev_id(dev),
776 count < (host->can_queue + AAC_NUM_MGT_FIB);
797 count < (host->can_queue + AAC_NUM_MGT_FIB);
903 struct Scsi_Host * host = dev->host;
904 struct aac_dev * aac = (struct aac_dev *)host->hostdata;
966 struct Scsi_Host * host = dev->host;
967 struct aac_dev * aac = (struct aac_dev *)host->hostdata;
1032 struct Scsi_Host * host = dev->host;
1033 struct aac_dev * aac = (struct aac_dev *)host->hostdata;
1041 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) {
1085 struct Scsi_Host * host = dev->host;
1086 struct aac_dev * aac = (struct aac_dev *)host->hostdata;