iPXE
|
A SCSI command. More...
Data Fields | |
struct refcnt | refcnt |
Reference count. More... | |
struct scsi_device * | scsidev |
SCSI device. More... | |
struct list_head | list |
List of SCSI commands. More... | |
struct interface | block |
Block data interface. More... | |
struct interface | scsi |
SCSI data interface. More... | |
struct scsi_command_type * | type |
Command type. More... | |
uint64_t | lba |
Starting logical block address. More... | |
unsigned int | count |
Number of blocks. More... | |
userptr_t | buffer |
Data buffer. More... | |
size_t | len |
Length of data buffer. More... | |
uint32_t | tag |
Command tag. More... | |
uint8_t | priv [0] |
Private data. More... | |
struct refcnt scsi_command::refcnt |
Reference count.
Definition at line 264 of file scsi.c.
Referenced by scsicmd_get(), scsicmd_put(), and scsidev_command().
struct scsi_device* scsi_command::scsidev |
SCSI device.
Definition at line 266 of file scsi.c.
Referenced by scsicmd_close(), scsicmd_command(), scsicmd_free(), scsicmd_read_capacity_done(), scsicmd_response(), scsidev_close(), scsidev_command(), scsidev_read(), scsidev_read_capacity(), scsidev_test_unit_ready(), scsidev_window(), and scsidev_write().
struct list_head scsi_command::list |
List of SCSI commands.
Definition at line 268 of file scsi.c.
Referenced by scsicmd_close(), scsidev_close(), and scsidev_command().
struct interface scsi_command::block |
Block data interface.
Definition at line 271 of file scsi.c.
Referenced by scsicmd_close(), scsicmd_read_capacity_done(), and scsidev_command().
struct interface scsi_command::scsi |
SCSI data interface.
Definition at line 273 of file scsi.c.
Referenced by scsicmd_close(), scsicmd_command(), scsicmd_done(), and scsidev_command().
struct scsi_command_type* scsi_command::type |
Command type.
Definition at line 276 of file scsi.c.
Referenced by scsicmd_command(), scsicmd_done(), and scsidev_command().
uint64_t scsi_command::lba |
Starting logical block address.
Definition at line 278 of file scsi.c.
Referenced by scsicmd_read_cmd(), scsicmd_write_cmd(), and scsidev_command().
unsigned int scsi_command::count |
Number of blocks.
Definition at line 280 of file scsi.c.
Referenced by scsicmd_read_cmd(), scsicmd_write_cmd(), and scsidev_command().
userptr_t scsi_command::buffer |
Data buffer.
Definition at line 282 of file scsi.c.
Referenced by scsicmd_read_cmd(), scsicmd_write_cmd(), and scsidev_command().
size_t scsi_command::len |
Length of data buffer.
Definition at line 284 of file scsi.c.
Referenced by scsicmd_read_cmd(), scsicmd_write_cmd(), and scsidev_command().
uint32_t scsi_command::tag |
Command tag.
Definition at line 286 of file scsi.c.
Referenced by scsicmd_close(), scsicmd_command(), and scsicmd_response().
uint8_t scsi_command::priv[0] |