iPXE
Data Fields
scsi_command Struct Reference

A SCSI command. More...

Data Fields

struct refcnt refcnt
 Reference count.
struct scsi_devicescsidev
 SCSI device.
struct list_head list
 List of SCSI commands.
struct interface block
 Block data interface.
struct interface scsi
 SCSI data interface.
struct scsi_command_typetype
 Command type.
uint64_t lba
 Starting logical block address.
unsigned int count
 Number of blocks.
userptr_t buffer
 Data buffer.
size_t len
 Length of data buffer.
uint32_t tag
 Command tag.
uint8_t priv [0]
 Private data.

Detailed Description

A SCSI command.

Definition at line 262 of file scsi.c.


Field Documentation

Reference count.

Definition at line 264 of file scsi.c.

Referenced by scsidev_command().

SCSI device.

Definition at line 266 of file scsi.c.

Referenced by scsicmd_close(), scsicmd_command(), scsicmd_free(), scsicmd_response(), scsidev_command(), and scsidev_get().

List of SCSI commands.

Definition at line 268 of file scsi.c.

Referenced by scsicmd_close(), scsidev_close(), and scsidev_command().

Block data interface.

Definition at line 271 of file scsi.c.

Referenced by scsicmd_close(), scsicmd_read_capacity_done(), and scsidev_command().

SCSI data interface.

Definition at line 273 of file scsi.c.

Referenced by scsicmd_close(), scsicmd_command(), scsicmd_done(), and scsidev_command().

Command type.

Definition at line 276 of file scsi.c.

Referenced by scsicmd_command(), scsicmd_done(), and scsidev_command().

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().

Data buffer.

Definition at line 282 of file scsi.c.

Referenced by scsicmd_read_cmd(), scsicmd_write_cmd(), and scsidev_command().

Length of data buffer.

Definition at line 284 of file scsi.c.

Referenced by scsicmd_read_cmd(), scsicmd_write_cmd(), and scsidev_command().

Command tag.

Definition at line 286 of file scsi.c.

Referenced by scsicmd_close(), scsicmd_command(), and scsicmd_response().

Private data.

Definition at line 289 of file scsi.c.


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