linux-2.6.25/scsi_cmnd
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#v12adc3a]
#backlinks
*説明 [#cf4eab36]
-パス: [[linux-2.6.25/include/scsi/scsi_cmnd.h]]
-FIXME: これは何?
--説明
**参考 [#f200bf3d]
*実装 [#y6fbb4ba]
struct scsi_cmnd {
struct scsi_device *device;
-
--[[linux-2.6.25/scsi_device]]
struct list_head list; /* scsi_cmnd participate...
struct list_head eh_entry; /* entry for the host...
int eh_eflags; /* Used by error handlr */
-
--[[linux-2.6.25/list_head]]
/*
* A SCSI Command is assigned a nonzero serial_n...
* to the driver's queue command function. The ...
* cleared when scsi_done is entered indicating ...
* has been completed. It is a bug for LLDDs to...
* for purposes other than printk (and even that...
* for debugging).
*/
unsigned long serial_number;
/*
* This is set to jiffies as it was when the com...
* allocated. It is used to time how long the c...
* been outstanding
*/
unsigned long jiffies_at_alloc;
int retries;
int allowed;
int timeout_per_command;
unsigned char cmd_len;
enum dma_data_direction sc_data_direction;
-
--[[linux-2.6.25/dma_data_direction]]
/* These elements define the operation we are ab...
#define MAX_COMMAND_SIZE 16
unsigned char cmnd[MAX_COMMAND_SIZE];
struct timer_list eh_timeout; /* Used to time ...
-
--[[linux-2.6.25/timer_list]]
/* These elements define the operation we ultima...
struct scsi_data_buffer sdb;
-
--[[linux-2.6.25/scsi_data_buffer]]
unsigned underflow; /* Return error if less ...
this amount is transf...
unsigned transfersize; /* How much we are guara...
transfer with each SC...
(ie, between disconne...
reconnects. Probabl...
size */
struct request *request; /* The command w...
working on */
-
--[[linux-2.6.25/request]]
#define SCSI_SENSE_BUFFERSIZE 96
unsigned char *sense_buffer;
/* obtained by REQUEST S...
* CHECK CONDITION is re...
* command (auto-sense) */
/* Low-level done function - can be used by low-...
* to completion function. Not used by m...
void (*scsi_done) (struct scsi_cmnd *);
/*
* The following fields can be written to by the...
* Everything else should be left alone.
*/
struct scsi_pointer SCp; /* Scratchpad us...
-
--[[linux-2.6.25/scsi_pointer]]
unsigned char *host_scribble; /* The host adap...
* call scsi_mal...
* and hang it h...
* is also expec...
* to release th...
* obtained by s...
* to be at an a...
int result; /* Status code from lowe...
unsigned char tag; /* SCSI-II queued comman...
};
*コメント [#r830dc17]
終了行:
*参照元 [#v12adc3a]
#backlinks
*説明 [#cf4eab36]
-パス: [[linux-2.6.25/include/scsi/scsi_cmnd.h]]
-FIXME: これは何?
--説明
**参考 [#f200bf3d]
*実装 [#y6fbb4ba]
struct scsi_cmnd {
struct scsi_device *device;
-
--[[linux-2.6.25/scsi_device]]
struct list_head list; /* scsi_cmnd participate...
struct list_head eh_entry; /* entry for the host...
int eh_eflags; /* Used by error handlr */
-
--[[linux-2.6.25/list_head]]
/*
* A SCSI Command is assigned a nonzero serial_n...
* to the driver's queue command function. The ...
* cleared when scsi_done is entered indicating ...
* has been completed. It is a bug for LLDDs to...
* for purposes other than printk (and even that...
* for debugging).
*/
unsigned long serial_number;
/*
* This is set to jiffies as it was when the com...
* allocated. It is used to time how long the c...
* been outstanding
*/
unsigned long jiffies_at_alloc;
int retries;
int allowed;
int timeout_per_command;
unsigned char cmd_len;
enum dma_data_direction sc_data_direction;
-
--[[linux-2.6.25/dma_data_direction]]
/* These elements define the operation we are ab...
#define MAX_COMMAND_SIZE 16
unsigned char cmnd[MAX_COMMAND_SIZE];
struct timer_list eh_timeout; /* Used to time ...
-
--[[linux-2.6.25/timer_list]]
/* These elements define the operation we ultima...
struct scsi_data_buffer sdb;
-
--[[linux-2.6.25/scsi_data_buffer]]
unsigned underflow; /* Return error if less ...
this amount is transf...
unsigned transfersize; /* How much we are guara...
transfer with each SC...
(ie, between disconne...
reconnects. Probabl...
size */
struct request *request; /* The command w...
working on */
-
--[[linux-2.6.25/request]]
#define SCSI_SENSE_BUFFERSIZE 96
unsigned char *sense_buffer;
/* obtained by REQUEST S...
* CHECK CONDITION is re...
* command (auto-sense) */
/* Low-level done function - can be used by low-...
* to completion function. Not used by m...
void (*scsi_done) (struct scsi_cmnd *);
/*
* The following fields can be written to by the...
* Everything else should be left alone.
*/
struct scsi_pointer SCp; /* Scratchpad us...
-
--[[linux-2.6.25/scsi_pointer]]
unsigned char *host_scribble; /* The host adap...
* call scsi_mal...
* and hang it h...
* is also expec...
* to release th...
* obtained by s...
* to be at an a...
int result; /* Status code from lowe...
unsigned char tag; /* SCSI-II queued comman...
};
*コメント [#r830dc17]
ページ名: