• Home
  • Raw
  • Download

Lines Matching refs:se_tpg

155 	struct se_portal_group *se_tpg,  in lio_target_call_addnptotpg()  argument
213 tpg = to_iscsi_tpg(se_tpg); in lio_target_call_addnptotpg()
220 config_item_name(&se_tpg->se_tpg_wwn->wwn_group.cg_item), in lio_target_call_addnptotpg()
252 struct se_portal_group *se_tpg; in lio_target_call_delnpfromtpg() local
261 se_tpg = &tpg->tpg_se_tpg; in lio_target_call_delnpfromtpg()
263 " PORTAL: %pISpc\n", config_item_name(&se_tpg->se_tpg_wwn->wwn_group.cg_item), in lio_target_call_delnpfromtpg()
651 struct se_portal_group *se_tpg = se_nacl->se_tpg; in lio_target_nacl_cmdsn_depth_store() local
652 struct iscsi_portal_group *tpg = to_iscsi_tpg(se_tpg); in lio_target_nacl_cmdsn_depth_store()
707 ret = core_tpg_set_initiator_node_tag(se_nacl->se_tpg, se_nacl, page); in lio_target_nacl_tag_store()
746 struct se_portal_group *se_tpg = attrib_to_tpg(item); \
747 struct iscsi_portal_group *tpg = to_iscsi_tpg(se_tpg); \
761 struct se_portal_group *se_tpg = attrib_to_tpg(item); \
762 struct iscsi_portal_group *tpg = to_iscsi_tpg(se_tpg); \
820 static ssize_t __iscsi_##prefix##_##name##_show(struct se_portal_group *se_tpg, \
823 struct iscsi_portal_group *tpg = to_iscsi_tpg(se_tpg); \
832 static ssize_t __iscsi_##prefix##_##name##_store(struct se_portal_group *se_tpg,\
835 struct iscsi_portal_group *tpg = to_iscsi_tpg(se_tpg); \
879 static ssize_t __iscsi_##prefix##_##name##_show(struct se_portal_group *se_tpg, \
882 struct iscsi_portal_group *tpg = to_iscsi_tpg(se_tpg); \
919 struct se_portal_group *se_tpg = param_to_tpg(item); \
920 struct iscsi_portal_group *tpg = to_iscsi_tpg(se_tpg); \
941 struct se_portal_group *se_tpg = param_to_tpg(item); \
942 struct iscsi_portal_group *tpg = to_iscsi_tpg(se_tpg); \
1088 static int lio_target_tiqn_enabletpg(struct se_portal_group *se_tpg, in lio_target_tiqn_enabletpg() argument
1091 struct iscsi_portal_group *tpg = to_iscsi_tpg(se_tpg); in lio_target_tiqn_enabletpg()
1118 static void lio_target_tiqn_deltpg(struct se_portal_group *se_tpg) in lio_target_tiqn_deltpg() argument
1123 tpg = to_iscsi_tpg(se_tpg); in lio_target_tiqn_deltpg()
1433 static char *lio_tpg_get_endpoint_wwn(struct se_portal_group *se_tpg) in lio_tpg_get_endpoint_wwn() argument
1435 return to_iscsi_tpg(se_tpg)->tpg_tiqn->tiqn; in lio_tpg_get_endpoint_wwn()
1438 static u16 lio_tpg_get_tag(struct se_portal_group *se_tpg) in lio_tpg_get_tag() argument
1440 return to_iscsi_tpg(se_tpg)->tpgt; in lio_tpg_get_tag()
1443 static u32 lio_tpg_get_default_depth(struct se_portal_group *se_tpg) in lio_tpg_get_default_depth() argument
1445 return to_iscsi_tpg(se_tpg)->tpg_attrib.default_cmdsn_depth; in lio_tpg_get_default_depth()
1448 static int lio_tpg_check_demo_mode(struct se_portal_group *se_tpg) in lio_tpg_check_demo_mode() argument
1450 return to_iscsi_tpg(se_tpg)->tpg_attrib.generate_node_acls; in lio_tpg_check_demo_mode()
1453 static int lio_tpg_check_demo_mode_cache(struct se_portal_group *se_tpg) in lio_tpg_check_demo_mode_cache() argument
1455 return to_iscsi_tpg(se_tpg)->tpg_attrib.cache_dynamic_acls; in lio_tpg_check_demo_mode_cache()
1459 struct se_portal_group *se_tpg) in lio_tpg_check_demo_mode_write_protect() argument
1461 return to_iscsi_tpg(se_tpg)->tpg_attrib.demo_mode_write_protect; in lio_tpg_check_demo_mode_write_protect()
1465 struct se_portal_group *se_tpg) in lio_tpg_check_prod_mode_write_protect() argument
1467 return to_iscsi_tpg(se_tpg)->tpg_attrib.prod_mode_write_protect; in lio_tpg_check_prod_mode_write_protect()
1471 struct se_portal_group *se_tpg) in lio_tpg_check_prot_fabric_only() argument
1477 if (!to_iscsi_tpg(se_tpg)->tpg_attrib.t10_pi) in lio_tpg_check_prot_fabric_only()
1479 return to_iscsi_tpg(se_tpg)->tpg_attrib.fabric_prot_type; in lio_tpg_check_prot_fabric_only()
1489 struct se_portal_group *se_tpg = &sess->tpg->tpg_se_tpg; in lio_tpg_close_session() local
1491 spin_lock_bh(&se_tpg->session_lock); in lio_tpg_close_session()
1498 spin_unlock_bh(&se_tpg->session_lock); in lio_tpg_close_session()
1508 spin_unlock_bh(&se_tpg->session_lock); in lio_tpg_close_session()
1514 static u32 lio_tpg_get_inst_index(struct se_portal_group *se_tpg) in lio_tpg_get_inst_index() argument
1516 return to_iscsi_tpg(se_tpg)->tpg_tiqn->tiqn_index; in lio_tpg_get_inst_index()
1522 struct se_portal_group *se_tpg = se_acl->se_tpg; in lio_set_default_node_attributes() local
1523 struct iscsi_portal_group *tpg = to_iscsi_tpg(se_tpg); in lio_set_default_node_attributes()