Lines Matching defs:se_tpg
449 static inline struct tcm_loop_tpg *tl_tpg(struct se_portal_group *se_tpg)
451 return container_of(se_tpg, struct tcm_loop_tpg, tl_se_tpg);
454 static char *tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg)
459 return &tl_tpg(se_tpg)->tl_hba->tl_wwn_address[0];
462 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg)
468 return tl_tpg(se_tpg)->tl_tpgt;
475 static int tcm_loop_check_demo_mode(struct se_portal_group *se_tpg)
480 static int tcm_loop_check_demo_mode_cache(struct se_portal_group *se_tpg)
489 static int tcm_loop_check_demo_mode_write_protect(struct se_portal_group *se_tpg)
499 static int tcm_loop_check_prod_mode_write_protect(struct se_portal_group *se_tpg)
504 static int tcm_loop_check_prot_fabric_only(struct se_portal_group *se_tpg)
506 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg,
511 static u32 tcm_loop_get_inst_index(struct se_portal_group *se_tpg)
622 struct se_portal_group *se_tpg,
625 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
640 struct se_portal_group *se_tpg,
647 tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, tl_se_tpg);
673 struct se_portal_group *se_tpg = attrib_to_tpg(item);
674 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg,
683 struct se_portal_group *se_tpg = attrib_to_tpg(item);
684 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg,
711 static int tcm_loop_alloc_sess_cb(struct se_portal_group *se_tpg,
714 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
788 struct se_portal_group *se_tpg = to_tpg(item);
789 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
807 struct se_portal_group *se_tpg = to_tpg(item);
808 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
882 struct se_portal_group *se_tpg = to_tpg(item);
883 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
908 struct se_portal_group *se_tpg = to_tpg(item);
909 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
931 struct se_portal_group *se_tpg = to_tpg(item);
932 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
991 struct se_portal_group *se_tpg)
993 struct se_wwn *wwn = se_tpg->se_tpg_wwn;
994 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg,
1008 core_tpg_deregister(se_tpg);