smartmontools  SVN Rev 4048
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Attributes | List of all members
TW_Command Struct Reference

#include <os_linux.h>

Collaboration diagram for TW_Command:
Collaboration graph
[legend]

Public Attributes

struct {
   unsigned char   opcode:5
 
   unsigned char   sgl_offset:3
 
byte0
 
unsigned char size
 
unsigned char request_id
 
struct {
   unsigned char   unit:4
 
   unsigned char   host_id:4
 
byte3
 
unsigned char status
 
unsigned char flags
 
union {
   unsigned short   block_count
 
   unsigned short   parameter_count
 
   unsigned short   message_credits
 
byte6
 
union {
   struct {
      u32   lba
 
      TW_SG_Entry   sgl [TW_MAX_SGL_LENGTH]
 
      u32   padding
 
   }   io
 
   struct {
      TW_SG_Entry   sgl [TW_MAX_SGL_LENGTH]
 
      u32   padding [2]
 
   }   param
 
   struct {
      u32   response_queue_pointer
 
      u32   padding [125]
 
   }   init_connection
 
   struct {
      char   version [504]
 
   }   ioctl_miniport_version
 
byte8
 

Detailed Description

Definition at line 245 of file os_linux.h.

Member Data Documentation

unsigned short TW_Command::block_count

Definition at line 261 of file os_linux.h.

struct { ... } TW_Command::byte0
struct { ... } TW_Command::byte3
union { ... } TW_Command::byte6
union { ... } TW_Command::byte8
unsigned char TW_Command::flags

Definition at line 259 of file os_linux.h.

unsigned char TW_Command::host_id

Definition at line 255 of file os_linux.h.

struct { ... } TW_Command::init_connection
struct { ... } TW_Command::io
struct { ... } TW_Command::ioctl_miniport_version
u32 TW_Command::lba

Definition at line 267 of file os_linux.h.

unsigned short TW_Command::message_credits

Definition at line 263 of file os_linux.h.

unsigned char TW_Command::opcode

Definition at line 248 of file os_linux.h.

u32 TW_Command::padding[125]

Definition at line 269 of file os_linux.h.

struct { ... } TW_Command::param
unsigned short TW_Command::parameter_count

Definition at line 262 of file os_linux.h.

unsigned char TW_Command::request_id

Definition at line 252 of file os_linux.h.

u32 TW_Command::response_queue_pointer

Definition at line 276 of file os_linux.h.

TW_SG_Entry TW_Command::sgl[TW_MAX_SGL_LENGTH]

Definition at line 268 of file os_linux.h.

unsigned char TW_Command::sgl_offset

Definition at line 249 of file os_linux.h.

unsigned char TW_Command::size

Definition at line 251 of file os_linux.h.

unsigned char TW_Command::status

Definition at line 258 of file os_linux.h.

unsigned char TW_Command::unit

Definition at line 254 of file os_linux.h.

char TW_Command::version[504]

Definition at line 280 of file os_linux.h.


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