Lines Matching defs:Scsi_Host
541 struct Scsi_Host { struct
550 struct list_head __devices;
551 struct list_head __targets;
553 struct list_head starved_list;
555 spinlock_t default_lock;
556 spinlock_t *host_lock;
558 struct mutex scan_mutex;/* serialize scanning activity */
560 struct list_head eh_abort_list;
561 struct list_head eh_cmd_q;
562 struct task_struct * ehandler; /* Error recovery thread. */
563 struct completion * eh_action; /* Wait for specific actions on the
565 wait_queue_head_t host_wait;
566 const struct scsi_host_template *hostt;
567 struct scsi_transport_template *transportt;
569 struct kref tagset_refcnt;
570 struct completion tagset_freed;
572 struct blk_mq_tag_set tag_set;
574 atomic_t host_blocked;
576 unsigned int host_failed; /* commands that failed.
578 unsigned int host_eh_scheduled; /* EH scheduled without command */
580 unsigned int host_no; /* Used for IOCTL_GET_IDLUN, /proc/scsi et al. */
583 int eh_deadline;
584 unsigned long last_reset;
593 unsigned int max_channel;
594 unsigned int max_id;
595 u64 max_lun;
604 unsigned int unique_id;
613 unsigned short max_cmd_len;
615 int this_id;
616 int can_queue;
617 short cmd_per_lun;
618 short unsigned int sg_tablesize;
619 short unsigned int sg_prot_tablesize;
620 unsigned int max_sectors;
621 unsigned int opt_sectors;
622 unsigned int max_segment_size;
623 unsigned int dma_alignment;
624 unsigned long dma_boundary;
625 unsigned long virt_boundary_mask;
634 unsigned nr_hw_queues;
635 unsigned nr_maps;
636 unsigned active_mode:2;
642 unsigned host_self_blocked:1;
649 unsigned reverse_ordering:1;
652 unsigned tmf_in_progress:1;
655 unsigned async_scan:1;
658 unsigned eh_noresume:1;
661 unsigned no_write_same:1;
664 unsigned host_tagset:1;
667 unsigned queuecommand_may_block:1;
670 unsigned short_inquiry:1;
673 unsigned no_scsi2_lun_in_cdb:1;
675 unsigned no_highmem:1;
680 struct workqueue_struct *work_q;
685 struct workqueue_struct *tmf_work_q;
690 unsigned int max_host_blocked;
693 unsigned int prot_capabilities;
694 unsigned char prot_guard_type;
697 unsigned long base;
698 unsigned long io_port;
699 unsigned char n_io_port;
700 unsigned char dma_channel;
701 unsigned int irq;
704 enum scsi_host_state shost_state;
707 struct device shost_gendev, shost_dev;
734 container_of(d, struct Scsi_Host, shost_dev) argument