Lines Matching defs:se_tpg
445 static inline struct tcm_loop_tpg *tl_tpg(struct se_portal_group *se_tpg)
447 return container_of(se_tpg, struct tcm_loop_tpg, tl_se_tpg);
450 static char *tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg)
455 return &tl_tpg(se_tpg)->tl_hba->tl_wwn_address[0];
458 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg)
464 return tl_tpg(se_tpg)->tl_tpgt;
471 static int tcm_loop_check_demo_mode(struct se_portal_group *se_tpg)
476 static int tcm_loop_check_prot_fabric_only(struct se_portal_group *se_tpg)
478 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg,
582 struct se_portal_group *se_tpg,
585 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
600 struct se_portal_group *se_tpg,
607 tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, tl_se_tpg);
633 struct se_portal_group *se_tpg = attrib_to_tpg(item);
634 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg,
643 struct se_portal_group *se_tpg = attrib_to_tpg(item);
644 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg,
671 static int tcm_loop_alloc_sess_cb(struct se_portal_group *se_tpg,
674 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
748 struct se_portal_group *se_tpg = to_tpg(item);
749 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
767 struct se_portal_group *se_tpg = to_tpg(item);
768 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
842 struct se_portal_group *se_tpg = to_tpg(item);
843 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
868 struct se_portal_group *se_tpg = to_tpg(item);
869 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
891 struct se_portal_group *se_tpg = to_tpg(item);
892 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
951 struct se_portal_group *se_tpg)
953 struct se_wwn *wwn = se_tpg->se_tpg_wwn;
954 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
968 core_tpg_deregister(se_tpg);