Lines Matching defs:Scsi_Host

542 struct Scsi_Host {  struct
551 struct list_head __devices;
552 struct list_head __targets;
554 struct scsi_host_cmd_pool *cmd_pool;
555 spinlock_t free_list_lock;
556 struct list_head free_list; /* backup store of cmd structs */
557 struct list_head starved_list;
559 spinlock_t default_lock;
560 spinlock_t *host_lock;
562 struct mutex scan_mutex;/* serialize scanning activity */
564 struct list_head eh_cmd_q;
565 struct task_struct * ehandler; /* Error recovery thread. */
566 struct completion * eh_action; /* Wait for specific actions on the
568 wait_queue_head_t host_wait;
569 struct scsi_host_template *hostt;
570 struct scsi_transport_template *transportt;
576 union {
581 atomic_t host_busy; /* commands actually active on low-level */
582 atomic_t host_blocked;
584 unsigned int host_failed; /* commands that failed.
586 unsigned int host_eh_scheduled; /* EH scheduled without command */
588 unsigned int host_no; /* Used for IOCTL_GET_IDLUN, /proc/scsi et al. */
591 int eh_deadline;
592 unsigned long last_reset;
601 unsigned int max_channel;
602 unsigned int max_id;
603 u64 max_lun;
612 unsigned int unique_id;
621 unsigned short max_cmd_len;
623 int this_id;
624 int can_queue;
625 short cmd_per_lun;
626 short unsigned int sg_tablesize;
627 short unsigned int sg_prot_tablesize;
628 unsigned int max_sectors;
629 unsigned long dma_boundary;
637 unsigned nr_hw_queues;
642 unsigned long cmd_serial_number;
644 unsigned active_mode:2;
645 unsigned unchecked_isa_dma:1;
646 unsigned use_clustering:1;
652 unsigned host_self_blocked:1;
659 unsigned reverse_ordering:1;
662 unsigned tmf_in_progress:1;
665 unsigned async_scan:1;
668 unsigned eh_noresume:1;
671 unsigned no_write_same:1;
673 unsigned use_blk_mq:1;
674 unsigned use_cmd_list:1;
679 char work_q_name[20];
680 struct workqueue_struct *work_q;
685 struct workqueue_struct *tmf_work_q;
688 unsigned no_scsi2_lun_in_cdb:1;
693 unsigned int max_host_blocked;
696 unsigned int prot_capabilities;
697 unsigned char prot_guard_type;
703 struct request_queue *uspace_req_q;
706 unsigned long base;
707 unsigned long io_port;
708 unsigned char n_io_port;
709 unsigned char dma_channel;
710 unsigned int irq;
713 enum scsi_host_state shost_state;
716 struct device shost_gendev, shost_dev;
725 struct list_head sht_legacy_list;
749 container_of(d, struct Scsi_Host, shost_dev) argument