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

Go to the source code of this file.

Macros

#define MARKER_SIZE   8
 

Functions

int iscsit_add_r2t_to_list (struct iscsi_cmd *, u32, u32, int, u32)
 
struct iscsi_r2tiscsit_get_r2t_for_eos (struct iscsi_cmd *, u32, u32)
 
struct iscsi_r2tiscsit_get_r2t_from_list (struct iscsi_cmd *)
 
void iscsit_free_r2t (struct iscsi_r2t *, struct iscsi_cmd *)
 
void iscsit_free_r2ts_from_list (struct iscsi_cmd *)
 
struct iscsi_cmdiscsit_allocate_cmd (struct iscsi_conn *, gfp_t)
 
struct iscsi_seqiscsit_get_seq_holder_for_datain (struct iscsi_cmd *, u32)
 
struct iscsi_seqiscsit_get_seq_holder_for_r2t (struct iscsi_cmd *)
 
struct iscsi_r2tiscsit_get_holder_for_r2tsn (struct iscsi_cmd *, u32)
 
int iscsit_sequence_cmd (struct iscsi_conn *conn, struct iscsi_cmd *cmd, __be32 cmdsn)
 
int iscsit_check_unsolicited_dataout (struct iscsi_cmd *, unsigned char *)
 
struct iscsi_cmdiscsit_find_cmd_from_itt (struct iscsi_conn *, itt_t)
 
struct iscsi_cmdiscsit_find_cmd_from_itt_or_dump (struct iscsi_conn *, itt_t, u32)
 
struct iscsi_cmdiscsit_find_cmd_from_ttt (struct iscsi_conn *, u32)
 
int iscsit_find_cmd_for_recovery (struct iscsi_session *, struct iscsi_cmd **, struct iscsi_conn_recovery **, itt_t)
 
void iscsit_add_cmd_to_immediate_queue (struct iscsi_cmd *, struct iscsi_conn *, u8)
 
struct iscsi_queue_reqiscsit_get_cmd_from_immediate_queue (struct iscsi_conn *)
 
void iscsit_add_cmd_to_response_queue (struct iscsi_cmd *, struct iscsi_conn *, u8)
 
struct iscsi_queue_reqiscsit_get_cmd_from_response_queue (struct iscsi_conn *)
 
void iscsit_remove_cmd_from_tx_queues (struct iscsi_cmd *, struct iscsi_conn *)
 
bool iscsit_conn_all_queues_empty (struct iscsi_conn *)
 
void iscsit_free_queue_reqs_for_conn (struct iscsi_conn *)
 
void iscsit_release_cmd (struct iscsi_cmd *)
 
void iscsit_free_cmd (struct iscsi_cmd *)
 
int iscsit_check_session_usage_count (struct iscsi_session *)
 
void iscsit_dec_session_usage_count (struct iscsi_session *)
 
void iscsit_inc_session_usage_count (struct iscsi_session *)
 
int iscsit_set_sync_and_steering_values (struct iscsi_conn *)
 
struct iscsi_conniscsit_get_conn_from_cid (struct iscsi_session *, u16)
 
struct iscsi_conniscsit_get_conn_from_cid_rcfr (struct iscsi_session *, u16)
 
void iscsit_check_conn_usage_count (struct iscsi_conn *)
 
void iscsit_dec_conn_usage_count (struct iscsi_conn *)
 
void iscsit_inc_conn_usage_count (struct iscsi_conn *)
 
void iscsit_mod_nopin_response_timer (struct iscsi_conn *)
 
void iscsit_start_nopin_response_timer (struct iscsi_conn *)
 
void iscsit_stop_nopin_response_timer (struct iscsi_conn *)
 
void __iscsit_start_nopin_timer (struct iscsi_conn *)
 
void iscsit_start_nopin_timer (struct iscsi_conn *)
 
void iscsit_stop_nopin_timer (struct iscsi_conn *)
 
int iscsit_send_tx_data (struct iscsi_cmd *, struct iscsi_conn *, int)
 
int iscsit_fe_sendpage_sg (struct iscsi_cmd *, struct iscsi_conn *)
 
int iscsit_tx_login_rsp (struct iscsi_conn *, u8, u8)
 
void iscsit_print_session_params (struct iscsi_session *)
 
int iscsit_print_dev_to_proc (char *, char **, off_t, int)
 
int iscsit_print_sessions_to_proc (char *, char **, off_t, int)
 
int iscsit_print_tpg_to_proc (char *, char **, off_t, int)
 
int rx_data (struct iscsi_conn *, struct kvec *, int, int)
 
int tx_data (struct iscsi_conn *, struct kvec *, int, int)
 
void iscsit_collect_login_stats (struct iscsi_conn *, u8, u8)
 
struct iscsi_tiqniscsit_snmp_get_tiqn (struct iscsi_conn *)
 

Macro Definition Documentation

#define MARKER_SIZE   8

Definition at line 4 of file iscsi_target_util.h.

Function Documentation

void __iscsit_start_nopin_timer ( struct iscsi_conn )

Definition at line 1017 of file iscsi_target_util.c.

void iscsit_add_cmd_to_immediate_queue ( struct iscsi_cmd ,
struct iscsi_conn ,
u8   
)

Definition at line 468 of file iscsi_target_util.c.

void iscsit_add_cmd_to_response_queue ( struct iscsi_cmd ,
struct iscsi_conn ,
u8   
)

Definition at line 543 of file iscsi_target_util.c.

int iscsit_add_r2t_to_list ( struct iscsi_cmd ,
u32  ,
u32  ,
int  ,
u32   
)

Definition at line 63 of file iscsi_target_util.c.

struct iscsi_cmd* iscsit_allocate_cmd ( struct iscsi_conn ,
gfp_t   
)
read

Definition at line 155 of file iscsi_target_util.c.

void iscsit_check_conn_usage_count ( struct iscsi_conn )

Definition at line 833 of file iscsi_target_util.c.

int iscsit_check_session_usage_count ( struct iscsi_session )

Definition at line 712 of file iscsi_target_util.c.

int iscsit_check_unsolicited_dataout ( struct iscsi_cmd ,
unsigned char  
)

Definition at line 308 of file iscsi_target_util.c.

void iscsit_collect_login_stats ( struct iscsi_conn ,
u8  ,
u8   
)

Definition at line 1382 of file iscsi_target_util.c.

bool iscsit_conn_all_queues_empty ( struct iscsi_conn )

Definition at line 619 of file iscsi_target_util.c.

void iscsit_dec_conn_usage_count ( struct iscsi_conn )

Definition at line 846 of file iscsi_target_util.c.

void iscsit_dec_session_usage_count ( struct iscsi_session )

Definition at line 729 of file iscsi_target_util.c.

int iscsit_fe_sendpage_sg ( struct iscsi_cmd ,
struct iscsi_conn  
)

Definition at line 1121 of file iscsi_target_util.c.

int iscsit_find_cmd_for_recovery ( struct iscsi_session ,
struct iscsi_cmd **  ,
struct iscsi_conn_recovery **  ,
itt_t   
)

Definition at line 416 of file iscsi_target_util.c.

struct iscsi_cmd* iscsit_find_cmd_from_itt ( struct iscsi_conn ,
itt_t   
)
read

Definition at line 352 of file iscsi_target_util.c.

struct iscsi_cmd* iscsit_find_cmd_from_itt_or_dump ( struct iscsi_conn ,
itt_t  ,
u32   
)
read

Definition at line 372 of file iscsi_target_util.c.

struct iscsi_cmd* iscsit_find_cmd_from_ttt ( struct iscsi_conn ,
u32   
)
read

Definition at line 396 of file iscsi_target_util.c.

void iscsit_free_cmd ( struct iscsi_cmd )

Definition at line 684 of file iscsi_target_util.c.

void iscsit_free_queue_reqs_for_conn ( struct iscsi_conn )

Definition at line 637 of file iscsi_target_util.c.

void iscsit_free_r2t ( struct iscsi_r2t ,
struct iscsi_cmd  
)

Definition at line 135 of file iscsi_target_util.c.

void iscsit_free_r2ts_from_list ( struct iscsi_cmd )

Definition at line 141 of file iscsi_target_util.c.

struct iscsi_queue_req* iscsit_get_cmd_from_immediate_queue ( struct iscsi_conn )
read

Definition at line 494 of file iscsi_target_util.c.

struct iscsi_queue_req* iscsit_get_cmd_from_response_queue ( struct iscsi_conn )
read

Definition at line 568 of file iscsi_target_util.c.

struct iscsi_conn* iscsit_get_conn_from_cid ( struct iscsi_session ,
u16   
)
read

Definition at line 795 of file iscsi_target_util.c.

struct iscsi_conn* iscsit_get_conn_from_cid_rcfr ( struct iscsi_session ,
u16   
)
read

Definition at line 813 of file iscsi_target_util.c.

struct iscsi_r2t* iscsit_get_holder_for_r2tsn ( struct iscsi_cmd ,
u32   
)
read

Definition at line 213 of file iscsi_target_util.c.

struct iscsi_r2t* iscsit_get_r2t_for_eos ( struct iscsi_cmd ,
u32  ,
u32   
)
read

Definition at line 92 of file iscsi_target_util.c.

struct iscsi_r2t* iscsit_get_r2t_from_list ( struct iscsi_cmd )
read

Definition at line 114 of file iscsi_target_util.c.

struct iscsi_seq* iscsit_get_seq_holder_for_datain ( struct iscsi_cmd ,
u32   
)
read

Definition at line 179 of file iscsi_target_util.c.

struct iscsi_seq* iscsit_get_seq_holder_for_r2t ( struct iscsi_cmd )
read

Definition at line 192 of file iscsi_target_util.c.

void iscsit_inc_conn_usage_count ( struct iscsi_conn )

Definition at line 857 of file iscsi_target_util.c.

void iscsit_inc_session_usage_count ( struct iscsi_session )

Definition at line 740 of file iscsi_target_util.c.

void iscsit_mod_nopin_response_timer ( struct iscsi_conn )

Definition at line 934 of file iscsi_target_util.c.

int iscsit_print_dev_to_proc ( char ,
char **  ,
off_t  ,
int   
)
void iscsit_print_session_params ( struct iscsi_session )

Definition at line 1259 of file iscsi_target_util.c.

int iscsit_print_sessions_to_proc ( char ,
char **  ,
off_t  ,
int   
)
int iscsit_print_tpg_to_proc ( char ,
char **  ,
off_t  ,
int   
)
void iscsit_release_cmd ( struct iscsi_cmd )

Definition at line 663 of file iscsi_target_util.c.

void iscsit_remove_cmd_from_tx_queues ( struct iscsi_cmd ,
struct iscsi_conn  
)
int iscsit_send_tx_data ( struct iscsi_cmd ,
struct iscsi_conn ,
int   
)

Definition at line 1088 of file iscsi_target_util.c.

int iscsit_sequence_cmd ( struct iscsi_conn conn,
struct iscsi_cmd cmd,
__be32  cmdsn 
)

Definition at line 274 of file iscsi_target_util.c.

int iscsit_set_sync_and_steering_values ( struct iscsi_conn )

Definition at line 751 of file iscsi_target_util.c.

struct iscsi_tiqn* iscsit_snmp_get_tiqn ( struct iscsi_conn )
read

Definition at line 1444 of file iscsi_target_util.c.

void iscsit_start_nopin_response_timer ( struct iscsi_conn )

Definition at line 953 of file iscsi_target_util.c.

void iscsit_start_nopin_timer ( struct iscsi_conn )

Definition at line 1042 of file iscsi_target_util.c.

void iscsit_stop_nopin_response_timer ( struct iscsi_conn )

Definition at line 978 of file iscsi_target_util.c.

void iscsit_stop_nopin_timer ( struct iscsi_conn )

Definition at line 1071 of file iscsi_target_util.c.

int iscsit_tx_login_rsp ( struct iscsi_conn ,
u8  ,
u8   
)

Definition at line 1227 of file iscsi_target_util.c.

int rx_data ( struct iscsi_conn ,
struct kvec ,
int  ,
int   
)

Definition at line 1342 of file iscsi_target_util.c.

int tx_data ( struct iscsi_conn ,
struct kvec ,
int  ,
int   
)

Definition at line 1362 of file iscsi_target_util.c.