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

#include <target_core_fabric.h>

Data Fields

struct configfs_subsystemtf_subsys
 
char *(* get_fabric_name )(void)
 
u8(* get_fabric_proto_ident )(struct se_portal_group *)
 
char *(* tpg_get_wwn )(struct se_portal_group *)
 
u16(* tpg_get_tag )(struct se_portal_group *)
 
u32(* tpg_get_default_depth )(struct se_portal_group *)
 
u32(* tpg_get_pr_transport_id )(struct se_portal_group *, struct se_node_acl *, struct t10_pr_registration *, int *, unsigned char *)
 
u32(* tpg_get_pr_transport_id_len )(struct se_portal_group *, struct se_node_acl *, struct t10_pr_registration *, int *)
 
char *(* tpg_parse_pr_out_transport_id )(struct se_portal_group *, const char *, u32 *, char **)
 
int(* tpg_check_demo_mode )(struct se_portal_group *)
 
int(* tpg_check_demo_mode_cache )(struct se_portal_group *)
 
int(* tpg_check_demo_mode_write_protect )(struct se_portal_group *)
 
int(* tpg_check_prod_mode_write_protect )(struct se_portal_group *)
 
int(* tpg_check_demo_mode_login_only )(struct se_portal_group *)
 
struct se_node_acl *(* tpg_alloc_fabric_acl )(struct se_portal_group *)
 
void(* tpg_release_fabric_acl )(struct se_portal_group *, struct se_node_acl *)
 
u32(* tpg_get_inst_index )(struct se_portal_group *)
 
int(* check_stop_free )(struct se_cmd *)
 
void(* release_cmd )(struct se_cmd *)
 
void(* put_session )(struct se_session *)
 
int(* shutdown_session )(struct se_session *)
 
void(* close_session )(struct se_session *)
 
u32(* sess_get_index )(struct se_session *)
 
u32(* sess_get_initiator_sid )(struct se_session *, unsigned char *, u32)
 
int(* write_pending )(struct se_cmd *)
 
int(* write_pending_status )(struct se_cmd *)
 
void(* set_default_node_attributes )(struct se_node_acl *)
 
u32(* get_task_tag )(struct se_cmd *)
 
int(* get_cmd_state )(struct se_cmd *)
 
int(* queue_data_in )(struct se_cmd *)
 
int(* queue_status )(struct se_cmd *)
 
int(* queue_tm_rsp )(struct se_cmd *)
 
struct se_wwn *(* fabric_make_wwn )(struct target_fabric_configfs *, struct config_group *, const char *)
 
void(* fabric_drop_wwn )(struct se_wwn *)
 
struct se_portal_group *(* fabric_make_tpg )(struct se_wwn *, struct config_group *, const char *)
 
void(* fabric_drop_tpg )(struct se_portal_group *)
 
int(* fabric_post_link )(struct se_portal_group *, struct se_lun *)
 
void(* fabric_pre_unlink )(struct se_portal_group *, struct se_lun *)
 
struct se_tpg_np *(* fabric_make_np )(struct se_portal_group *, struct config_group *, const char *)
 
void(* fabric_drop_np )(struct se_tpg_np *)
 
struct se_node_acl *(* fabric_make_nodeacl )(struct se_portal_group *, struct config_group *, const char *)
 
void(* fabric_drop_nodeacl )(struct se_node_acl *)
 

Detailed Description

Definition at line 4 of file target_core_fabric.h.

Field Documentation

int(* check_stop_free)(struct se_cmd *)

Definition at line 42 of file target_core_fabric.h.

void(* close_session)(struct se_session *)

Definition at line 49 of file target_core_fabric.h.

void(* fabric_drop_nodeacl)(struct se_node_acl *)

Definition at line 83 of file target_core_fabric.h.

void(* fabric_drop_np)(struct se_tpg_np *)

Definition at line 80 of file target_core_fabric.h.

void(* fabric_drop_tpg)(struct se_portal_group *)

Definition at line 73 of file target_core_fabric.h.

void(* fabric_drop_wwn)(struct se_wwn *)

Definition at line 70 of file target_core_fabric.h.

struct se_node_acl*(* fabric_make_nodeacl)(struct se_portal_group *, struct config_group *, const char *)
read

Definition at line 81 of file target_core_fabric.h.

struct se_tpg_np*(* fabric_make_np)(struct se_portal_group *, struct config_group *, const char *)
read

Definition at line 78 of file target_core_fabric.h.

struct se_portal_group*(* fabric_make_tpg)(struct se_wwn *, struct config_group *, const char *)
read

Definition at line 71 of file target_core_fabric.h.

Definition at line 68 of file target_core_fabric.h.

int(* fabric_post_link)(struct se_portal_group *, struct se_lun *)

Definition at line 74 of file target_core_fabric.h.

void(* fabric_pre_unlink)(struct se_portal_group *, struct se_lun *)

Definition at line 76 of file target_core_fabric.h.

int(* get_cmd_state)(struct se_cmd *)

Definition at line 61 of file target_core_fabric.h.

char*(* get_fabric_name)(void)

Definition at line 6 of file target_core_fabric.h.

u8(* get_fabric_proto_ident)(struct se_portal_group *)

Definition at line 7 of file target_core_fabric.h.

u32(* get_task_tag)(struct se_cmd *)

Definition at line 60 of file target_core_fabric.h.

void(* put_session)(struct se_session *)

Definition at line 44 of file target_core_fabric.h.

int(* queue_data_in)(struct se_cmd *)

Definition at line 62 of file target_core_fabric.h.

int(* queue_status)(struct se_cmd *)

Definition at line 63 of file target_core_fabric.h.

int(* queue_tm_rsp)(struct se_cmd *)

Definition at line 64 of file target_core_fabric.h.

void(* release_cmd)(struct se_cmd *)

Definition at line 43 of file target_core_fabric.h.

u32(* sess_get_index)(struct se_session *)

Definition at line 50 of file target_core_fabric.h.

u32(* sess_get_initiator_sid)(struct se_session *, unsigned char *, u32)

Definition at line 55 of file target_core_fabric.h.

void(* set_default_node_attributes)(struct se_node_acl *)

Definition at line 59 of file target_core_fabric.h.

int(* shutdown_session)(struct se_session *)

Definition at line 48 of file target_core_fabric.h.

Definition at line 5 of file target_core_fabric.h.

struct se_node_acl*(* tpg_alloc_fabric_acl)(struct se_portal_group *)
read

Definition at line 30 of file target_core_fabric.h.

int(* tpg_check_demo_mode)(struct se_portal_group *)

Definition at line 20 of file target_core_fabric.h.

int(* tpg_check_demo_mode_cache)(struct se_portal_group *)

Definition at line 21 of file target_core_fabric.h.

int(* tpg_check_demo_mode_login_only)(struct se_portal_group *)

Definition at line 29 of file target_core_fabric.h.

int(* tpg_check_demo_mode_write_protect)(struct se_portal_group *)

Definition at line 22 of file target_core_fabric.h.

int(* tpg_check_prod_mode_write_protect)(struct se_portal_group *)

Definition at line 23 of file target_core_fabric.h.

u32(* tpg_get_default_depth)(struct se_portal_group *)

Definition at line 10 of file target_core_fabric.h.

u32(* tpg_get_inst_index)(struct se_portal_group *)

Definition at line 34 of file target_core_fabric.h.

u32(* tpg_get_pr_transport_id)(struct se_portal_group *, struct se_node_acl *, struct t10_pr_registration *, int *, unsigned char *)

Definition at line 11 of file target_core_fabric.h.

u32(* tpg_get_pr_transport_id_len)(struct se_portal_group *, struct se_node_acl *, struct t10_pr_registration *, int *)

Definition at line 15 of file target_core_fabric.h.

u16(* tpg_get_tag)(struct se_portal_group *)

Definition at line 9 of file target_core_fabric.h.

char*(* tpg_get_wwn)(struct se_portal_group *)

Definition at line 8 of file target_core_fabric.h.

char*(* tpg_parse_pr_out_transport_id)(struct se_portal_group *, const char *, u32 *, char **)

Definition at line 18 of file target_core_fabric.h.

void(* tpg_release_fabric_acl)(struct se_portal_group *, struct se_node_acl *)

Definition at line 32 of file target_core_fabric.h.

int(* write_pending)(struct se_cmd *)

Definition at line 57 of file target_core_fabric.h.

int(* write_pending_status)(struct se_cmd *)

Definition at line 58 of file target_core_fabric.h.


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