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

#include <target_core_base.h>

Data Fields

u8 scsi_status
 
u8 scsi_asc
 
u8 scsi_ascq
 
u8 scsi_sense_reason
 
u16 scsi_sense_length
 
int alua_nonop_delay
 
enum dma_data_direction data_direction
 
int sam_task_attr
 
enum transport_state_table t_state
 
unsigned check_release:1
 
unsigned cmd_wait_set:1
 
unsigned unknown_data_length:1
 
u32 se_cmd_flags
 
u32 se_ordered_id
 
u32 data_length
 
u32 residual_count
 
u32 orig_fe_lun
 
u64 pr_res_key
 
voidsense_buffer
 
struct list_head se_delayed_node
 
struct list_head se_lun_node
 
struct list_head se_qf_node
 
struct se_devicese_dev
 
struct se_dev_entryse_deve
 
struct se_lunse_lun
 
struct se_sessionse_sess
 
struct se_tmr_reqse_tmr_req
 
struct list_head se_cmd_list
 
struct completion cmd_wait_comp
 
struct kref cmd_kref
 
struct target_core_fabric_opsse_tfo
 
int(* execute_cmd )(struct se_cmd *)
 
void(* transport_complete_callback )(struct se_cmd *)
 
unsigned chart_task_cdb
 
unsigned char __t_task_cdb [TCM_MAX_COMMAND_SIZE]
 
unsigned long long t_task_lba
 
atomic_t t_fe_count
 
unsigned int transport_state
 
spinlock_t t_state_lock
 
struct completion t_transport_stop_comp
 
struct completion transport_lun_fe_stop_comp
 
struct completion transport_lun_stop_comp
 
struct work_struct work
 
struct scatterlistt_data_sg
 
unsigned int t_data_nents
 
voidt_data_vmap
 
struct scatterlistt_bidi_data_sg
 
unsigned int t_bidi_data_nents
 
struct list_head state_list
 
bool state_active
 
struct completion task_stop_comp
 
voidpriv
 

Detailed Description

Definition at line 483 of file target_core_base.h.

Field Documentation

unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE]

Definition at line 530 of file target_core_base.h.

int alua_nonop_delay

Definition at line 491 of file target_core_base.h.

unsigned check_release

Definition at line 499 of file target_core_base.h.

struct kref cmd_kref

Definition at line 524 of file target_core_base.h.

struct completion cmd_wait_comp

Definition at line 523 of file target_core_base.h.

unsigned cmd_wait_set

Definition at line 500 of file target_core_base.h.

Definition at line 493 of file target_core_base.h.

u32 data_length

Definition at line 506 of file target_core_base.h.

int(* execute_cmd)(struct se_cmd *)

Definition at line 526 of file target_core_base.h.

u32 orig_fe_lun

Definition at line 508 of file target_core_base.h.

u64 pr_res_key

Definition at line 510 of file target_core_base.h.

Definition at line 566 of file target_core_base.h.

u32 residual_count

Definition at line 507 of file target_core_base.h.

int sam_task_attr

Definition at line 495 of file target_core_base.h.

u8 scsi_asc

Definition at line 486 of file target_core_base.h.

u8 scsi_ascq

Definition at line 487 of file target_core_base.h.

u16 scsi_sense_length

Definition at line 489 of file target_core_base.h.

u8 scsi_sense_reason

Definition at line 488 of file target_core_base.h.

u8 scsi_status

Definition at line 485 of file target_core_base.h.

u32 se_cmd_flags

Definition at line 503 of file target_core_base.h.

struct list_head se_cmd_list

Definition at line 522 of file target_core_base.h.

struct list_head se_delayed_node

Definition at line 513 of file target_core_base.h.

struct se_device* se_dev

Definition at line 516 of file target_core_base.h.

struct se_dev_entry* se_deve

Definition at line 517 of file target_core_base.h.

Definition at line 518 of file target_core_base.h.

struct list_head se_lun_node

Definition at line 514 of file target_core_base.h.

u32 se_ordered_id

Definition at line 504 of file target_core_base.h.

struct list_head se_qf_node

Definition at line 515 of file target_core_base.h.

struct se_session* se_sess

Definition at line 520 of file target_core_base.h.

Definition at line 525 of file target_core_base.h.

Definition at line 521 of file target_core_base.h.

void* sense_buffer

Definition at line 512 of file target_core_base.h.

bool state_active

Definition at line 560 of file target_core_base.h.

struct list_head state_list

Definition at line 559 of file target_core_base.h.

unsigned int t_bidi_data_nents

Definition at line 557 of file target_core_base.h.

struct scatterlist* t_bidi_data_sg

Definition at line 556 of file target_core_base.h.

unsigned int t_data_nents

Definition at line 554 of file target_core_base.h.

struct scatterlist* t_data_sg

Definition at line 553 of file target_core_base.h.

void* t_data_vmap

Definition at line 555 of file target_core_base.h.

atomic_t t_fe_count

Definition at line 532 of file target_core_base.h.

enum transport_state_table t_state

Definition at line 497 of file target_core_base.h.

spinlock_t t_state_lock

Definition at line 546 of file target_core_base.h.

unsigned char* t_task_cdb

Definition at line 529 of file target_core_base.h.

unsigned long long t_task_lba

Definition at line 531 of file target_core_base.h.

struct completion t_transport_stop_comp

Definition at line 547 of file target_core_base.h.

struct completion task_stop_comp

Definition at line 563 of file target_core_base.h.

void(* transport_complete_callback)(struct se_cmd *)

Definition at line 527 of file target_core_base.h.

struct completion transport_lun_fe_stop_comp

Definition at line 548 of file target_core_base.h.

struct completion transport_lun_stop_comp

Definition at line 549 of file target_core_base.h.

unsigned int transport_state

Definition at line 533 of file target_core_base.h.

unsigned unknown_data_length

Definition at line 501 of file target_core_base.h.

Definition at line 551 of file target_core_base.h.


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