Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
Scsi_Host Struct Reference

#include <scsi_host.h>

Public Member Functions

unsigned long hostdata[0] __attribute__ ((aligned(sizeof(unsigned long))))
 

Data Fields

struct list_head __devices
 
struct list_head __targets
 
struct scsi_host_cmd_poolcmd_pool
 
spinlock_t free_list_lock
 
struct list_head free_list
 
struct list_head starved_list
 
spinlock_t default_lock
 
spinlock_thost_lock
 
struct mutex scan_mutex
 
struct list_head eh_cmd_q
 
struct task_structehandler
 
struct completioneh_action
 
wait_queue_head_t host_wait
 
struct scsi_host_templatehostt
 
struct scsi_transport_templatetransportt
 
struct blk_queue_tag * bqt
 
unsigned int host_busy
 
unsigned int host_failed
 
unsigned int host_eh_scheduled
 
unsigned int host_no
 
int resetting
 
unsigned long last_reset
 
unsigned int max_id
 
unsigned int max_lun
 
unsigned int max_channel
 
unsigned int unique_id
 
unsigned short max_cmd_len
 
int this_id
 
int can_queue
 
short cmd_per_lun
 
short unsigned int sg_tablesize
 
short unsigned int sg_prot_tablesize
 
short unsigned int max_sectors
 
unsigned long dma_boundary
 
unsigned long cmd_serial_number
 
unsigned active_mode:2
 
unsigned unchecked_isa_dma:1
 
unsigned use_clustering:1
 
unsigned use_blk_tcq:1
 
unsigned host_self_blocked:1
 
unsigned reverse_ordering:1
 
unsigned ordered_tag:1
 
unsigned tmf_in_progress:1
 
unsigned async_scan:1
 
unsigned eh_noresume:1
 
char work_q_name [20]
 
struct workqueue_structwork_q
 
unsigned int host_blocked
 
unsigned int max_host_blocked
 
unsigned int prot_capabilities
 
unsigned char prot_guard_type
 
struct request_queueuspace_req_q
 
unsigned long base
 
unsigned long io_port
 
unsigned char n_io_port
 
unsigned char dma_channel
 
unsigned int irq
 
enum scsi_host_state shost_state
 
struct device shost_gendev shost_dev
 
struct list_head sht_legacy_list
 
voidshost_data
 
struct devicedma_dev
 

Detailed Description

Definition at line 553 of file scsi_host.h.

Member Function Documentation

unsigned long hostdata [0] __attribute__ ( (aligned(sizeof(unsigned long)))  )

Field Documentation

struct list_head __devices

Definition at line 562 of file scsi_host.h.

struct list_head __targets

Definition at line 563 of file scsi_host.h.

unsigned active_mode

Definition at line 643 of file scsi_host.h.

unsigned async_scan

Definition at line 670 of file scsi_host.h.

unsigned long base

Definition at line 702 of file scsi_host.h.

struct blk_queue_tag* bqt

Definition at line 587 of file scsi_host.h.

int can_queue

Definition at line 631 of file scsi_host.h.

short cmd_per_lun

Definition at line 632 of file scsi_host.h.

Definition at line 565 of file scsi_host.h.

unsigned long cmd_serial_number

Definition at line 641 of file scsi_host.h.

spinlock_t default_lock

Definition at line 570 of file scsi_host.h.

unsigned long dma_boundary

Definition at line 636 of file scsi_host.h.

unsigned char dma_channel

Definition at line 705 of file scsi_host.h.

struct device* dma_dev

Definition at line 733 of file scsi_host.h.

struct completion* eh_action

Definition at line 577 of file scsi_host.h.

struct list_head eh_cmd_q

Definition at line 575 of file scsi_host.h.

unsigned eh_noresume

Definition at line 673 of file scsi_host.h.

struct task_struct* ehandler

Definition at line 576 of file scsi_host.h.

struct list_head free_list

Definition at line 567 of file scsi_host.h.

spinlock_t free_list_lock

Definition at line 566 of file scsi_host.h.

unsigned int host_blocked

Definition at line 684 of file scsi_host.h.

unsigned int host_busy

Definition at line 594 of file scsi_host.h.

unsigned int host_eh_scheduled

Definition at line 596 of file scsi_host.h.

unsigned int host_failed

Definition at line 595 of file scsi_host.h.

spinlock_t* host_lock

Definition at line 571 of file scsi_host.h.

unsigned int host_no

Definition at line 598 of file scsi_host.h.

unsigned host_self_blocked

Definition at line 652 of file scsi_host.h.

wait_queue_head_t host_wait

Definition at line 579 of file scsi_host.h.

Definition at line 580 of file scsi_host.h.

unsigned long io_port

Definition at line 703 of file scsi_host.h.

unsigned int irq

Definition at line 706 of file scsi_host.h.

unsigned long last_reset

Definition at line 600 of file scsi_host.h.

unsigned int max_channel

Definition at line 610 of file scsi_host.h.

unsigned short max_cmd_len

Definition at line 628 of file scsi_host.h.

unsigned int max_host_blocked

Definition at line 689 of file scsi_host.h.

unsigned int max_id

Definition at line 608 of file scsi_host.h.

unsigned int max_lun

Definition at line 609 of file scsi_host.h.

short unsigned int max_sectors

Definition at line 635 of file scsi_host.h.

unsigned char n_io_port

Definition at line 704 of file scsi_host.h.

unsigned ordered_tag

Definition at line 664 of file scsi_host.h.

unsigned int prot_capabilities

Definition at line 692 of file scsi_host.h.

unsigned char prot_guard_type

Definition at line 693 of file scsi_host.h.

int resetting

Definition at line 599 of file scsi_host.h.

unsigned reverse_ordering

Definition at line 659 of file scsi_host.h.

struct mutex scan_mutex

Definition at line 573 of file scsi_host.h.

short unsigned int sg_prot_tablesize

Definition at line 634 of file scsi_host.h.

short unsigned int sg_tablesize

Definition at line 633 of file scsi_host.h.

void* shost_data

Definition at line 727 of file scsi_host.h.

struct device shost_gendev shost_dev

Definition at line 712 of file scsi_host.h.

enum scsi_host_state shost_state

Definition at line 709 of file scsi_host.h.

struct list_head sht_legacy_list

Definition at line 721 of file scsi_host.h.

struct list_head starved_list

Definition at line 568 of file scsi_host.h.

int this_id

Definition at line 630 of file scsi_host.h.

unsigned tmf_in_progress

Definition at line 667 of file scsi_host.h.

Definition at line 581 of file scsi_host.h.

unsigned unchecked_isa_dma

Definition at line 644 of file scsi_host.h.

unsigned int unique_id

Definition at line 619 of file scsi_host.h.

unsigned use_blk_tcq

Definition at line 646 of file scsi_host.h.

unsigned use_clustering

Definition at line 645 of file scsi_host.h.

struct request_queue* uspace_req_q

Definition at line 699 of file scsi_host.h.

Definition at line 679 of file scsi_host.h.

char work_q_name[20]

Definition at line 678 of file scsi_host.h.


The documentation for this struct was generated from the following file: