Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
tgt_event Struct Reference

#include <scsi_tgt_if.h>

Data Fields

struct tgt_event_hdr hdr
 
union {
   struct {
      int   host_no
 
      int   result
 
      aligned_u64   itn_id
 
      aligned_u64   tag
 
      aligned_u64   uaddr
 
      aligned_u64   sense_uaddr
 
      uint32_t   len
 
      uint32_t   sense_len
 
      uint8_t   rw
 
   }   cmd_rsp
 
   struct {
      int   host_no
 
      int   result
 
      aligned_u64   itn_id
 
      aligned_u64   mid
 
   }   tsk_mgmt_rsp
 
   struct {
      __s32   host_no
 
      __s32   result
 
      aligned_u64   itn_id
 
      __u32   function
 
   }   it_nexus_rsp
 
   struct {
      int   host_no
 
      uint32_t   data_len
 
      aligned_u64   itn_id
 
      uint8_t   scb [16]
 
      uint8_t   lun [8]
 
      int   attribute
 
      aligned_u64   tag
 
   }   cmd_req
 
   struct {
      int   host_no
 
      int   result
 
      aligned_u64   itn_id
 
      aligned_u64   tag
 
   }   cmd_done
 
   struct {
      int   host_no
 
      int   function
 
      aligned_u64   itn_id
 
      aligned_u64   tag
 
      uint8_t   lun [8]
 
      aligned_u64   mid
 
   }   tsk_mgmt_req
 
   struct {
      __s32   host_no
 
      __u32   function
 
      aligned_u64   itn_id
 
      __u32   max_cmds
 
      __u8   initiator_id [16]
 
   }   it_nexus_req
 
p
 

Detailed Description

Definition at line 43 of file scsi_tgt_if.h.

Field Documentation

Definition at line 79 of file scsi_tgt_if.h.

struct { ... } cmd_done
struct { ... } cmd_req
struct { ... } cmd_rsp
uint32_t data_len

Definition at line 75 of file scsi_tgt_if.h.

__u32 function

Definition at line 69 of file scsi_tgt_if.h.

int function

Definition at line 90 of file scsi_tgt_if.h.

Definition at line 44 of file scsi_tgt_if.h.

int host_no

Definition at line 49 of file scsi_tgt_if.h.

__s32 host_no

Definition at line 66 of file scsi_tgt_if.h.

__u8 initiator_id[16]

Definition at line 101 of file scsi_tgt_if.h.

struct { ... } it_nexus_req
struct { ... } it_nexus_rsp
aligned_u64 itn_id

Definition at line 51 of file scsi_tgt_if.h.

uint32_t len

Definition at line 55 of file scsi_tgt_if.h.

uint8_t lun[8]

Definition at line 78 of file scsi_tgt_if.h.

__u32 max_cmds

Definition at line 100 of file scsi_tgt_if.h.

Definition at line 63 of file scsi_tgt_if.h.

union { ... } p
int result

Definition at line 50 of file scsi_tgt_if.h.

__s32 result

Definition at line 67 of file scsi_tgt_if.h.

uint8_t rw

Definition at line 57 of file scsi_tgt_if.h.

uint8_t scb[16]

Definition at line 77 of file scsi_tgt_if.h.

uint32_t sense_len

Definition at line 56 of file scsi_tgt_if.h.

aligned_u64 sense_uaddr

Definition at line 54 of file scsi_tgt_if.h.

Definition at line 52 of file scsi_tgt_if.h.

struct { ... } tsk_mgmt_req
struct { ... } tsk_mgmt_rsp

Definition at line 53 of file scsi_tgt_if.h.


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