Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
scsi_host_template Struct Reference

#include <scsi_host.h>

Data Fields

struct modulemodule
 
const charname
 
int(* detect )(struct scsi_host_template *)
 
int(* release )(struct Scsi_Host *)
 
const char *(* info )(struct Scsi_Host *)
 
int(* ioctl )(struct scsi_device *dev, int cmd, void __user *arg)
 
int(* queuecommand )(struct Scsi_Host *, struct scsi_cmnd *)
 
int(* transfer_response )(struct scsi_cmnd *, void(*done)(struct scsi_cmnd *))
 
int(* eh_abort_handler )(struct scsi_cmnd *)
 
int(* eh_device_reset_handler )(struct scsi_cmnd *)
 
int(* eh_target_reset_handler )(struct scsi_cmnd *)
 
int(* eh_bus_reset_handler )(struct scsi_cmnd *)
 
int(* eh_host_reset_handler )(struct scsi_cmnd *)
 
int(* slave_alloc )(struct scsi_device *)
 
int(* slave_configure )(struct scsi_device *)
 
void(* slave_destroy )(struct scsi_device *)
 
int(* target_alloc )(struct scsi_target *)
 
void(* target_destroy )(struct scsi_target *)
 
int(* scan_finished )(struct Scsi_Host *, unsigned long)
 
void(* scan_start )(struct Scsi_Host *)
 
int(* change_queue_depth )(struct scsi_device *, int, int)
 
int(* change_queue_type )(struct scsi_device *, int)
 
int(* bios_param )(struct scsi_device *, struct block_device *, sector_t, int[])
 
void(* unlock_native_capacity )(struct scsi_device *)
 
int(* proc_info )(struct Scsi_Host *, char *, char **, off_t, int, int)
 
enum blk_eh_timer_return(* eh_timed_out )(struct scsi_cmnd *)
 
int(* host_reset )(struct Scsi_Host *shost, int reset_type)
 
const charproc_name
 
struct proc_dir_entryproc_dir
 
int can_queue
 
int this_id
 
unsigned short sg_tablesize
 
unsigned short sg_prot_tablesize
 
unsigned short max_sectors
 
unsigned long dma_boundary
 
short cmd_per_lun
 
unsigned char present
 
unsigned supported_mode:2
 
unsigned unchecked_isa_dma:1
 
unsigned use_clustering:1
 
unsigned emulated:1
 
unsigned skip_settle_delay:1
 
unsigned ordered_tag:1
 
unsigned int max_host_blocked
 
struct device_attribute ** shost_attrs
 
struct device_attribute ** sdev_attrs
 
struct list_head legacy_hosts
 
u64 vendor_id
 

Detailed Description

Definition at line 52 of file scsi_host.h.

Field Documentation

Definition at line 325 of file scsi_host.h.

int can_queue

Definition at line 387 of file scsi_host.h.

int(* change_queue_depth)(struct scsi_device *, int, int)

Definition at line 302 of file scsi_host.h.

int(* change_queue_type)(struct scsi_device *, int)

Definition at line 315 of file scsi_host.h.

short cmd_per_lun

Definition at line 433 of file scsi_host.h.

Definition at line 62 of file scsi_host.h.

unsigned long dma_boundary

Definition at line 414 of file scsi_host.h.

int(* eh_abort_handler)(struct scsi_cmnd *)

Definition at line 171 of file scsi_host.h.

int(* eh_bus_reset_handler)(struct scsi_cmnd *)

Definition at line 174 of file scsi_host.h.

int(* eh_device_reset_handler)(struct scsi_cmnd *)

Definition at line 172 of file scsi_host.h.

int(* eh_host_reset_handler)(struct scsi_cmnd *)

Definition at line 175 of file scsi_host.h.

int(* eh_target_reset_handler)(struct scsi_cmnd *)

Definition at line 173 of file scsi_host.h.

enum blk_eh_timer_return(* eh_timed_out)(struct scsi_cmnd *)

Definition at line 356 of file scsi_host.h.

unsigned emulated

Definition at line 464 of file scsi_host.h.

int(* host_reset)(struct Scsi_Host *shost, int reset_type)

Definition at line 366 of file scsi_host.h.

const char*(* info)(struct Scsi_Host *)

Definition at line 78 of file scsi_host.h.

Definition at line 85 of file scsi_host.h.

struct list_head legacy_hosts

Definition at line 507 of file scsi_host.h.

unsigned int max_host_blocked

Definition at line 479 of file scsi_host.h.

unsigned short max_sectors

Definition at line 408 of file scsi_host.h.

Definition at line 53 of file scsi_host.h.

const char* name

Definition at line 54 of file scsi_host.h.

unsigned ordered_tag

Definition at line 474 of file scsi_host.h.

unsigned char present

Definition at line 439 of file scsi_host.h.

Definition at line 380 of file scsi_host.h.

int(* proc_info)(struct Scsi_Host *, char *, char **, off_t, int, int)

Definition at line 343 of file scsi_host.h.

const char* proc_name

Definition at line 374 of file scsi_host.h.

int(* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *)

Definition at line 130 of file scsi_host.h.

int(* release)(struct Scsi_Host *)

Definition at line 69 of file scsi_host.h.

int(* scan_finished)(struct Scsi_Host *, unsigned long)

Definition at line 280 of file scsi_host.h.

void(* scan_start)(struct Scsi_Host *)

Definition at line 289 of file scsi_host.h.

struct device_attribute** sdev_attrs

Definition at line 498 of file scsi_host.h.

unsigned short sg_prot_tablesize

Definition at line 403 of file scsi_host.h.

unsigned short sg_tablesize

Definition at line 402 of file scsi_host.h.

struct device_attribute** shost_attrs

Definition at line 493 of file scsi_host.h.

unsigned skip_settle_delay

Definition at line 469 of file scsi_host.h.

int(* slave_alloc)(struct scsi_device *)

Definition at line 203 of file scsi_host.h.

int(* slave_configure)(struct scsi_device *)

Definition at line 234 of file scsi_host.h.

void(* slave_destroy)(struct scsi_device *)

Definition at line 245 of file scsi_host.h.

unsigned supported_mode

Definition at line 444 of file scsi_host.h.

int(* target_alloc)(struct scsi_target *)

Definition at line 259 of file scsi_host.h.

void(* target_destroy)(struct scsi_target *)

Definition at line 269 of file scsi_host.h.

int this_id

Definition at line 396 of file scsi_host.h.

int(* transfer_response)(struct scsi_cmnd *, void(*done)(struct scsi_cmnd *))

Definition at line 150 of file scsi_host.h.

unsigned unchecked_isa_dma

Definition at line 449 of file scsi_host.h.

void(* unlock_native_capacity)(struct scsi_device *)

Definition at line 334 of file scsi_host.h.

unsigned use_clustering

Definition at line 459 of file scsi_host.h.

u64 vendor_id

Definition at line 516 of file scsi_host.h.


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