Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
target_core_backend.h File Reference

Go to the source code of this file.

Data Structures

struct  se_subsystem_api
 
struct  spc_ops
 

Macros

#define TRANSPORT_PLUGIN_PHBA_PDEV   1
 
#define TRANSPORT_PLUGIN_VHBA_PDEV   2
 
#define TRANSPORT_PLUGIN_VHBA_VDEV   3
 

Functions

int transport_subsystem_register (struct se_subsystem_api *)
 
void transport_subsystem_release (struct se_subsystem_api *)
 
struct se_devicetransport_add_device_to_core_hba (struct se_hba *, struct se_subsystem_api *, struct se_subsystem_dev *, u32, void *, struct se_dev_limits *, const char *, const char *)
 
void target_complete_cmd (struct se_cmd *, u8)
 
int sbc_parse_cdb (struct se_cmd *cmd, struct spc_ops *ops)
 
int spc_parse_cdb (struct se_cmd *cmd, unsigned int *size)
 
int spc_get_write_same_sectors (struct se_cmd *cmd)
 
void transport_set_vpd_proto_id (struct t10_vpd *, unsigned char *)
 
int transport_set_vpd_assoc (struct t10_vpd *, unsigned char *)
 
int transport_set_vpd_ident_type (struct t10_vpd *, unsigned char *)
 
int transport_set_vpd_ident (struct t10_vpd *, unsigned char *)
 
voidtransport_kmap_data_sg (struct se_cmd *)
 
void transport_kunmap_data_sg (struct se_cmd *)
 
void array_free (void *array, int n)
 

Macro Definition Documentation

#define TRANSPORT_PLUGIN_PHBA_PDEV   1

Definition at line 4 of file target_core_backend.h.

#define TRANSPORT_PLUGIN_VHBA_PDEV   2

Definition at line 5 of file target_core_backend.h.

#define TRANSPORT_PLUGIN_VHBA_VDEV   3

Definition at line 6 of file target_core_backend.h.

Function Documentation

void array_free ( void array,
int  n 
)

Definition at line 200 of file target_core_tpg.c.

int sbc_parse_cdb ( struct se_cmd cmd,
struct spc_ops ops 
)

Definition at line 316 of file target_core_sbc.c.

int spc_get_write_same_sectors ( struct se_cmd cmd)

Definition at line 109 of file target_core_sbc.c.

int spc_parse_cdb ( struct se_cmd cmd,
unsigned int size 
)

Definition at line 923 of file target_core_spc.c.

void target_complete_cmd ( struct se_cmd ,
u8   
)

Definition at line 587 of file target_core_transport.c.

struct se_device* transport_add_device_to_core_hba ( struct se_hba ,
struct se_subsystem_api ,
struct se_subsystem_dev ,
u32  ,
void ,
struct se_dev_limits ,
const char ,
const char  
)
read

Definition at line 1052 of file target_core_transport.c.

void* transport_kmap_data_sg ( struct se_cmd )

Definition at line 2251 of file target_core_transport.c.

void transport_kunmap_data_sg ( struct se_cmd )

Definition at line 2292 of file target_core_transport.c.

int transport_set_vpd_assoc ( struct t10_vpd ,
unsigned char  
)

Definition at line 846 of file target_core_transport.c.

int transport_set_vpd_ident ( struct t10_vpd ,
unsigned char  
)

Definition at line 958 of file target_core_transport.c.

int transport_set_vpd_ident_type ( struct t10_vpd ,
unsigned char  
)

Definition at line 907 of file target_core_transport.c.

void transport_set_vpd_proto_id ( struct t10_vpd ,
unsigned char  
)

Definition at line 795 of file target_core_transport.c.

int transport_subsystem_register ( struct se_subsystem_api )

Definition at line 53 of file target_core_hba.c.

void transport_subsystem_release ( struct se_subsystem_api )

Definition at line 78 of file target_core_hba.c.