Lines Matching refs:se_tpg
20 static inline struct tcm_remote_tpg *remote_tpg(struct se_portal_group *se_tpg) in remote_tpg() argument
22 return container_of(se_tpg, struct tcm_remote_tpg, remote_se_tpg); in remote_tpg()
25 static char *tcm_remote_get_endpoint_wwn(struct se_portal_group *se_tpg) in tcm_remote_get_endpoint_wwn() argument
30 return &remote_tpg(se_tpg)->remote_hba->remote_wwn_address[0]; in tcm_remote_get_endpoint_wwn()
33 static u16 tcm_remote_get_tag(struct se_portal_group *se_tpg) in tcm_remote_get_tag() argument
39 return remote_tpg(se_tpg)->remote_tpgt; in tcm_remote_get_tag()
71 struct se_portal_group *se_tpg, in tcm_remote_port_link() argument
80 struct se_portal_group *se_tpg, in tcm_remote_port_unlink() argument
126 static void tcm_remote_drop_tpg(struct se_portal_group *se_tpg) in tcm_remote_drop_tpg() argument
128 struct se_wwn *wwn = se_tpg->se_tpg_wwn; in tcm_remote_drop_tpg()
129 struct tcm_remote_tpg *remote_tpg = container_of(se_tpg, in tcm_remote_drop_tpg()
140 core_tpg_deregister(se_tpg); in tcm_remote_drop_tpg()