Lines Matching refs:se_tpg

221 	struct se_portal_group *se_tpg;  in tcm_loop_issue_tmr()  local
251 se_tpg = &tl_tpg->tl_se_tpg; in tcm_loop_issue_tmr()
256 transport_init_se_cmd(se_cmd, se_tpg->se_tpg_tfo, se_sess, 0, in tcm_loop_issue_tmr()
519 static inline struct tcm_loop_tpg *tl_tpg(struct se_portal_group *se_tpg) in tl_tpg() argument
521 return container_of(se_tpg, struct tcm_loop_tpg, tl_se_tpg); in tl_tpg()
524 static char *tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg) in tcm_loop_get_endpoint_wwn() argument
529 return &tl_tpg(se_tpg)->tl_hba->tl_wwn_address[0]; in tcm_loop_get_endpoint_wwn()
532 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg) in tcm_loop_get_tag() argument
538 return tl_tpg(se_tpg)->tl_tpgt; in tcm_loop_get_tag()
545 static int tcm_loop_check_demo_mode(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode() argument
550 static int tcm_loop_check_demo_mode_cache(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_cache() argument
559 static int tcm_loop_check_demo_mode_write_protect(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_write_protect() argument
569 static int tcm_loop_check_prod_mode_write_protect(struct se_portal_group *se_tpg) in tcm_loop_check_prod_mode_write_protect() argument
574 static int tcm_loop_check_prot_fabric_only(struct se_portal_group *se_tpg) in tcm_loop_check_prot_fabric_only() argument
576 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, in tcm_loop_check_prot_fabric_only()
581 static u32 tcm_loop_get_inst_index(struct se_portal_group *se_tpg) in tcm_loop_get_inst_index() argument
716 struct se_portal_group *se_tpg, in tcm_loop_port_link() argument
719 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_port_link()
734 struct se_portal_group *se_tpg, in tcm_loop_port_unlink() argument
741 tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, tl_se_tpg); in tcm_loop_port_unlink()
767 struct se_portal_group *se_tpg = attrib_to_tpg(item); in tcm_loop_tpg_attrib_fabric_prot_type_show() local
768 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, in tcm_loop_tpg_attrib_fabric_prot_type_show()
777 struct se_portal_group *se_tpg = attrib_to_tpg(item); in tcm_loop_tpg_attrib_fabric_prot_type_store() local
778 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, in tcm_loop_tpg_attrib_fabric_prot_type_store()
809 struct se_portal_group *se_tpg; in tcm_loop_make_nexus() local
818 se_tpg = &tl_tpg->tl_se_tpg; in tcm_loop_make_nexus()
840 se_tpg, (unsigned char *)name); in tcm_loop_make_nexus()
846 transport_register_session(se_tpg, tl_nexus->se_sess->se_node_acl, in tcm_loop_make_nexus()
896 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_nexus_show() local
897 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_tpg_nexus_show()
915 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_nexus_store() local
916 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_tpg_nexus_store()
993 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_transport_status_show() local
994 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_tpg_transport_status_show()
1019 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_transport_status_store() local
1020 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_tpg_transport_status_store()
1092 struct se_portal_group *se_tpg) in tcm_loop_drop_naa_tpg() argument
1094 struct se_wwn *wwn = se_tpg->se_tpg_wwn; in tcm_loop_drop_naa_tpg()
1095 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_drop_naa_tpg()
1109 core_tpg_deregister(se_tpg); in tcm_loop_drop_naa_tpg()