target: put struct target_fabric_configfs on a diet
[deliverable/linux.git] / include / target / target_core_configfs.h
CommitLineData
c66ac9db
NB
1#define TARGET_CORE_CONFIGFS_VERSION TARGET_CORE_MOD_VERSION
2
3#define TARGET_CORE_CONFIG_ROOT "/sys/kernel/config"
4
5#define TARGET_CORE_NAME_MAX_LEN 64
6#define TARGET_FABRIC_NAME_SIZE 32
7
c66ac9db
NB
8struct target_fabric_configfs_template {
9 struct config_item_type tfc_discovery_cit;
10 struct config_item_type tfc_wwn_cit;
12d23384 11 struct config_item_type tfc_wwn_fabric_stats_cit;
c66ac9db
NB
12 struct config_item_type tfc_tpg_cit;
13 struct config_item_type tfc_tpg_base_cit;
14 struct config_item_type tfc_tpg_lun_cit;
15 struct config_item_type tfc_tpg_port_cit;
12d23384 16 struct config_item_type tfc_tpg_port_stat_cit;
c66ac9db
NB
17 struct config_item_type tfc_tpg_np_cit;
18 struct config_item_type tfc_tpg_np_base_cit;
19 struct config_item_type tfc_tpg_attrib_cit;
e4b512e7 20 struct config_item_type tfc_tpg_auth_cit;
c66ac9db
NB
21 struct config_item_type tfc_tpg_param_cit;
22 struct config_item_type tfc_tpg_nacl_cit;
23 struct config_item_type tfc_tpg_nacl_base_cit;
24 struct config_item_type tfc_tpg_nacl_attrib_cit;
25 struct config_item_type tfc_tpg_nacl_auth_cit;
26 struct config_item_type tfc_tpg_nacl_param_cit;
12d23384 27 struct config_item_type tfc_tpg_nacl_stat_cit;
c66ac9db 28 struct config_item_type tfc_tpg_mappedlun_cit;
12d23384 29 struct config_item_type tfc_tpg_mappedlun_stat_cit;
c66ac9db
NB
30};
31
32struct target_fabric_configfs {
c66ac9db
NB
33 atomic_t tf_access_cnt;
34 struct list_head tf_list;
35 struct config_group tf_group;
36 struct config_group tf_disc_group;
37 struct config_group *tf_default_groups[2];
ef0caf8d 38 const struct target_core_fabric_ops *tf_ops;
c66ac9db
NB
39 struct target_fabric_configfs_template tf_cit_tmpl;
40};
41
This page took 0.224621 seconds and 5 git commands to generate.