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

#include <target_core_backend.h>

Data Fields

struct list_head sub_api_list
 
char name [16]
 
struct moduleowner
 
u8 transport_type
 
int(* attach_hba )(struct se_hba *, u32)
 
void(* detach_hba )(struct se_hba *)
 
int(* pmode_enable_hba )(struct se_hba *, unsigned long)
 
void *(* allocate_virtdevice )(struct se_hba *, const char *)
 
struct se_device *(* create_virtdevice )(struct se_hba *, struct se_subsystem_dev *, void *)
 
void(* free_device )(void *)
 
void(* transport_complete )(struct se_cmd *cmd, struct scatterlist *, unsigned char *)
 
int(* parse_cdb )(struct se_cmd *cmd)
 
ssize_t(* check_configfs_dev_params )(struct se_hba *, struct se_subsystem_dev *)
 
ssize_t(* set_configfs_dev_params )(struct se_hba *, struct se_subsystem_dev *, const char *, ssize_t)
 
ssize_t(* show_configfs_dev_params )(struct se_hba *, struct se_subsystem_dev *, char *)
 
u32(* get_device_rev )(struct se_device *)
 
u32(* get_device_type )(struct se_device *)
 
sector_t(* get_blocks )(struct se_device *)
 
unsigned char *(* get_sense_buffer )(struct se_cmd *)
 

Detailed Description

Definition at line 8 of file target_core_backend.h.

Field Documentation

void*(* allocate_virtdevice)(struct se_hba *, const char *)

Definition at line 19 of file target_core_backend.h.

int(* attach_hba)(struct se_hba *, u32)

Definition at line 16 of file target_core_backend.h.

ssize_t(* check_configfs_dev_params)(struct se_hba *, struct se_subsystem_dev *)

Definition at line 28 of file target_core_backend.h.

struct se_device*(* create_virtdevice)(struct se_hba *, struct se_subsystem_dev *, void *)
read

Definition at line 20 of file target_core_backend.h.

void(* detach_hba)(struct se_hba *)

Definition at line 17 of file target_core_backend.h.

void(* free_device)(void *)

Definition at line 22 of file target_core_backend.h.

sector_t(* get_blocks)(struct se_device *)

Definition at line 36 of file target_core_backend.h.

u32(* get_device_rev)(struct se_device *)

Definition at line 34 of file target_core_backend.h.

u32(* get_device_type)(struct se_device *)

Definition at line 35 of file target_core_backend.h.

unsigned char*(* get_sense_buffer)(struct se_cmd *)

Definition at line 37 of file target_core_backend.h.

char name[16]

Definition at line 11 of file target_core_backend.h.

struct module* owner

Definition at line 12 of file target_core_backend.h.

int(* parse_cdb)(struct se_cmd *cmd)

Definition at line 27 of file target_core_backend.h.

int(* pmode_enable_hba)(struct se_hba *, unsigned long)

Definition at line 18 of file target_core_backend.h.

ssize_t(* set_configfs_dev_params)(struct se_hba *, struct se_subsystem_dev *, const char *, ssize_t)

Definition at line 30 of file target_core_backend.h.

ssize_t(* show_configfs_dev_params)(struct se_hba *, struct se_subsystem_dev *, char *)

Definition at line 32 of file target_core_backend.h.

struct list_head sub_api_list

Definition at line 9 of file target_core_backend.h.

void(* transport_complete)(struct se_cmd *cmd, struct scatterlist *, unsigned char *)

Definition at line 23 of file target_core_backend.h.

u8 transport_type

Definition at line 14 of file target_core_backend.h.


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