Commit | Line | Data |
---|---|---|
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 | 8 | struct target_fabric_configfs { |
c66ac9db NB |
9 | atomic_t tf_access_cnt; |
10 | struct list_head tf_list; | |
11 | struct config_group tf_group; | |
12 | struct config_group tf_disc_group; | |
13 | struct config_group *tf_default_groups[2]; | |
ef0caf8d | 14 | const struct target_core_fabric_ops *tf_ops; |
c66ac9db | 15 | |
968ebe75 CH |
16 | struct config_item_type tf_discovery_cit; |
17 | struct config_item_type tf_wwn_cit; | |
18 | struct config_item_type tf_wwn_fabric_stats_cit; | |
19 | struct config_item_type tf_tpg_cit; | |
20 | struct config_item_type tf_tpg_base_cit; | |
21 | struct config_item_type tf_tpg_lun_cit; | |
22 | struct config_item_type tf_tpg_port_cit; | |
23 | struct config_item_type tf_tpg_port_stat_cit; | |
24 | struct config_item_type tf_tpg_np_cit; | |
25 | struct config_item_type tf_tpg_np_base_cit; | |
26 | struct config_item_type tf_tpg_attrib_cit; | |
27 | struct config_item_type tf_tpg_auth_cit; | |
28 | struct config_item_type tf_tpg_param_cit; | |
29 | struct config_item_type tf_tpg_nacl_cit; | |
30 | struct config_item_type tf_tpg_nacl_base_cit; | |
31 | struct config_item_type tf_tpg_nacl_attrib_cit; | |
32 | struct config_item_type tf_tpg_nacl_auth_cit; | |
33 | struct config_item_type tf_tpg_nacl_param_cit; | |
34 | struct config_item_type tf_tpg_nacl_stat_cit; | |
35 | struct config_item_type tf_tpg_mappedlun_cit; | |
36 | struct config_item_type tf_tpg_mappedlun_stat_cit; | |
37 | }; |