• Home
  • Raw
  • Download

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 const struct scsi_host_template *hostt;
561 struct scsi_transport_template *transportt;
563 struct kref tagset_refcnt;
564 struct completion tagset_freed;
566 struct blk_mq_tag_set tag_set;
568 atomic_t host_blocked;
570 unsigned int host_failed; /* commands that failed.
572 unsigned int host_eh_scheduled; /* EH scheduled without command */
574 unsigned int host_no; /* Used for IOCTL_GET_IDLUN, /proc/scsi et al. */
577 int eh_deadline;
578 unsigned long last_reset;
587 unsigned int max_channel;
588 unsigned int max_id;
589 u64 max_lun;
598 unsigned int unique_id;
607 unsigned short max_cmd_len;
609 int this_id;
610 int can_queue;
611 short cmd_per_lun;
612 short unsigned int sg_tablesize;
613 short unsigned int sg_prot_tablesize;
614 unsigned int max_sectors;
615 unsigned int opt_sectors;
616 unsigned int max_segment_size;
617 unsigned long dma_boundary;
618 unsigned long virt_boundary_mask;
627 unsigned nr_hw_queues;
628 unsigned nr_maps;
629 unsigned active_mode:2;
635 unsigned host_self_blocked:1;
642 unsigned reverse_ordering:1;
645 unsigned tmf_in_progress:1;
648 unsigned async_scan:1;
651 unsigned eh_noresume:1;
654 unsigned no_write_same:1;
657 unsigned host_tagset:1;
660 unsigned queuecommand_may_block:1;
663 unsigned short_inquiry:1;
666 unsigned no_scsi2_lun_in_cdb:1;
671 char work_q_name[20];
672 struct workqueue_struct *work_q;
677 struct workqueue_struct *tmf_work_q;
682 unsigned int max_host_blocked;
685 unsigned int prot_capabilities;
686 unsigned char prot_guard_type;
689 unsigned long base;
690 unsigned long io_port;
691 unsigned char n_io_port;
692 unsigned char dma_channel;
693 unsigned int irq;
696 enum scsi_host_state shost_state;
699 struct device shost_gendev, shost_dev;
723 container_of(d, struct Scsi_Host, shost_dev) argument