Lines Matching refs:tpg_attrib
183 return tpg->tpg_attrib.generate_node_acls; in tcm_qla2xxx_check_demo_mode()
191 return tpg->tpg_attrib.cache_dynamic_acls; in tcm_qla2xxx_check_demo_mode_cache()
199 return tpg->tpg_attrib.demo_mode_write_protect; in tcm_qla2xxx_check_demo_write_protect()
207 return tpg->tpg_attrib.prod_mode_write_protect; in tcm_qla2xxx_check_prod_write_protect()
215 return tpg->tpg_attrib.demo_mode_login_only; in tcm_qla2xxx_check_demo_mode_login_only()
223 return tpg->tpg_attrib.fabric_prot_type; in tcm_qla2xxx_check_prot_fabric_only()
478 if (unlikely(tpg->tpg_attrib.jam_host)) { in tcm_qla2xxx_handle_cmd()
864 return sprintf(page, "%d\n", tpg->tpg_attrib.name); \
873 struct tcm_qla2xxx_tpg_attrib *a = &tpg->tpg_attrib; \
969 tpg->tpg_attrib.fabric_prot_type = val; in tcm_qla2xxx_tpg_fabric_prot_type_store()
981 return sprintf(page, "%d\n", tpg->tpg_attrib.fabric_prot_type); in tcm_qla2xxx_tpg_fabric_prot_type_show()
1023 tpg->tpg_attrib.generate_node_acls = 1; in tcm_qla2xxx_make_tpg()
1024 tpg->tpg_attrib.demo_mode_write_protect = 1; in tcm_qla2xxx_make_tpg()
1025 tpg->tpg_attrib.cache_dynamic_acls = 1; in tcm_qla2xxx_make_tpg()
1026 tpg->tpg_attrib.demo_mode_login_only = 1; in tcm_qla2xxx_make_tpg()
1027 tpg->tpg_attrib.jam_host = 0; in tcm_qla2xxx_make_tpg()
1115 tpg->tpg_attrib.generate_node_acls = 1; in tcm_qla2xxx_npiv_make_tpg()
1116 tpg->tpg_attrib.demo_mode_write_protect = 1; in tcm_qla2xxx_npiv_make_tpg()
1117 tpg->tpg_attrib.cache_dynamic_acls = 1; in tcm_qla2xxx_npiv_make_tpg()
1118 tpg->tpg_attrib.demo_mode_login_only = 1; in tcm_qla2xxx_npiv_make_tpg()