Lines Matching defs:Scsi_Host

539 struct Scsi_Host {  struct
548 struct list_head __devices;
549 struct list_head __targets;
551 struct list_head starved_list;
553 spinlock_t default_lock;
554 spinlock_t *host_lock;
556 struct mutex scan_mutex;/* serialize scanning activity */
558 struct list_head eh_abort_list;
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 const struct scsi_host_template *hostt;
565 struct scsi_transport_template *transportt;
567 struct kref tagset_refcnt;
568 struct completion tagset_freed;
570 struct blk_mq_tag_set tag_set;
572 atomic_t host_blocked;
574 unsigned int host_failed; /* commands that failed.
576 unsigned int host_eh_scheduled; /* EH scheduled without command */
578 unsigned int host_no; /* Used for IOCTL_GET_IDLUN, /proc/scsi et al. */
581 int eh_deadline;
582 unsigned long last_reset;
591 unsigned int max_channel;
592 unsigned int max_id;
593 u64 max_lun;
602 unsigned int unique_id;
611 unsigned short max_cmd_len;
613 int this_id;
614 int can_queue;
615 short cmd_per_lun;
616 short unsigned int sg_tablesize;
617 short unsigned int sg_prot_tablesize;
618 unsigned int max_sectors;
619 unsigned int opt_sectors;
620 unsigned int max_segment_size;
621 unsigned int dma_alignment;
622 unsigned long dma_boundary;
623 unsigned long virt_boundary_mask;
632 unsigned nr_hw_queues;
633 unsigned nr_maps;
634 unsigned active_mode:2;
640 unsigned host_self_blocked:1;
647 unsigned reverse_ordering:1;
650 unsigned tmf_in_progress:1;
653 unsigned async_scan:1;
656 unsigned eh_noresume:1;
659 unsigned no_write_same:1;
662 unsigned host_tagset:1;
665 unsigned queuecommand_may_block:1;
668 unsigned short_inquiry:1;
671 unsigned no_scsi2_lun_in_cdb:1;
673 unsigned no_highmem:1;
678 struct workqueue_struct *work_q;
683 struct workqueue_struct *tmf_work_q;
688 unsigned int max_host_blocked;
691 unsigned int prot_capabilities;
692 unsigned char prot_guard_type;
695 unsigned long base;
696 unsigned long io_port;
697 unsigned char n_io_port;
698 unsigned char dma_channel;
699 unsigned int irq;
702 enum scsi_host_state shost_state;
705 struct device shost_gendev, shost_dev;
732 container_of(d, struct Scsi_Host, shost_dev) argument