Lines Matching refs:se_tpg

1054 				  tv_nexus->tvn_se_sess->se_tpg->se_tpg_tfo,  in usbg_cmd_work()
1183 tv_nexus->tvn_se_sess->se_tpg->se_tpg_tfo, in bot_cmd_work()
1251 static int usbg_check_true(struct se_portal_group *se_tpg) in usbg_check_true() argument
1256 static int usbg_check_false(struct se_portal_group *se_tpg) in usbg_check_false() argument
1261 static char *usbg_get_fabric_wwn(struct se_portal_group *se_tpg) in usbg_get_fabric_wwn() argument
1263 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_fabric_wwn()
1264 struct usbg_tpg, se_tpg); in usbg_get_fabric_wwn()
1270 static u16 usbg_get_tag(struct se_portal_group *se_tpg) in usbg_get_tag() argument
1272 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_tag()
1273 struct usbg_tpg, se_tpg); in usbg_get_tag()
1277 static u32 usbg_tpg_get_inst_index(struct se_portal_group *se_tpg) in usbg_tpg_get_inst_index() argument
1393 ret = core_tpg_register(wwn, &tpg->se_tpg, SCSI_PROTOCOL_SAS); in usbg_make_tpg()
1401 return &tpg->se_tpg; in usbg_make_tpg()
1422 static void usbg_drop_tpg(struct se_portal_group *se_tpg) in usbg_drop_tpg() argument
1424 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_drop_tpg()
1425 struct usbg_tpg, se_tpg); in usbg_drop_tpg()
1430 core_tpg_deregister(se_tpg); in usbg_drop_tpg()
1501 static int usbg_enable_tpg(struct se_portal_group *se_tpg, bool enable) in usbg_enable_tpg() argument
1503 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); in usbg_enable_tpg()
1520 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_nexus_show() local
1521 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); in tcm_usbg_tpg_nexus_show()
1538 static int usbg_alloc_sess_cb(struct se_portal_group *se_tpg, in usbg_alloc_sess_cb() argument
1541 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_alloc_sess_cb()
1542 struct usbg_tpg, se_tpg); in usbg_alloc_sess_cb()
1566 tv_nexus->tvn_se_sess = target_setup_session(&tpg->se_tpg, in tcm_usbg_make_nexus()
1625 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_nexus_store() local
1626 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); in tcm_usbg_tpg_nexus_store()
1665 static int usbg_port_link(struct se_portal_group *se_tpg, struct se_lun *lun) in usbg_port_link() argument
1667 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); in usbg_port_link()
1674 static void usbg_port_unlink(struct se_portal_group *se_tpg, in usbg_port_unlink() argument
1677 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); in usbg_port_unlink()