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

Go to the source code of this file.

Data Structures

struct  ft_transport_id
 
struct  ft_sess
 
struct  ft_tport
 
struct  ft_node_auth
 
struct  ft_node_acl
 
struct  ft_lun
 
struct  ft_tpg
 
struct  ft_lport_acl
 
struct  ft_cmd
 

Macros

#define FT_VERSION   "0.4"
 
#define FT_NAMELEN   32 /* length of ASCII WWPNs including pad */
 
#define FT_TPG_NAMELEN   32 /* max length of TPG name */
 
#define FT_LUN_NAMELEN   32 /* max length of LUN name */
 
#define FT_SESS_HASH_BITS   6
 
#define FT_SESS_HASH_SIZE   (1 << FT_SESS_HASH_BITS)
 

Functions

struct ft_transport_id __attribute__ ((__packed__))
 
void ft_sess_put (struct ft_sess *)
 
int ft_sess_shutdown (struct se_session *)
 
void ft_sess_close (struct se_session *)
 
u32 ft_sess_get_index (struct se_session *)
 
u32 ft_sess_get_port_name (struct se_session *, unsigned char *, u32)
 
void ft_lport_add (struct fc_lport *, void *)
 
void ft_lport_del (struct fc_lport *, void *)
 
int ft_lport_notify (struct notifier_block *, unsigned long, void *)
 
int ft_check_stop_free (struct se_cmd *)
 
void ft_release_cmd (struct se_cmd *)
 
int ft_queue_status (struct se_cmd *)
 
int ft_queue_data_in (struct se_cmd *)
 
int ft_write_pending (struct se_cmd *)
 
int ft_write_pending_status (struct se_cmd *)
 
u32 ft_get_task_tag (struct se_cmd *)
 
int ft_get_cmd_state (struct se_cmd *)
 
int ft_queue_tm_resp (struct se_cmd *)
 
void ft_recv_req (struct ft_sess *, struct fc_frame *)
 
struct ft_tpgft_lport_find_tpg (struct fc_lport *)
 
struct ft_node_aclft_acl_get (struct ft_tpg *, struct fc_rport_priv *)
 
void ft_recv_write_data (struct ft_cmd *, struct fc_frame *)
 
void ft_dump_cmd (struct ft_cmd *, const char *caller)
 
ssize_t ft_format_wwn (char *, size_t, u64)
 
void ft_invl_hw_context (struct ft_cmd *)
 

Variables

__u8 format
 
__u8 __resvd1 [7]
 
__u8 wwpn [8]
 
__u8 __resvd2 [8]
 
struct ft_sess __attribute__
 
struct list_head ft_lport_list
 
struct mutex ft_lport_lock
 
struct fc4_prov ft_prov
 
struct target_fabric_configfsft_configfs
 
unsigned int ft_debug_logging
 

Macro Definition Documentation

#define FT_LUN_NAMELEN   32 /* max length of LUN name */

Definition at line 24 of file tcm_fc.h.

#define FT_NAMELEN   32 /* length of ASCII WWPNs including pad */

Definition at line 22 of file tcm_fc.h.

#define FT_SESS_HASH_BITS   6

Definition at line 52 of file tcm_fc.h.

#define FT_SESS_HASH_SIZE   (1 << FT_SESS_HASH_BITS)

Definition at line 53 of file tcm_fc.h.

#define FT_TPG_NAMELEN   32 /* max length of TPG name */

Definition at line 23 of file tcm_fc.h.

#define FT_VERSION   "0.4"

Definition at line 20 of file tcm_fc.h.

Function Documentation

struct ft_transport_id __attribute__ ( (__packed__)  )
read

Definition at line 85 of file mpc512x_dma.c.

struct ft_node_acl* ft_acl_get ( struct ft_tpg ,
struct fc_rport_priv  
)
read

Definition at line 245 of file tfc_conf.c.

int ft_check_stop_free ( struct se_cmd )

Definition at line 111 of file tfc_cmd.c.

void ft_dump_cmd ( struct ft_cmd ,
const char caller 
)

Definition at line 82 of file tfc_cmd.c.

ssize_t ft_format_wwn ( char ,
size_t  ,
u64   
)

Definition at line 106 of file tfc_conf.c.

int ft_get_cmd_state ( struct se_cmd )

Definition at line 243 of file tfc_cmd.c.

u32 ft_get_task_tag ( struct se_cmd )

Definition at line 234 of file tfc_cmd.c.

void ft_invl_hw_context ( struct ft_cmd )

Definition at line 328 of file tfc_io.c.

void ft_lport_add ( struct fc_lport ,
void  
)

Definition at line 114 of file tfc_sess.c.

void ft_lport_del ( struct fc_lport ,
void  
)

Definition at line 125 of file tfc_sess.c.

struct ft_tpg* ft_lport_find_tpg ( struct fc_lport )
read

Definition at line 377 of file tfc_conf.c.

int ft_lport_notify ( struct notifier_block ,
unsigned  long,
void  
)

Definition at line 140 of file tfc_sess.c.

int ft_queue_data_in ( struct se_cmd )

Definition at line 60 of file tfc_io.c.

int ft_queue_status ( struct se_cmd )

Definition at line 120 of file tfc_cmd.c.

int ft_queue_tm_resp ( struct se_cmd )

Definition at line 397 of file tfc_cmd.c.

void ft_recv_req ( struct ft_sess ,
struct fc_frame  
)

Definition at line 467 of file tfc_cmd.c.

void ft_recv_write_data ( struct ft_cmd ,
struct fc_frame  
)

Definition at line 195 of file tfc_io.c.

void ft_release_cmd ( struct se_cmd )

Definition at line 104 of file tfc_cmd.c.

void ft_sess_close ( struct se_session )

Definition at line 309 of file tfc_sess.c.

u32 ft_sess_get_index ( struct se_session )

Definition at line 329 of file tfc_sess.c.

u32 ft_sess_get_port_name ( struct se_session ,
unsigned char ,
u32   
)

Definition at line 336 of file tfc_sess.c.

void ft_sess_put ( struct ft_sess )

Definition at line 444 of file tfc_sess.c.

int ft_sess_shutdown ( struct se_session )

Definition at line 297 of file tfc_sess.c.

int ft_write_pending ( struct se_cmd )

Definition at line 185 of file tfc_cmd.c.

int ft_write_pending_status ( struct se_cmd )

Definition at line 175 of file tfc_cmd.c.

Variable Documentation

__u8 __resvd1[7]

Definition at line 33 of file tcm_fc.h.

__u8 __resvd2[8]

Definition at line 35 of file tcm_fc.h.

Definition at line 32 of file tcm_fc.h.

Definition at line 51 of file tfc_conf.c.

unsigned int ft_debug_logging

Definition at line 56 of file tfc_conf.c.

struct list_head ft_lport_list
struct mutex ft_lport_lock
struct fc4_prov ft_prov

Definition at line 501 of file tfc_sess.c.

__u8 wwpn[8]

Definition at line 34 of file tcm_fc.h.