Linux Kernel
3.7.1
|
#include <linux/configfs.h>
#include <linux/export.h>
#include <scsi/iscsi_proto.h>
#include <target/target_core_base.h>
#include <target/configfs_macros.h>
#include "iscsi_target_core.h"
#include "iscsi_target_parameters.h"
#include "iscsi_target_device.h"
#include "iscsi_target_tpg.h"
#include "iscsi_target_util.h"
#include "iscsi_target_stat.h"
Go to the source code of this file.
Macros | |
#define | INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ)) |
#define | ISCSI_INST_NUM_NODES 1 |
#define | ISCSI_INST_DESCR "Storage Engine Target" |
#define | ISCSI_INST_LAST_FAILURE_TYPE 0 |
#define | ISCSI_DISCONTINUITY_TIME 0 |
#define | ISCSI_NODE_INDEX 1 |
#define | ISPRINT(a) ((a >= ' ') && (a <= '~')) |
#define | ISCSI_STAT_INSTANCE_ATTR(_name, _mode) |
#define | ISCSI_STAT_INSTANCE_ATTR_RO(_name) |
#define | ISCSI_STAT_SESS_ERR_ATTR(_name, _mode) |
#define | ISCSI_STAT_SESS_ERR_ATTR_RO(_name) |
#define | ISCSI_STAT_TGT_ATTR(_name, _mode) |
#define | ISCSI_STAT_TGT_ATTR_RO(_name) |
#define | ISCSI_STAT_LOGIN(_name, _mode) |
#define | ISCSI_STAT_LOGIN_RO(_name) |
#define | ISCSI_STAT_LOGOUT(_name, _mode) |
#define | ISCSI_STAT_LOGOUT_RO(_name) |
#define | ISCSI_STAT_SESS(_name, _mode) |
#define | ISCSI_STAT_SESS_RO(_name) |
Definition at line 36 of file iscsi_target_stat.c.
#define ISCSI_DISCONTINUITY_TIME 0 |
Definition at line 43 of file iscsi_target_stat.c.
#define ISCSI_INST_DESCR "Storage Engine Target" |
Definition at line 41 of file iscsi_target_stat.c.
#define ISCSI_INST_LAST_FAILURE_TYPE 0 |
Definition at line 42 of file iscsi_target_stat.c.
#define ISCSI_INST_NUM_NODES 1 |
Definition at line 40 of file iscsi_target_stat.c.
#define ISCSI_NODE_INDEX 1 |
Definition at line 45 of file iscsi_target_stat.c.
#define ISCSI_STAT_INSTANCE_ATTR | ( | _name, | |
_mode | |||
) |
Definition at line 56 of file iscsi_target_stat.c.
#define ISCSI_STAT_INSTANCE_ATTR_RO | ( | _name | ) |
Definition at line 63 of file iscsi_target_stat.c.
#define ISCSI_STAT_LOGIN | ( | _name, | |
_mode | |||
) |
Definition at line 473 of file iscsi_target_stat.c.
#define ISCSI_STAT_LOGIN_RO | ( | _name | ) |
Definition at line 480 of file iscsi_target_stat.c.
#define ISCSI_STAT_LOGOUT | ( | _name, | |
_mode | |||
) |
Definition at line 630 of file iscsi_target_stat.c.
#define ISCSI_STAT_LOGOUT_RO | ( | _name | ) |
Definition at line 637 of file iscsi_target_stat.c.
#define ISCSI_STAT_SESS | ( | _name, | |
_mode | |||
) |
Definition at line 709 of file iscsi_target_stat.c.
#define ISCSI_STAT_SESS_ERR_ATTR | ( | _name, | |
_mode | |||
) |
Definition at line 226 of file iscsi_target_stat.c.
#define ISCSI_STAT_SESS_ERR_ATTR_RO | ( | _name | ) |
Definition at line 233 of file iscsi_target_stat.c.
#define ISCSI_STAT_SESS_RO | ( | _name | ) |
Definition at line 716 of file iscsi_target_stat.c.
#define ISCSI_STAT_TGT_ATTR | ( | _name, | |
_mode | |||
) |
Definition at line 308 of file iscsi_target_stat.c.
#define ISCSI_STAT_TGT_ATTR_RO | ( | _name | ) |
Definition at line 315 of file iscsi_target_stat.c.
Definition at line 47 of file iscsi_target_stat.c.
CONFIGFS_EATTR_OPS | ( | iscsi_stat_instance | , |
iscsi_wwn_stat_grps | , | ||
iscsi_instance_group | |||
) |
CONFIGFS_EATTR_OPS | ( | iscsi_stat_sess_err | , |
iscsi_wwn_stat_grps | , | ||
iscsi_sess_err_group | |||
) |
CONFIGFS_EATTR_OPS | ( | iscsi_stat_tgt_attr | , |
iscsi_wwn_stat_grps | , | ||
iscsi_tgt_attr_group | |||
) |
CONFIGFS_EATTR_OPS | ( | iscsi_stat_login | , |
iscsi_wwn_stat_grps | , | ||
iscsi_login_stats_group | |||
) |
CONFIGFS_EATTR_OPS | ( | iscsi_stat_logout | , |
iscsi_wwn_stat_grps | , | ||
iscsi_logout_stats_group | |||
) |
CONFIGFS_EATTR_OPS | ( | iscsi_stat_sess | , |
iscsi_node_stat_grps | , | ||
iscsi_sess_stats_group | |||
) |
CONFIGFS_EATTR_STRUCT | ( | iscsi_stat_instance | , |
iscsi_wwn_stat_grps | |||
) |
CONFIGFS_EATTR_STRUCT | ( | iscsi_stat_sess_err | , |
iscsi_wwn_stat_grps | |||
) |
CONFIGFS_EATTR_STRUCT | ( | iscsi_stat_tgt_attr | , |
iscsi_wwn_stat_grps | |||
) |
CONFIGFS_EATTR_STRUCT | ( | iscsi_stat_login | , |
iscsi_wwn_stat_grps | |||
) |
CONFIGFS_EATTR_STRUCT | ( | iscsi_stat_logout | , |
iscsi_wwn_stat_grps | |||
) |
CONFIGFS_EATTR_STRUCT | ( | iscsi_stat_sess | , |
iscsi_node_stat_grps | |||
) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | inst | ) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | min_ver | ) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | max_ver | ) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | portals | ) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | nodes | ) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | sessions | ) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | fail_sess | ) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | fail_type | ) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | fail_rem_name | ) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | disc_time | ) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | description | ) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | vendor | ) |
ISCSI_STAT_INSTANCE_ATTR_RO | ( | version | ) |
ISCSI_STAT_LOGIN_RO | ( | inst | ) |
ISCSI_STAT_LOGIN_RO | ( | indx | ) |
ISCSI_STAT_LOGIN_RO | ( | accepts | ) |
ISCSI_STAT_LOGIN_RO | ( | other_fails | ) |
ISCSI_STAT_LOGIN_RO | ( | redirects | ) |
ISCSI_STAT_LOGIN_RO | ( | authorize_fails | ) |
ISCSI_STAT_LOGIN_RO | ( | authenticate_fails | ) |
ISCSI_STAT_LOGIN_RO | ( | negotiate_fails | ) |
ISCSI_STAT_LOGOUT_RO | ( | inst | ) |
ISCSI_STAT_LOGOUT_RO | ( | indx | ) |
ISCSI_STAT_LOGOUT_RO | ( | normal_logouts | ) |
ISCSI_STAT_LOGOUT_RO | ( | abnormal_logouts | ) |
ISCSI_STAT_SESS_ERR_ATTR_RO | ( | inst | ) |
ISCSI_STAT_SESS_ERR_ATTR_RO | ( | digest_errors | ) |
ISCSI_STAT_SESS_ERR_ATTR_RO | ( | cxn_errors | ) |
ISCSI_STAT_SESS_ERR_ATTR_RO | ( | format_errors | ) |
ISCSI_STAT_SESS_RO | ( | inst | ) |
ISCSI_STAT_SESS_RO | ( | node | ) |
ISCSI_STAT_SESS_RO | ( | indx | ) |
ISCSI_STAT_SESS_RO | ( | cmd_pdus | ) |
ISCSI_STAT_SESS_RO | ( | rsp_pdus | ) |
ISCSI_STAT_SESS_RO | ( | txdata_octs | ) |
ISCSI_STAT_SESS_RO | ( | rxdata_octs | ) |
ISCSI_STAT_SESS_RO | ( | conn_digest_errors | ) |
ISCSI_STAT_SESS_RO | ( | conn_timeout_errors | ) |
ISCSI_STAT_TGT_ATTR_RO | ( | inst | ) |
ISCSI_STAT_TGT_ATTR_RO | ( | indx | ) |
ISCSI_STAT_TGT_ATTR_RO | ( | login_fails | ) |
ISCSI_STAT_TGT_ATTR_RO | ( | last_fail_time | ) |
ISCSI_STAT_TGT_ATTR_RO | ( | last_fail_type | ) |
ISCSI_STAT_TGT_ATTR_RO | ( | fail_intr_name | ) |
ISCSI_STAT_TGT_ATTR_RO | ( | fail_intr_addr_type | ) |
ISCSI_STAT_TGT_ATTR_RO | ( | fail_intr_addr | ) |
struct config_item_type iscsi_stat_instance_cit |
Definition at line 216 of file iscsi_target_stat.c.
struct config_item_type iscsi_stat_login_cit |
Definition at line 619 of file iscsi_target_stat.c.
struct config_item_type iscsi_stat_logout_cit |
Definition at line 698 of file iscsi_target_stat.c.
struct config_item_type iscsi_stat_sess_cit |
Definition at line 946 of file iscsi_target_stat.c.
struct config_item_type iscsi_stat_sess_err_cit |
Definition at line 298 of file iscsi_target_stat.c.
struct config_item_type iscsi_stat_tgt_attr_cit |
Definition at line 463 of file iscsi_target_stat.c.