Lines Matching defs:Scsi_Host
535 struct Scsi_Host { struct
544 struct list_head __devices;
545 struct list_head __targets;
547 struct list_head starved_list;
549 spinlock_t default_lock;
550 spinlock_t *host_lock;
552 struct mutex scan_mutex;/* serialize scanning activity */
554 struct list_head eh_abort_list;
555 struct list_head eh_cmd_q;
556 struct task_struct * ehandler; /* Error recovery thread. */
557 struct completion * eh_action; /* Wait for specific actions on the
559 wait_queue_head_t host_wait;
560 struct scsi_host_template *hostt;
561 struct scsi_transport_template *transportt;
564 struct blk_mq_tag_set tag_set;
566 atomic_t host_blocked;
568 unsigned int host_failed; /* commands that failed.
570 unsigned int host_eh_scheduled; /* EH scheduled without command */
572 unsigned int host_no; /* Used for IOCTL_GET_IDLUN, /proc/scsi et al. */
575 int eh_deadline;
576 unsigned long last_reset;
585 unsigned int max_channel;
586 unsigned int max_id;
587 u64 max_lun;
596 unsigned int unique_id;
605 unsigned short max_cmd_len;
607 int this_id;
608 int can_queue;
609 short cmd_per_lun;
610 short unsigned int sg_tablesize;
611 short unsigned int sg_prot_tablesize;
612 unsigned int max_sectors;
613 unsigned int max_segment_size;
614 unsigned long dma_boundary;
615 unsigned long virt_boundary_mask;
624 unsigned nr_hw_queues;
625 unsigned nr_maps;
626 unsigned active_mode:2;
632 unsigned host_self_blocked:1;
639 unsigned reverse_ordering:1;
642 unsigned tmf_in_progress:1;
645 unsigned async_scan:1;
648 unsigned eh_noresume:1;
651 unsigned no_write_same:1;
654 unsigned host_tagset:1;
657 unsigned short_inquiry:1;
660 unsigned no_scsi2_lun_in_cdb:1;
665 char work_q_name[20];
666 struct workqueue_struct *work_q;
671 struct workqueue_struct *tmf_work_q;
676 unsigned int max_host_blocked;
679 unsigned int prot_capabilities;
680 unsigned char prot_guard_type;
683 unsigned long base;
684 unsigned long io_port;
685 unsigned char n_io_port;
686 unsigned char dma_channel;
687 unsigned int irq;
690 enum scsi_host_state shost_state;
693 struct device shost_gendev, shost_dev;
699 const struct attribute_group *shost_dev_attr_groups[3];
723 container_of(d, struct Scsi_Host, shost_dev) argument