Linux Kernel
3.7.1
|
#include <libfc.h>
struct fc_fcp_pkt - FCP request structure (one for each scsi_cmnd request) : The associated local port : The state of the I/O : Reference count : Lock to protect the SCSI packet (must be taken before the host_lock if both are to be held at the same time) : The SCSI command (set and clear with the host_lock held) : Tracks queued commands (accessed with the host_lock held) : The command timer : Completion indicator : Indicator to wait for completion of the I/O (in jiffies) : The length of the data : The CDB command : The transfer length : Indicates if this transfer used DDP (XID of the exchange will be set here if DDP was setup) : The offset into the buffer if the buffer is contiguous (Tx and Rx) : The maximum payload size (in bytes) : SCSI result (upper 24 bits) : CDB status : FCP I/O status : Completion flags (bit 3 Underrun bit 2: overrun) : Request flags (bit 0: read bit:1 write) : SCSI residule length : The remote port that the SCSI command is targeted at : The sequence that will carry the SCSI command : Number of recovery retries : The sequence for REC or SRR
spinlock_t scsi_pkt_lock |
struct completion tm_done |