smartmontools SVN Rev 5599
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 231 of file os_linux.h.

Member Data Documentation

◆ block_count

unsigned short TW_Command::block_count

Definition at line 247 of file os_linux.h.

◆ 

struct { ... } TW_Command::byte0

◆ 

struct { ... } TW_Command::byte3

◆ 

union { ... } TW_Command::byte6

◆ 

union { ... } TW_Command::byte8

◆ flags

unsigned char TW_Command::flags

Definition at line 245 of file os_linux.h.

◆ host_id

unsigned char TW_Command::host_id

Definition at line 241 of file os_linux.h.

◆ 

struct { ... } TW_Command::init_connection

◆ 

struct { ... } TW_Command::io

◆ 

struct { ... } TW_Command::ioctl_miniport_version

◆ lba

u32 TW_Command::lba

Definition at line 253 of file os_linux.h.

◆ message_credits

unsigned short TW_Command::message_credits

Definition at line 249 of file os_linux.h.

◆ opcode

unsigned char TW_Command::opcode

Definition at line 234 of file os_linux.h.

◆ padding

u32 TW_Command::padding[125]

Definition at line 255 of file os_linux.h.

◆ 

struct { ... } TW_Command::param

◆ parameter_count

unsigned short TW_Command::parameter_count

Definition at line 248 of file os_linux.h.

◆ request_id

unsigned char TW_Command::request_id

Definition at line 238 of file os_linux.h.

◆ response_queue_pointer

u32 TW_Command::response_queue_pointer

Definition at line 262 of file os_linux.h.

◆ sgl

TW_SG_Entry TW_Command::sgl[TW_MAX_SGL_LENGTH]

Definition at line 254 of file os_linux.h.

◆ sgl_offset

unsigned char TW_Command::sgl_offset

Definition at line 235 of file os_linux.h.

◆ size

unsigned char TW_Command::size

Definition at line 237 of file os_linux.h.

◆ status

unsigned char TW_Command::status

Definition at line 244 of file os_linux.h.

◆ unit

unsigned char TW_Command::unit

Definition at line 240 of file os_linux.h.

◆ version

char TW_Command::version[504]

Definition at line 266 of file os_linux.h.


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