Lines Matching refs:se_tpg
178 ret = core_tpg_set_initiator_node_tag(se_nacl->se_tpg, se_nacl, page); in ft_nacl_tag_store()
259 ret = core_tpg_register(wwn, &tpg->se_tpg, SCSI_PROTOCOL_FCP); in ft_add_tpg()
271 return &tpg->se_tpg; in ft_add_tpg()
274 static void ft_del_tpg(struct se_portal_group *se_tpg) in ft_del_tpg() argument
276 struct ft_tpg *tpg = container_of(se_tpg, struct ft_tpg, se_tpg); in ft_del_tpg()
280 config_item_name(&tpg->se_tpg.tpg_group.cg_item)); in ft_del_tpg()
295 core_tpg_deregister(se_tpg); in ft_del_tpg()
382 static inline struct ft_tpg *ft_tpg(struct se_portal_group *se_tpg) in ft_tpg() argument
384 return container_of(se_tpg, struct ft_tpg, se_tpg); in ft_tpg()
387 static char *ft_get_fabric_wwn(struct se_portal_group *se_tpg) in ft_get_fabric_wwn() argument
389 return ft_tpg(se_tpg)->lport_wwn->name; in ft_get_fabric_wwn()
392 static u16 ft_get_tag(struct se_portal_group *se_tpg) in ft_get_tag() argument
398 return ft_tpg(se_tpg)->index; in ft_get_tag()
401 static u32 ft_tpg_get_inst_index(struct se_portal_group *se_tpg) in ft_tpg_get_inst_index() argument
403 return ft_tpg(se_tpg)->index; in ft_tpg_get_inst_index()