iPXE
Data Fields
scsi_device Struct Reference

A SCSI device. More...

Data Fields

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

Detailed Description

A SCSI device.

Definition at line 229 of file scsi.c.

Field Documentation

◆ refcnt

struct refcnt scsi_device::refcnt

Reference count.

Definition at line 231 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 233 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 235 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 238 of file scsi.c.

Referenced by scsi_open(), and scsicmd_command().

◆ flags

unsigned int scsi_device::flags

Flags.

Definition at line 240 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 243 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 245 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 247 of file scsi.c.

Referenced by scsidev_ready().

◆ cmds

struct list_head scsi_device::cmds

List of commands.

Definition at line 250 of file scsi.c.

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


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