Lines Matching defs:Scsi_Host

537 struct Scsi_Host {  struct
546 struct list_head __devices;
547 struct list_head __targets;
549 struct scsi_host_cmd_pool *cmd_pool;
550 spinlock_t free_list_lock;
551 struct list_head free_list; /* backup store of cmd structs */
552 struct list_head starved_list;
554 spinlock_t default_lock;
555 spinlock_t *host_lock;
557 struct mutex scan_mutex;/* serialize scanning activity */
559 struct list_head eh_cmd_q;
560 struct task_struct * ehandler; /* Error recovery thread. */
561 struct completion * eh_action; /* Wait for specific actions on the
563 wait_queue_head_t host_wait;
564 struct scsi_host_template *hostt;
565 struct scsi_transport_template *transportt;
571 union {
576 atomic_t host_busy; /* commands actually active on low-level */
577 atomic_t host_blocked;
579 unsigned int host_failed; /* commands that failed.
581 unsigned int host_eh_scheduled; /* EH scheduled without command */
583 unsigned int host_no; /* Used for IOCTL_GET_IDLUN, /proc/scsi et al. */
586 int eh_deadline;
587 unsigned long last_reset;
596 unsigned int max_channel;
597 unsigned int max_id;
598 u64 max_lun;
607 unsigned int unique_id;
616 unsigned short max_cmd_len;
618 int this_id;
619 int can_queue;
620 short cmd_per_lun;
621 short unsigned int sg_tablesize;
622 short unsigned int sg_prot_tablesize;
623 unsigned int max_sectors;
624 unsigned long dma_boundary;
632 unsigned nr_hw_queues;
637 unsigned long cmd_serial_number;
639 unsigned active_mode:2;
640 unsigned unchecked_isa_dma:1;
641 unsigned use_clustering:1;
647 unsigned host_self_blocked:1;
654 unsigned reverse_ordering:1;
657 unsigned tmf_in_progress:1;
660 unsigned async_scan:1;
663 unsigned eh_noresume:1;
666 unsigned no_write_same:1;
668 unsigned use_blk_mq:1;
669 unsigned use_cmd_list:1;
672 unsigned short_inquiry:1;
677 char work_q_name[20];
678 struct workqueue_struct *work_q;
683 struct workqueue_struct *tmf_work_q;
686 unsigned no_scsi2_lun_in_cdb:1;
691 unsigned int max_host_blocked;
694 unsigned int prot_capabilities;
695 unsigned char prot_guard_type;
701 struct request_queue *uspace_req_q;
704 unsigned long base;
705 unsigned long io_port;
706 unsigned char n_io_port;
707 unsigned char dma_channel;
708 unsigned int irq;
711 enum scsi_host_state shost_state;
714 struct device shost_gendev, shost_dev;
723 struct list_head sht_legacy_list;
747 container_of(d, struct Scsi_Host, shost_dev) argument