Lines Matching refs:se_tpg
224 struct se_portal_group *se_tpg; in tcm_loop_issue_tmr() local
254 se_tpg = &tl_tpg->tl_se_tpg; in tcm_loop_issue_tmr()
259 transport_init_se_cmd(se_cmd, se_tpg->se_tpg_tfo, se_sess, 0, in tcm_loop_issue_tmr()
523 static u8 tcm_loop_get_fabric_proto_ident(struct se_portal_group *se_tpg) in tcm_loop_get_fabric_proto_ident() argument
525 struct tcm_loop_tpg *tl_tpg = se_tpg->se_tpg_fabric_ptr; in tcm_loop_get_fabric_proto_ident()
536 return sas_get_fabric_proto_ident(se_tpg); in tcm_loop_get_fabric_proto_ident()
538 return fc_get_fabric_proto_ident(se_tpg); in tcm_loop_get_fabric_proto_ident()
540 return iscsi_get_fabric_proto_ident(se_tpg); in tcm_loop_get_fabric_proto_ident()
547 return sas_get_fabric_proto_ident(se_tpg); in tcm_loop_get_fabric_proto_ident()
550 static char *tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg) in tcm_loop_get_endpoint_wwn() argument
552 struct tcm_loop_tpg *tl_tpg = se_tpg->se_tpg_fabric_ptr; in tcm_loop_get_endpoint_wwn()
559 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg) in tcm_loop_get_tag() argument
561 struct tcm_loop_tpg *tl_tpg = se_tpg->se_tpg_fabric_ptr; in tcm_loop_get_tag()
569 static u32 tcm_loop_get_default_depth(struct se_portal_group *se_tpg) in tcm_loop_get_default_depth() argument
575 struct se_portal_group *se_tpg, in tcm_loop_get_pr_transport_id() argument
581 struct tcm_loop_tpg *tl_tpg = se_tpg->se_tpg_fabric_ptr; in tcm_loop_get_pr_transport_id()
586 return sas_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id()
589 return fc_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id()
592 return iscsi_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id()
600 return sas_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id()
605 struct se_portal_group *se_tpg, in tcm_loop_get_pr_transport_id_len() argument
610 struct tcm_loop_tpg *tl_tpg = se_tpg->se_tpg_fabric_ptr; in tcm_loop_get_pr_transport_id_len()
615 return sas_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id_len()
618 return fc_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id_len()
621 return iscsi_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id_len()
629 return sas_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id_len()
638 struct se_portal_group *se_tpg, in tcm_loop_parse_pr_out_transport_id() argument
643 struct tcm_loop_tpg *tl_tpg = se_tpg->se_tpg_fabric_ptr; in tcm_loop_parse_pr_out_transport_id()
648 return sas_parse_pr_out_transport_id(se_tpg, buf, out_tid_len, in tcm_loop_parse_pr_out_transport_id()
651 return fc_parse_pr_out_transport_id(se_tpg, buf, out_tid_len, in tcm_loop_parse_pr_out_transport_id()
654 return iscsi_parse_pr_out_transport_id(se_tpg, buf, out_tid_len, in tcm_loop_parse_pr_out_transport_id()
662 return sas_parse_pr_out_transport_id(se_tpg, buf, out_tid_len, in tcm_loop_parse_pr_out_transport_id()
670 static int tcm_loop_check_demo_mode(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode() argument
675 static int tcm_loop_check_demo_mode_cache(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_cache() argument
684 static int tcm_loop_check_demo_mode_write_protect(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_write_protect() argument
694 static int tcm_loop_check_prod_mode_write_protect(struct se_portal_group *se_tpg) in tcm_loop_check_prod_mode_write_protect() argument
699 static int tcm_loop_check_prot_fabric_only(struct se_portal_group *se_tpg) in tcm_loop_check_prot_fabric_only() argument
701 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, in tcm_loop_check_prot_fabric_only()
707 struct se_portal_group *se_tpg) in tcm_loop_tpg_alloc_fabric_acl() argument
721 struct se_portal_group *se_tpg, in tcm_loop_tpg_release_fabric_acl() argument
730 static u32 tcm_loop_get_inst_index(struct se_portal_group *se_tpg) in tcm_loop_get_inst_index() argument
873 struct se_portal_group *se_tpg, in tcm_loop_port_link() argument
876 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_port_link()
891 struct se_portal_group *se_tpg, in tcm_loop_port_unlink() argument
898 tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, tl_se_tpg); in tcm_loop_port_unlink()
922 struct se_portal_group *se_tpg, in tcm_loop_tpg_attrib_show_fabric_prot_type() argument
925 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, in tcm_loop_tpg_attrib_show_fabric_prot_type()
932 struct se_portal_group *se_tpg, in tcm_loop_tpg_attrib_store_fabric_prot_type() argument
936 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, in tcm_loop_tpg_attrib_store_fabric_prot_type()
967 struct se_portal_group *se_tpg; in tcm_loop_make_nexus() local
976 se_tpg = &tl_tpg->tl_se_tpg; in tcm_loop_make_nexus()
998 se_tpg, (unsigned char *)name); in tcm_loop_make_nexus()
1004 transport_register_session(se_tpg, tl_nexus->se_sess->se_node_acl, in tcm_loop_make_nexus()
1053 struct se_portal_group *se_tpg, in tcm_loop_tpg_show_nexus() argument
1056 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_tpg_show_nexus()
1072 struct se_portal_group *se_tpg, in tcm_loop_tpg_store_nexus() argument
1076 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_tpg_store_nexus()
1153 struct se_portal_group *se_tpg, in tcm_loop_tpg_show_transport_status() argument
1156 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_tpg_show_transport_status()
1179 struct se_portal_group *se_tpg, in tcm_loop_tpg_store_transport_status() argument
1183 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_tpg_store_transport_status()
1250 struct se_portal_group *se_tpg) in tcm_loop_drop_naa_tpg() argument
1252 struct se_wwn *wwn = se_tpg->se_tpg_wwn; in tcm_loop_drop_naa_tpg()
1253 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, in tcm_loop_drop_naa_tpg()
1267 core_tpg_deregister(se_tpg); in tcm_loop_drop_naa_tpg()