iPXE
scsi_device Struct Reference

A SCSI device. More...

Data Fields

struct refcnt refcnt
 Reference count.
struct interface block
 Block control interface.
struct interface scsi
 SCSI control interface.
struct scsi_lun lun
 SCSI LUN.
unsigned int flags
 Flags.
struct interface ready
 TEST UNIT READY interface.
struct process process
 TEST UNIT READY process.
unsigned int retries
 TEST UNIT READY retry count.
struct list_head cmds
 List of commands.

Detailed Description

A SCSI device.

Definition at line 230 of file scsi.c.

Field Documentation

◆ refcnt

struct refcnt scsi_device::refcnt

Reference count.

Definition at line 232 of file scsi.c.

Referenced by scsi_open(), scsidev_get(), and scsidev_put().

◆ block

struct interface scsi_device::block

Block control interface.

Definition at line 234 of file scsi.c.

Referenced by scsi_open(), scsidev_close(), and scsidev_ready().

◆ scsi

struct interface scsi_device::scsi

SCSI control interface.

Definition at line 236 of file scsi.c.

Referenced by scsi_open(), scsicmd_command(), scsicmd_read_capacity_done(), scsidev_close(), scsidev_step(), and scsidev_window().

◆ lun

struct scsi_lun scsi_device::lun

SCSI LUN.

Definition at line 239 of file scsi.c.

Referenced by scsi_open(), and scsicmd_command().

◆ flags

unsigned int scsi_device::flags

Flags.

Definition at line 241 of file scsi.c.

Referenced by scsidev_ready(), scsidev_step(), and scsidev_window().

◆ ready

struct interface scsi_device::ready

TEST UNIT READY interface.

Definition at line 244 of file scsi.c.

Referenced by scsi_open(), scsidev_close(), scsidev_ready(), and scsidev_step().

◆ process

struct process scsi_device::process

TEST UNIT READY process.

Definition at line 246 of file scsi.c.

Referenced by scsi_open(), scsidev_close(), and scsidev_ready().

◆ retries

unsigned int scsi_device::retries

TEST UNIT READY retry count.

Definition at line 248 of file scsi.c.

Referenced by scsidev_ready().

◆ cmds

struct list_head scsi_device::cmds

List of commands.

Definition at line 251 of file scsi.c.

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


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