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

Go to the source code of this file.

Functions

struct iscsi_tiqniscsit_get_tiqn_for_login (unsigned char *)
 
struct iscsi_tiqniscsit_get_tiqn (unsigned char *, int)
 
void iscsit_put_tiqn_for_login (struct iscsi_tiqn *)
 
struct iscsi_tiqniscsit_add_tiqn (unsigned char *)
 
void iscsit_del_tiqn (struct iscsi_tiqn *)
 
int iscsit_access_np (struct iscsi_np *, struct iscsi_portal_group *)
 
int iscsit_deaccess_np (struct iscsi_np *, struct iscsi_portal_group *)
 
struct iscsi_npiscsit_add_np (struct __kernel_sockaddr_storage *, char *, int)
 
int iscsit_reset_np_thread (struct iscsi_np *, struct iscsi_tpg_np *, struct iscsi_portal_group *)
 
int iscsit_del_np (struct iscsi_np *)
 
int iscsit_add_reject_from_cmd (u8, int, int, unsigned char *, struct iscsi_cmd *)
 
int iscsit_logout_closesession (struct iscsi_cmd *, struct iscsi_conn *)
 
int iscsit_logout_closeconnection (struct iscsi_cmd *, struct iscsi_conn *)
 
int iscsit_logout_removeconnforrecovery (struct iscsi_cmd *, struct iscsi_conn *)
 
int iscsit_send_async_msg (struct iscsi_conn *, u16, u8, u8)
 
int iscsit_build_r2ts_for_cmd (struct iscsi_cmd *, struct iscsi_conn *, bool recovery)
 
void iscsit_thread_get_cpumask (struct iscsi_conn *)
 
int iscsi_target_tx_thread (void *)
 
int iscsi_target_rx_thread (void *)
 
int iscsit_close_connection (struct iscsi_conn *)
 
int iscsit_close_session (struct iscsi_session *)
 
void iscsit_fail_session (struct iscsi_session *)
 
int iscsit_free_session (struct iscsi_session *)
 
void iscsit_stop_session (struct iscsi_session *, int, int)
 
int iscsit_release_sessions_for_tpg (struct iscsi_portal_group *, int)
 

Variables

struct iscsit_globaliscsit_global
 
struct target_fabric_configfslio_target_fabric_configfs
 
struct kmem_cachelio_dr_cache
 
struct kmem_cachelio_ooo_cache
 
struct kmem_cachelio_cmd_cache
 
struct kmem_cachelio_qr_cache
 
struct kmem_cachelio_r2t_cache
 
struct idr sess_idr
 
struct mutex auth_id_lock
 
spinlock_t sess_idr_lock
 

Function Documentation

int iscsi_target_rx_thread ( void )

Definition at line 3748 of file iscsi_target.c.

int iscsi_target_tx_thread ( void )

Definition at line 3697 of file iscsi_target.c.

int iscsit_access_np ( struct iscsi_np ,
struct iscsi_portal_group  
)

Definition at line 210 of file iscsi_target.c.

struct iscsi_np* iscsit_add_np ( struct __kernel_sockaddr_storage ,
char ,
int   
)
read

Definition at line 325 of file iscsi_target.c.

int iscsit_add_reject_from_cmd ( u8  ,
int  ,
int  ,
unsigned char ,
struct iscsi_cmd  
)

Definition at line 629 of file iscsi_target.c.

struct iscsi_tiqn* iscsit_add_tiqn ( unsigned char )
read

Definition at line 121 of file iscsi_target.c.

int iscsit_build_r2ts_for_cmd ( struct iscsi_cmd ,
struct iscsi_conn ,
bool  recovery 
)

Definition at line 2951 of file iscsi_target.c.

int iscsit_close_connection ( struct iscsi_conn )

Definition at line 3942 of file iscsi_target.c.

int iscsit_close_session ( struct iscsi_session )

Definition at line 4148 of file iscsi_target.c.

int iscsit_deaccess_np ( struct iscsi_np ,
struct iscsi_portal_group  
)

Definition at line 251 of file iscsi_target.c.

int iscsit_del_np ( struct iscsi_np )

Definition at line 437 of file iscsi_target.c.

void iscsit_del_tiqn ( struct iscsi_tiqn )

Definition at line 185 of file iscsi_target.c.

void iscsit_fail_session ( struct iscsi_session )

Definition at line 4349 of file iscsi_target.c.

int iscsit_free_session ( struct iscsi_session )

Definition at line 4364 of file iscsi_target.c.

struct iscsi_tiqn* iscsit_get_tiqn ( unsigned char ,
int   
)
read
struct iscsi_tiqn* iscsit_get_tiqn_for_login ( unsigned char )
read

Definition at line 74 of file iscsi_target.c.

int iscsit_logout_closeconnection ( struct iscsi_cmd ,
struct iscsi_conn  
)

Definition at line 2025 of file iscsi_target.c.

int iscsit_logout_closesession ( struct iscsi_cmd ,
struct iscsi_conn  
)

Definition at line 1995 of file iscsi_target.c.

int iscsit_logout_removeconnforrecovery ( struct iscsi_cmd ,
struct iscsi_conn  
)

Definition at line 2073 of file iscsi_target.c.

void iscsit_put_tiqn_for_login ( struct iscsi_tiqn )

Definition at line 110 of file iscsi_target.c.

int iscsit_release_sessions_for_tpg ( struct iscsi_portal_group ,
int   
)

Definition at line 4455 of file iscsi_target.c.

int iscsit_reset_np_thread ( struct iscsi_np ,
struct iscsi_tpg_np ,
struct iscsi_portal_group  
)

Definition at line 396 of file iscsi_target.c.

int iscsit_send_async_msg ( struct iscsi_conn ,
u16  ,
u8  ,
u8   
)
void iscsit_stop_session ( struct iscsi_session ,
int  ,
int   
)

Definition at line 4407 of file iscsi_target.c.

void iscsit_thread_get_cpumask ( struct iscsi_conn )

Definition at line 3459 of file iscsi_target.c.

Variable Documentation

struct mutex auth_id_lock

Definition at line 59 of file iscsi_target.c.

Definition at line 62 of file iscsi_target.c.

struct kmem_cache* lio_cmd_cache

Definition at line 64 of file iscsi_target.c.

struct kmem_cache* lio_dr_cache

Definition at line 66 of file iscsi_target.c.

struct kmem_cache* lio_ooo_cache

Definition at line 67 of file iscsi_target.c.

struct kmem_cache* lio_qr_cache

Definition at line 65 of file iscsi_target.c.

struct kmem_cache* lio_r2t_cache

Definition at line 68 of file iscsi_target.c.

struct target_fabric_configfs* lio_target_fabric_configfs

Definition at line 42 of file iscsi_target_configfs.c.

struct idr sess_idr

Definition at line 58 of file iscsi_target.c.

spinlock_t sess_idr_lock

Definition at line 60 of file iscsi_target.c.