Data Fields
scsi_command_type Struct Reference

A SCSI command type. More...

Data Fields

const char * name
 Name. More...
size_t priv_len
 Additional working space. More...
void(* cmd )(struct scsi_command *scsicmd, struct scsi_cmd *command)
 Construct SCSI command IU. More...
void(* done )(struct scsi_command *scsicmd, int rc)
 Handle SCSI command completion. More...

Detailed Description

A SCSI command type.

Definition at line 293 of file scsi.c.

Field Documentation

◆ name

const char* scsi_command_type::name


Definition at line 295 of file scsi.c.

Referenced by scsicmd_command().

◆ priv_len

size_t scsi_command_type::priv_len

Additional working space.

Definition at line 297 of file scsi.c.

◆ cmd

void( * scsi_command_type::cmd) (struct scsi_command *scsicmd, struct scsi_cmd *command)

Construct SCSI command IU.

scsicmdSCSI command
commandSCSI command IU

Definition at line 304 of file scsi.c.

Referenced by scsicmd_command().

◆ done

void( * scsi_command_type::done) (struct scsi_command *scsicmd, int rc)

Handle SCSI command completion.

scsicmdSCSI command
rcReason for completion

Definition at line 312 of file scsi.c.

Referenced by scsicmd_done().

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