Linux Kernel
3.7.1
|
#include <linux/list.h>
#include <scsi/scsi_tcq.h>
#include <scsi/iscsi_proto.h>
#include <target/target_core_base.h>
#include <target/target_core_fabric.h>
#include <target/target_core_configfs.h>
#include "iscsi_target_core.h"
#include "iscsi_target_parameters.h"
#include "iscsi_target_seq_pdu_list.h"
#include "iscsi_target_datain_values.h"
#include "iscsi_target_erl0.h"
#include "iscsi_target_erl1.h"
#include "iscsi_target_erl2.h"
#include "iscsi_target_tpg.h"
#include "iscsi_target_tq.h"
#include "iscsi_target_util.h"
#include "iscsi_target.h"
Go to the source code of this file.
Macros | |
#define | PRINT_BUFF(buff, len) |
Variables | |
struct list_head | g_tiqn_list |
spinlock_t | tiqn_lock |
#define PRINT_BUFF | ( | buff, | |
len | |||
) |
Definition at line 40 of file iscsi_target_util.c.
void __iscsit_start_nopin_timer | ( | struct iscsi_conn * | conn | ) |
Definition at line 1017 of file iscsi_target_util.c.
void iscsit_add_cmd_to_immediate_queue | ( | struct iscsi_cmd * | cmd, |
struct iscsi_conn * | conn, | ||
u8 | state | ||
) |
Definition at line 468 of file iscsi_target_util.c.
void iscsit_add_cmd_to_response_queue | ( | struct iscsi_cmd * | cmd, |
struct iscsi_conn * | conn, | ||
u8 | state | ||
) |
Definition at line 543 of file iscsi_target_util.c.
int iscsit_add_r2t_to_list | ( | struct iscsi_cmd * | cmd, |
u32 | offset, | ||
u32 | xfer_len, | ||
int | recovery, | ||
u32 | r2t_sn | ||
) |
Definition at line 63 of file iscsi_target_util.c.
|
read |
Definition at line 155 of file iscsi_target_util.c.
void iscsit_check_conn_usage_count | ( | struct iscsi_conn * | conn | ) |
Definition at line 833 of file iscsi_target_util.c.
int iscsit_check_session_usage_count | ( | struct iscsi_session * | sess | ) |
Definition at line 712 of file iscsi_target_util.c.
Definition at line 308 of file iscsi_target_util.c.
void iscsit_collect_login_stats | ( | struct iscsi_conn * | conn, |
u8 | status_class, | ||
u8 | status_detail | ||
) |
Definition at line 1382 of file iscsi_target_util.c.
bool iscsit_conn_all_queues_empty | ( | struct iscsi_conn * | conn | ) |
Definition at line 619 of file iscsi_target_util.c.
void iscsit_dec_conn_usage_count | ( | struct iscsi_conn * | conn | ) |
Definition at line 846 of file iscsi_target_util.c.
void iscsit_dec_session_usage_count | ( | struct iscsi_session * | sess | ) |
Definition at line 729 of file iscsi_target_util.c.
int iscsit_fe_sendpage_sg | ( | struct iscsi_cmd * | cmd, |
struct iscsi_conn * | conn | ||
) |
Definition at line 1121 of file iscsi_target_util.c.
int iscsit_find_cmd_for_recovery | ( | struct iscsi_session * | sess, |
struct iscsi_cmd ** | cmd_ptr, | ||
struct iscsi_conn_recovery ** | cr_ptr, | ||
itt_t | init_task_tag | ||
) |
Definition at line 416 of file iscsi_target_util.c.
|
read |
Definition at line 352 of file iscsi_target_util.c.
|
read |
Definition at line 372 of file iscsi_target_util.c.
|
read |
Definition at line 396 of file iscsi_target_util.c.
Definition at line 684 of file iscsi_target_util.c.
void iscsit_free_queue_reqs_for_conn | ( | struct iscsi_conn * | conn | ) |
Definition at line 637 of file iscsi_target_util.c.
Definition at line 135 of file iscsi_target_util.c.
Definition at line 141 of file iscsi_target_util.c.
|
read |
Definition at line 494 of file iscsi_target_util.c.
|
read |
Definition at line 568 of file iscsi_target_util.c.
|
read |
Definition at line 795 of file iscsi_target_util.c.
|
read |
Definition at line 813 of file iscsi_target_util.c.
Definition at line 213 of file iscsi_target_util.c.
Definition at line 92 of file iscsi_target_util.c.
Definition at line 114 of file iscsi_target_util.c.
|
read |
Definition at line 179 of file iscsi_target_util.c.
Definition at line 192 of file iscsi_target_util.c.
void iscsit_inc_conn_usage_count | ( | struct iscsi_conn * | conn | ) |
Definition at line 857 of file iscsi_target_util.c.
void iscsit_inc_session_usage_count | ( | struct iscsi_session * | sess | ) |
Definition at line 740 of file iscsi_target_util.c.
void iscsit_mod_nopin_response_timer | ( | struct iscsi_conn * | conn | ) |
Definition at line 934 of file iscsi_target_util.c.
void iscsit_print_session_params | ( | struct iscsi_session * | sess | ) |
Definition at line 1259 of file iscsi_target_util.c.
Definition at line 663 of file iscsi_target_util.c.
Definition at line 1088 of file iscsi_target_util.c.
Definition at line 274 of file iscsi_target_util.c.
int iscsit_set_sync_and_steering_values | ( | struct iscsi_conn * | conn | ) |
Definition at line 751 of file iscsi_target_util.c.
|
read |
Definition at line 1444 of file iscsi_target_util.c.
void iscsit_start_nopin_response_timer | ( | struct iscsi_conn * | conn | ) |
Definition at line 953 of file iscsi_target_util.c.
void iscsit_start_nopin_timer | ( | struct iscsi_conn * | conn | ) |
Definition at line 1042 of file iscsi_target_util.c.
void iscsit_stop_nopin_response_timer | ( | struct iscsi_conn * | conn | ) |
Definition at line 978 of file iscsi_target_util.c.
void iscsit_stop_nopin_timer | ( | struct iscsi_conn * | conn | ) |
Definition at line 1071 of file iscsi_target_util.c.
int iscsit_tx_login_rsp | ( | struct iscsi_conn * | conn, |
u8 | status_class, | ||
u8 | status_detail | ||
) |
Definition at line 1227 of file iscsi_target_util.c.
Definition at line 1342 of file iscsi_target_util.c.
Definition at line 1362 of file iscsi_target_util.c.
spinlock_t tiqn_lock |