Lines Matching refs:se_tpg

1062 				tv_nexus->tvn_se_sess->se_tpg->se_tpg_tfo,  in usbg_cmd_work()
1178 tv_nexus->tvn_se_sess->se_tpg->se_tpg_tfo, in bot_cmd_work()
1262 static int usbg_check_true(struct se_portal_group *se_tpg) in usbg_check_true() argument
1267 static int usbg_check_false(struct se_portal_group *se_tpg) in usbg_check_false() argument
1277 static u8 usbg_get_fabric_proto_ident(struct se_portal_group *se_tpg) in usbg_get_fabric_proto_ident() argument
1279 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_fabric_proto_ident()
1280 struct usbg_tpg, se_tpg); in usbg_get_fabric_proto_ident()
1287 proto_id = sas_get_fabric_proto_ident(se_tpg); in usbg_get_fabric_proto_ident()
1294 static char *usbg_get_fabric_wwn(struct se_portal_group *se_tpg) in usbg_get_fabric_wwn() argument
1296 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_fabric_wwn()
1297 struct usbg_tpg, se_tpg); in usbg_get_fabric_wwn()
1303 static u16 usbg_get_tag(struct se_portal_group *se_tpg) in usbg_get_tag() argument
1305 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_tag()
1306 struct usbg_tpg, se_tpg); in usbg_get_tag()
1310 static u32 usbg_get_default_depth(struct se_portal_group *se_tpg) in usbg_get_default_depth() argument
1316 struct se_portal_group *se_tpg, in usbg_get_pr_transport_id() argument
1322 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_pr_transport_id()
1323 struct usbg_tpg, se_tpg); in usbg_get_pr_transport_id()
1330 ret = sas_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in usbg_get_pr_transport_id()
1339 struct se_portal_group *se_tpg, in usbg_get_pr_transport_id_len() argument
1344 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_pr_transport_id_len()
1345 struct usbg_tpg, se_tpg); in usbg_get_pr_transport_id_len()
1352 ret = sas_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in usbg_get_pr_transport_id_len()
1361 struct se_portal_group *se_tpg, in usbg_parse_pr_out_transport_id() argument
1366 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_parse_pr_out_transport_id()
1367 struct usbg_tpg, se_tpg); in usbg_parse_pr_out_transport_id()
1374 tid = sas_parse_pr_out_transport_id(se_tpg, buf, out_tid_len, in usbg_parse_pr_out_transport_id()
1381 static struct se_node_acl *usbg_alloc_fabric_acl(struct se_portal_group *se_tpg) in usbg_alloc_fabric_acl() argument
1393 struct se_portal_group *se_tpg, in usbg_release_fabric_acl() argument
1401 static u32 usbg_tpg_get_inst_index(struct se_portal_group *se_tpg) in usbg_tpg_get_inst_index() argument
1493 struct se_portal_group *se_tpg, in usbg_make_nodeacl() argument
1506 se_nacl_new = usbg_alloc_fabric_acl(se_tpg); in usbg_make_nodeacl()
1515 se_nacl = core_tpg_add_initiator_node_acl(se_tpg, se_nacl_new, in usbg_make_nodeacl()
1518 usbg_release_fabric_acl(se_tpg, se_nacl_new); in usbg_make_nodeacl()
1534 core_tpg_del_initiator_node_acl(se_acl->se_tpg, se_acl, 1); in usbg_drop_nodeacl()
1575 ret = core_tpg_register(&usbg_ops, wwn, &tpg->se_tpg, tpg, in usbg_make_tpg()
1583 return &tpg->se_tpg; in usbg_make_tpg()
1586 static void usbg_drop_tpg(struct se_portal_group *se_tpg) in usbg_drop_tpg() argument
1588 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_drop_tpg()
1589 struct usbg_tpg, se_tpg); in usbg_drop_tpg()
1591 core_tpg_deregister(se_tpg); in usbg_drop_tpg()
1642 struct se_portal_group *se_tpg, in tcm_usbg_tpg_show_enable() argument
1645 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); in tcm_usbg_tpg_show_enable()
1654 struct se_portal_group *se_tpg, in tcm_usbg_tpg_store_enable() argument
1658 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); in tcm_usbg_tpg_store_enable()
1687 struct se_portal_group *se_tpg, in tcm_usbg_tpg_show_nexus() argument
1690 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); in tcm_usbg_tpg_show_nexus()
1709 struct se_portal_group *se_tpg; in tcm_usbg_make_nexus() local
1719 se_tpg = &tpg->se_tpg; in tcm_usbg_make_nexus()
1735 se_tpg, name); in tcm_usbg_make_nexus()
1744 transport_register_session(se_tpg, tv_nexus->tvn_se_sess->se_node_acl, in tcm_usbg_make_nexus()
1798 struct se_portal_group *se_tpg, in tcm_usbg_tpg_store_nexus() argument
1802 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); in tcm_usbg_tpg_store_nexus()
1839 static int usbg_port_link(struct se_portal_group *se_tpg, struct se_lun *lun) in usbg_port_link() argument
1841 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); in usbg_port_link()
1848 static void usbg_port_unlink(struct se_portal_group *se_tpg, in usbg_port_unlink() argument
1851 struct usbg_tpg *tpg = container_of(se_tpg, struct usbg_tpg, se_tpg); in usbg_port_unlink()