Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
target_core_stat.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/timer.h>
#include <linux/string.h>
#include <linux/utsname.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/blkdev.h>
#include <linux/configfs.h>
#include <scsi/scsi.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
#include <target/target_core_base.h>
#include <target/target_core_backend.h>
#include <target/target_core_fabric.h>
#include <target/target_core_configfs.h>
#include <target/configfs_macros.h>
#include "target_core_internal.h"

Go to the source code of this file.

Macros

#define INITIAL_JIFFIES   ((unsigned long)(unsigned int) (-300*HZ))
 
#define NONE   "None"
 
#define ISPRINT(a)   ((a >= ' ') && (a <= '~'))
 
#define SCSI_LU_INDEX   1
 
#define LU_COUNT   1
 
#define DEV_STAT_SCSI_DEV_ATTR(_name, _mode)
 
#define DEV_STAT_SCSI_DEV_ATTR_RO(_name)
 
#define DEV_STAT_SCSI_TGT_DEV_ATTR(_name, _mode)
 
#define DEV_STAT_SCSI_TGT_DEV_ATTR_RO(_name)
 
#define DEV_STAT_SCSI_LU_ATTR(_name, _mode)
 
#define DEV_STAT_SCSI_LU_ATTR_RO(_name)
 
#define DEV_STAT_SCSI_PORT_ATTR(_name, _mode)
 
#define DEV_STAT_SCSI_PORT_ATTR_RO(_name)
 
#define DEV_STAT_SCSI_TGT_PORT_ATTR(_name, _mode)
 
#define DEV_STAT_SCSI_TGT_PORT_ATTR_RO(_name)
 
#define DEV_STAT_SCSI_TRANSPORT_ATTR(_name, _mode)
 
#define DEV_STAT_SCSI_TRANSPORT_ATTR_RO(_name)
 
#define DEV_STAT_SCSI_AUTH_INTR_ATTR(_name, _mode)
 
#define DEV_STAT_SCSI_AUTH_INTR_ATTR_RO(_name)
 
#define DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR(_name, _mode)
 
#define DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO(_name)
 

Functions

 CONFIGFS_EATTR_STRUCT (target_stat_scsi_dev, se_dev_stat_grps)
 
 DEV_STAT_SCSI_DEV_ATTR_RO (inst)
 
 DEV_STAT_SCSI_DEV_ATTR_RO (indx)
 
 DEV_STAT_SCSI_DEV_ATTR_RO (role)
 
 DEV_STAT_SCSI_DEV_ATTR_RO (ports)
 
 CONFIGFS_EATTR_OPS (target_stat_scsi_dev, se_dev_stat_grps, scsi_dev_group)
 
 CONFIGFS_EATTR_STRUCT (target_stat_scsi_tgt_dev, se_dev_stat_grps)
 
 DEV_STAT_SCSI_TGT_DEV_ATTR_RO (inst)
 
 DEV_STAT_SCSI_TGT_DEV_ATTR_RO (indx)
 
 DEV_STAT_SCSI_TGT_DEV_ATTR_RO (num_lus)
 
 DEV_STAT_SCSI_TGT_DEV_ATTR_RO (status)
 
 DEV_STAT_SCSI_TGT_DEV_ATTR_RO (non_access_lus)
 
 DEV_STAT_SCSI_TGT_DEV_ATTR_RO (resets)
 
 CONFIGFS_EATTR_OPS (target_stat_scsi_tgt_dev, se_dev_stat_grps, scsi_tgt_dev_group)
 
 CONFIGFS_EATTR_STRUCT (target_stat_scsi_lu, se_dev_stat_grps)
 
 DEV_STAT_SCSI_LU_ATTR_RO (inst)
 
 DEV_STAT_SCSI_LU_ATTR_RO (dev)
 
 DEV_STAT_SCSI_LU_ATTR_RO (indx)
 
 DEV_STAT_SCSI_LU_ATTR_RO (lun)
 
 DEV_STAT_SCSI_LU_ATTR_RO (lu_name)
 
 DEV_STAT_SCSI_LU_ATTR_RO (vend)
 
 DEV_STAT_SCSI_LU_ATTR_RO (prod)
 
 DEV_STAT_SCSI_LU_ATTR_RO (rev)
 
 DEV_STAT_SCSI_LU_ATTR_RO (dev_type)
 
 DEV_STAT_SCSI_LU_ATTR_RO (status)
 
 DEV_STAT_SCSI_LU_ATTR_RO (state_bit)
 
 DEV_STAT_SCSI_LU_ATTR_RO (num_cmds)
 
 DEV_STAT_SCSI_LU_ATTR_RO (read_mbytes)
 
 DEV_STAT_SCSI_LU_ATTR_RO (write_mbytes)
 
 DEV_STAT_SCSI_LU_ATTR_RO (resets)
 
 DEV_STAT_SCSI_LU_ATTR_RO (full_stat)
 
 DEV_STAT_SCSI_LU_ATTR_RO (hs_num_cmds)
 
 DEV_STAT_SCSI_LU_ATTR_RO (creation_time)
 
 CONFIGFS_EATTR_OPS (target_stat_scsi_lu, se_dev_stat_grps, scsi_lu_group)
 
void target_stat_setup_dev_default_groups (struct se_subsystem_dev *se_subdev)
 
 CONFIGFS_EATTR_STRUCT (target_stat_scsi_port, se_port_stat_grps)
 
 DEV_STAT_SCSI_PORT_ATTR_RO (inst)
 
 DEV_STAT_SCSI_PORT_ATTR_RO (dev)
 
 DEV_STAT_SCSI_PORT_ATTR_RO (indx)
 
 DEV_STAT_SCSI_PORT_ATTR_RO (role)
 
 DEV_STAT_SCSI_PORT_ATTR_RO (busy_count)
 
 CONFIGFS_EATTR_OPS (target_stat_scsi_port, se_port_stat_grps, scsi_port_group)
 
 CONFIGFS_EATTR_STRUCT (target_stat_scsi_tgt_port, se_port_stat_grps)
 
 DEV_STAT_SCSI_TGT_PORT_ATTR_RO (inst)
 
 DEV_STAT_SCSI_TGT_PORT_ATTR_RO (dev)
 
 DEV_STAT_SCSI_TGT_PORT_ATTR_RO (indx)
 
 DEV_STAT_SCSI_TGT_PORT_ATTR_RO (name)
 
 DEV_STAT_SCSI_TGT_PORT_ATTR_RO (port_index)
 
 DEV_STAT_SCSI_TGT_PORT_ATTR_RO (in_cmds)
 
 DEV_STAT_SCSI_TGT_PORT_ATTR_RO (write_mbytes)
 
 DEV_STAT_SCSI_TGT_PORT_ATTR_RO (read_mbytes)
 
 DEV_STAT_SCSI_TGT_PORT_ATTR_RO (hs_in_cmds)
 
 CONFIGFS_EATTR_OPS (target_stat_scsi_tgt_port, se_port_stat_grps, scsi_tgt_port_group)
 
 CONFIGFS_EATTR_STRUCT (target_stat_scsi_transport, se_port_stat_grps)
 
 DEV_STAT_SCSI_TRANSPORT_ATTR_RO (inst)
 
 DEV_STAT_SCSI_TRANSPORT_ATTR_RO (device)
 
 DEV_STAT_SCSI_TRANSPORT_ATTR_RO (indx)
 
 DEV_STAT_SCSI_TRANSPORT_ATTR_RO (dev_name)
 
 CONFIGFS_EATTR_OPS (target_stat_scsi_transport, se_port_stat_grps, scsi_transport_group)
 
void target_stat_setup_port_default_groups (struct se_lun *lun)
 
 CONFIGFS_EATTR_STRUCT (target_stat_scsi_auth_intr, se_ml_stat_grps)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (inst)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (dev)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (port)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (indx)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (dev_or_port)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (intr_name)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (map_indx)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (att_count)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (num_cmds)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (read_mbytes)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (write_mbytes)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (hs_num_cmds)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (creation_time)
 
 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (row_status)
 
 CONFIGFS_EATTR_OPS (target_stat_scsi_auth_intr, se_ml_stat_grps, scsi_auth_intr_group)
 
 CONFIGFS_EATTR_STRUCT (target_stat_scsi_att_intr_port, se_ml_stat_grps)
 
 DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO (inst)
 
 DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO (dev)
 
 DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO (port)
 
 DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO (indx)
 
 DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO (port_auth_indx)
 
 DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO (port_ident)
 
 CONFIGFS_EATTR_OPS (target_stat_scsi_att_intr_port, se_ml_stat_grps, scsi_att_intr_port_group)
 
void target_stat_setup_mappedlun_default_groups (struct se_lun_acl *lacl)
 

Macro Definition Documentation

#define DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR (   _name,
  _mode 
)
Value:
static struct target_stat_scsi_att_intr_port_attribute \
target_stat_scsi_att_intr_port_##_name = \
__CONFIGFS_EATTR(_name, _mode, \
target_stat_scsi_att_intr_port_show_attr_##_name, \
target_stat_scsi_att_intr_port_store_attr_##_name);

Definition at line 1589 of file target_core_stat.c.

#define DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO (   _name)
Value:
static struct target_stat_scsi_att_intr_port_attribute \
target_stat_scsi_att_intr_port_##_name = \
__CONFIGFS_EATTR_RO(_name, \
target_stat_scsi_att_intr_port_show_attr_##_name);

Definition at line 1596 of file target_core_stat.c.

#define DEV_STAT_SCSI_AUTH_INTR_ATTR (   _name,
  _mode 
)
Value:
static struct target_stat_scsi_auth_intr_attribute \
target_stat_scsi_auth_intr_##_name = \
__CONFIGFS_EATTR(_name, _mode, \
target_stat_scsi_auth_intr_show_attr_##_name, \
target_stat_scsi_auth_intr_store_attr_##_name);

Definition at line 1223 of file target_core_stat.c.

#define DEV_STAT_SCSI_AUTH_INTR_ATTR_RO (   _name)
Value:
static struct target_stat_scsi_auth_intr_attribute \
target_stat_scsi_auth_intr_##_name = \
__CONFIGFS_EATTR_RO(_name, \
target_stat_scsi_auth_intr_show_attr_##_name);

Definition at line 1230 of file target_core_stat.c.

#define DEV_STAT_SCSI_DEV_ATTR (   _name,
  _mode 
)
Value:
static struct target_stat_scsi_dev_attribute \
target_stat_scsi_dev_##_name = \
__CONFIGFS_EATTR(_name, _mode, \
target_stat_scsi_dev_show_attr_##_name, \
target_stat_scsi_dev_store_attr_##_name);

Definition at line 67 of file target_core_stat.c.

#define DEV_STAT_SCSI_DEV_ATTR_RO (   _name)
Value:
static struct target_stat_scsi_dev_attribute \
target_stat_scsi_dev_##_name = \
__CONFIGFS_EATTR_RO(_name, \
target_stat_scsi_dev_show_attr_##_name);

Definition at line 74 of file target_core_stat.c.

#define DEV_STAT_SCSI_LU_ATTR (   _name,
  _mode 
)
Value:
static struct target_stat_scsi_lu_attribute target_stat_scsi_lu_##_name = \
__CONFIGFS_EATTR(_name, _mode, \
target_stat_scsi_lu_show_attr_##_name, \
target_stat_scsi_lu_store_attr_##_name);

Definition at line 324 of file target_core_stat.c.

#define DEV_STAT_SCSI_LU_ATTR_RO (   _name)
Value:
static struct target_stat_scsi_lu_attribute target_stat_scsi_lu_##_name = \
__CONFIGFS_EATTR_RO(_name, \
target_stat_scsi_lu_show_attr_##_name);

Definition at line 330 of file target_core_stat.c.

#define DEV_STAT_SCSI_PORT_ATTR (   _name,
  _mode 
)
Value:
static struct target_stat_scsi_port_attribute \
target_stat_scsi_port_##_name = \
__CONFIGFS_EATTR(_name, _mode, \
target_stat_scsi_port_show_attr_##_name, \
target_stat_scsi_port_store_attr_##_name);

Definition at line 687 of file target_core_stat.c.

#define DEV_STAT_SCSI_PORT_ATTR_RO (   _name)
Value:
static struct target_stat_scsi_port_attribute \
target_stat_scsi_port_##_name = \
__CONFIGFS_EATTR_RO(_name, \
target_stat_scsi_port_show_attr_##_name);

Definition at line 694 of file target_core_stat.c.

#define DEV_STAT_SCSI_TGT_DEV_ATTR (   _name,
  _mode 
)
Value:
static struct target_stat_scsi_tgt_dev_attribute \
target_stat_scsi_tgt_dev_##_name = \
__CONFIGFS_EATTR(_name, _mode, \
target_stat_scsi_tgt_dev_show_attr_##_name, \
target_stat_scsi_tgt_dev_store_attr_##_name);

Definition at line 163 of file target_core_stat.c.

#define DEV_STAT_SCSI_TGT_DEV_ATTR_RO (   _name)
Value:
static struct target_stat_scsi_tgt_dev_attribute \
target_stat_scsi_tgt_dev_##_name = \
__CONFIGFS_EATTR_RO(_name, \
target_stat_scsi_tgt_dev_show_attr_##_name);

Definition at line 170 of file target_core_stat.c.

#define DEV_STAT_SCSI_TGT_PORT_ATTR (   _name,
  _mode 
)
Value:
static struct target_stat_scsi_tgt_port_attribute \
target_stat_scsi_tgt_port_##_name = \
__CONFIGFS_EATTR(_name, _mode, \
target_stat_scsi_tgt_port_show_attr_##_name, \
target_stat_scsi_tgt_port_store_attr_##_name);

Definition at line 830 of file target_core_stat.c.

#define DEV_STAT_SCSI_TGT_PORT_ATTR_RO (   _name)
Value:
static struct target_stat_scsi_tgt_port_attribute \
target_stat_scsi_tgt_port_##_name = \
__CONFIGFS_EATTR_RO(_name, \
target_stat_scsi_tgt_port_show_attr_##_name);

Definition at line 837 of file target_core_stat.c.

#define DEV_STAT_SCSI_TRANSPORT_ATTR (   _name,
  _mode 
)
Value:
static struct target_stat_scsi_transport_attribute \
target_stat_scsi_transport_##_name = \
__CONFIGFS_EATTR(_name, _mode, \
target_stat_scsi_transport_show_attr_##_name, \
target_stat_scsi_transport_store_attr_##_name);

Definition at line 1066 of file target_core_stat.c.

#define DEV_STAT_SCSI_TRANSPORT_ATTR_RO (   _name)
Value:
static struct target_stat_scsi_transport_attribute \
target_stat_scsi_transport_##_name = \
__CONFIGFS_EATTR_RO(_name, \
target_stat_scsi_transport_show_attr_##_name);

Definition at line 1073 of file target_core_stat.c.

#define INITIAL_JIFFIES   ((unsigned long)(unsigned int) (-300*HZ))

Definition at line 53 of file target_core_stat.c.

#define ISPRINT (   a)    ((a >= ' ') && (a <= '~'))

Definition at line 57 of file target_core_stat.c.

#define LU_COUNT   1

Definition at line 60 of file target_core_stat.c.

#define NONE   "None"

Definition at line 56 of file target_core_stat.c.

#define SCSI_LU_INDEX   1

Definition at line 59 of file target_core_stat.c.

Function Documentation

CONFIGFS_EATTR_OPS ( target_stat_scsi_dev  ,
se_dev_stat_grps  ,
scsi_dev_group   
)
CONFIGFS_EATTR_OPS ( target_stat_scsi_tgt_dev  ,
se_dev_stat_grps  ,
scsi_tgt_dev_group   
)
CONFIGFS_EATTR_OPS ( target_stat_scsi_lu  ,
se_dev_stat_grps  ,
scsi_lu_group   
)
CONFIGFS_EATTR_OPS ( target_stat_scsi_port  ,
se_port_stat_grps  ,
scsi_port_group   
)
CONFIGFS_EATTR_OPS ( target_stat_scsi_tgt_port  ,
se_port_stat_grps  ,
scsi_tgt_port_group   
)
CONFIGFS_EATTR_OPS ( target_stat_scsi_transport  ,
se_port_stat_grps  ,
scsi_transport_group   
)
CONFIGFS_EATTR_OPS ( target_stat_scsi_auth_intr  ,
se_ml_stat_grps  ,
scsi_auth_intr_group   
)
CONFIGFS_EATTR_OPS ( target_stat_scsi_att_intr_port  ,
se_ml_stat_grps  ,
scsi_att_intr_port_group   
)
CONFIGFS_EATTR_STRUCT ( target_stat_scsi_dev  ,
se_dev_stat_grps   
)
CONFIGFS_EATTR_STRUCT ( target_stat_scsi_tgt_dev  ,
se_dev_stat_grps   
)
CONFIGFS_EATTR_STRUCT ( target_stat_scsi_lu  ,
se_dev_stat_grps   
)
CONFIGFS_EATTR_STRUCT ( target_stat_scsi_port  ,
se_port_stat_grps   
)
CONFIGFS_EATTR_STRUCT ( target_stat_scsi_tgt_port  ,
se_port_stat_grps   
)
CONFIGFS_EATTR_STRUCT ( target_stat_scsi_transport  ,
se_port_stat_grps   
)
CONFIGFS_EATTR_STRUCT ( target_stat_scsi_auth_intr  ,
se_ml_stat_grps   
)
CONFIGFS_EATTR_STRUCT ( target_stat_scsi_att_intr_port  ,
se_ml_stat_grps   
)
DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO ( inst  )
DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO ( dev  )
DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO ( port  )
DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO ( indx  )
DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO ( port_auth_indx  )
DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO ( port_ident  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( inst  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( dev  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( port  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( indx  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( dev_or_port  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( intr_name  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( map_indx  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( att_count  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( num_cmds  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( read_mbytes  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( write_mbytes  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( hs_num_cmds  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( creation_time  )
DEV_STAT_SCSI_AUTH_INTR_ATTR_RO ( row_status  )
DEV_STAT_SCSI_DEV_ATTR_RO ( inst  )
DEV_STAT_SCSI_DEV_ATTR_RO ( indx  )
DEV_STAT_SCSI_DEV_ATTR_RO ( role  )
DEV_STAT_SCSI_DEV_ATTR_RO ( ports  )
DEV_STAT_SCSI_LU_ATTR_RO ( inst  )
DEV_STAT_SCSI_LU_ATTR_RO ( dev  )
DEV_STAT_SCSI_LU_ATTR_RO ( indx  )
DEV_STAT_SCSI_LU_ATTR_RO ( lun  )
DEV_STAT_SCSI_LU_ATTR_RO ( lu_name  )
DEV_STAT_SCSI_LU_ATTR_RO ( vend  )
DEV_STAT_SCSI_LU_ATTR_RO ( prod  )
DEV_STAT_SCSI_LU_ATTR_RO ( rev  )
DEV_STAT_SCSI_LU_ATTR_RO ( dev_type  )
DEV_STAT_SCSI_LU_ATTR_RO ( status  )
DEV_STAT_SCSI_LU_ATTR_RO ( state_bit  )
DEV_STAT_SCSI_LU_ATTR_RO ( num_cmds  )
DEV_STAT_SCSI_LU_ATTR_RO ( read_mbytes  )
DEV_STAT_SCSI_LU_ATTR_RO ( write_mbytes  )
DEV_STAT_SCSI_LU_ATTR_RO ( resets  )
DEV_STAT_SCSI_LU_ATTR_RO ( full_stat  )
DEV_STAT_SCSI_LU_ATTR_RO ( hs_num_cmds  )
DEV_STAT_SCSI_LU_ATTR_RO ( creation_time  )
DEV_STAT_SCSI_PORT_ATTR_RO ( inst  )
DEV_STAT_SCSI_PORT_ATTR_RO ( dev  )
DEV_STAT_SCSI_PORT_ATTR_RO ( indx  )
DEV_STAT_SCSI_PORT_ATTR_RO ( role  )
DEV_STAT_SCSI_PORT_ATTR_RO ( busy_count  )
DEV_STAT_SCSI_TGT_DEV_ATTR_RO ( inst  )
DEV_STAT_SCSI_TGT_DEV_ATTR_RO ( indx  )
DEV_STAT_SCSI_TGT_DEV_ATTR_RO ( num_lus  )
DEV_STAT_SCSI_TGT_DEV_ATTR_RO ( status  )
DEV_STAT_SCSI_TGT_DEV_ATTR_RO ( non_access_lus  )
DEV_STAT_SCSI_TGT_DEV_ATTR_RO ( resets  )
DEV_STAT_SCSI_TGT_PORT_ATTR_RO ( inst  )
DEV_STAT_SCSI_TGT_PORT_ATTR_RO ( dev  )
DEV_STAT_SCSI_TGT_PORT_ATTR_RO ( indx  )
DEV_STAT_SCSI_TGT_PORT_ATTR_RO ( name  )
DEV_STAT_SCSI_TGT_PORT_ATTR_RO ( port_index  )
DEV_STAT_SCSI_TGT_PORT_ATTR_RO ( in_cmds  )
DEV_STAT_SCSI_TGT_PORT_ATTR_RO ( write_mbytes  )
DEV_STAT_SCSI_TGT_PORT_ATTR_RO ( read_mbytes  )
DEV_STAT_SCSI_TGT_PORT_ATTR_RO ( hs_in_cmds  )
DEV_STAT_SCSI_TRANSPORT_ATTR_RO ( inst  )
DEV_STAT_SCSI_TRANSPORT_ATTR_RO ( device  )
DEV_STAT_SCSI_TRANSPORT_ATTR_RO ( indx  )
DEV_STAT_SCSI_TRANSPORT_ATTR_RO ( dev_name  )
void target_stat_setup_dev_default_groups ( struct se_subsystem_dev se_subdev)

Definition at line 665 of file target_core_stat.c.

void target_stat_setup_mappedlun_default_groups ( struct se_lun_acl lacl)

Definition at line 1781 of file target_core_stat.c.

void target_stat_setup_port_default_groups ( struct se_lun lun)

Definition at line 1201 of file target_core_stat.c.