| /linux/drivers/target/ |
| H A D | target_core_tpg.c | 197 acl->se_tpg = tpg; in target_alloc_node_acl() 207 struct se_portal_group *tpg = acl->se_tpg; in target_add_node_acl() 338 if (acl->se_tpg->se_tpg_tfo->close_session) in target_shutdown_sessions() 339 acl->se_tpg->se_tpg_tfo->close_session(sess); in target_shutdown_sessions() 347 struct se_portal_group *tpg = acl->se_tpg; in core_tpg_del_initiator_node_acl() 383 struct se_portal_group *tpg = acl->se_tpg; in core_tpg_set_initiator_node_queue_depth() 443 static int target_tpg_register_rtpi(struct se_portal_group *se_tpg) in target_tpg_register_rtpi() argument 448 if (se_tpg->rtpi_manual) { in target_tpg_register_rtpi() 449 ret = xa_insert(&tpg_xa, se_tpg->tpg_rtpi, se_tpg, GFP_KERNEL); in target_tpg_register_rtpi() 452 se_tpg->se_tpg_tfo->fabric_name, in target_tpg_register_rtpi() [all …]
|
| H A D | target_core_internal.h | 135 int target_tpg_enable(struct se_portal_group *se_tpg); 136 int target_tpg_disable(struct se_portal_group *se_tpg);
|
| H A D | target_core_alua.c | 1170 struct se_portal_group *se_tpg = lun->lun_tpg; in core_alua_update_tpg_secondary_metadata() local 1189 if (se_tpg->se_tpg_tfo->tpg_get_tag != NULL) { in core_alua_update_tpg_secondary_metadata() 1191 db_root, se_tpg->se_tpg_tfo->fabric_name, in core_alua_update_tpg_secondary_metadata() 1192 se_tpg->se_tpg_tfo->tpg_get_wwn(se_tpg), in core_alua_update_tpg_secondary_metadata() 1193 se_tpg->se_tpg_tfo->tpg_get_tag(se_tpg), in core_alua_update_tpg_secondary_metadata() 1197 db_root, se_tpg->se_tpg_tfo->fabric_name, in core_alua_update_tpg_secondary_metadata() 1198 se_tpg->se_tpg_tfo->tpg_get_wwn(se_tpg), in core_alua_update_tpg_secondary_metadata()
|
| H A D | target_core_ua.c | 258 nacl->se_tpg->se_tpg_tfo->fabric_name, in core_scsi3_ua_for_check_condition() 319 " ASCQ: 0x%02x\n", nacl->se_tpg->se_tpg_tfo->fabric_name, in core_scsi3_ua_clear_for_request_sense()
|
| H A D | target_core_stat.c | 847 tpg = nacl->se_tpg; in target_stat_auth_inst_show() 891 tpg = nacl->se_tpg; in target_stat_auth_port_show() 1152 tpg = nacl->se_tpg; in target_stat_iport_inst_show() 1196 tpg = nacl->se_tpg; in target_stat_iport_port_show() 1219 tpg = nacl->se_tpg; in target_stat_iport_indx_show() 1264 tpg = nacl->se_tpg; in target_stat_iport_port_ident_show()
|
| H A D | target_core_tmr.c | 383 tmr_tpg = tmr_sess->se_tpg; in core_tmr_lun_reset()
|
| H A D | target_core_xcopy.c | 483 xcopy_pt_nacl.se_tpg = &xcopy_pt_tpg; in target_xcopy_setup_pt() 486 xcopy_pt_sess.se_tpg = &xcopy_pt_tpg; in target_xcopy_setup_pt()
|
| /linux/drivers/target/tcm_remote/ |
| H A D | tcm_remote.c | 20 static inline struct tcm_remote_tpg *remote_tpg(struct se_portal_group *se_tpg) in remote_tpg() argument 22 return container_of(se_tpg, struct tcm_remote_tpg, remote_se_tpg); in remote_tpg() 25 static char *tcm_remote_get_endpoint_wwn(struct se_portal_group *se_tpg) in tcm_remote_get_endpoint_wwn() argument 30 return &remote_tpg(se_tpg)->remote_hba->remote_wwn_address[0]; in tcm_remote_get_endpoint_wwn() 33 static u16 tcm_remote_get_tag(struct se_portal_group *se_tpg) in tcm_remote_get_tag() argument 39 return remote_tpg(se_tpg)->remote_tpgt; in tcm_remote_get_tag() 71 struct se_portal_group *se_tpg, in tcm_remote_port_link() argument 80 struct se_portal_group *se_tpg, in tcm_remote_port_unlink() argument 126 static void tcm_remote_drop_tpg(struct se_portal_group *se_tpg) in tcm_remote_drop_tpg() argument 128 struct se_wwn *wwn = se_tpg->se_tpg_wwn; in tcm_remote_drop_tpg() [all …]
|
| /linux/drivers/target/loopback/ |
| H A D | tcm_loop.c | 487 static inline struct tcm_loop_tpg *tl_tpg(struct se_portal_group *se_tpg) in tl_tpg() argument 489 return container_of(se_tpg, struct tcm_loop_tpg, tl_se_tpg); in tl_tpg() 492 static char *tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg) in tcm_loop_get_endpoint_wwn() argument 497 return &tl_tpg(se_tpg)->tl_hba->tl_wwn_address[0]; in tcm_loop_get_endpoint_wwn() 500 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg) in tcm_loop_get_tag() argument 506 return tl_tpg(se_tpg)->tl_tpgt; in tcm_loop_get_tag() 513 static int tcm_loop_check_demo_mode(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode() argument 518 static int tcm_loop_check_prot_fabric_only(struct se_portal_group *se_tpg) in tcm_loop_check_prot_fabric_only() argument 520 struct tcm_loop_tpg *tl_tpg = container_of(se_tpg, struct tcm_loop_tpg, in tcm_loop_check_prot_fabric_only() 624 struct se_portal_group *se_tpg, in tcm_loop_port_link() argument [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_tcm.c | 1244 tv_nexus->tvn_se_sess->se_tpg->se_tpg_tfo, in usbg_submit_cmd() 1511 tv_nexus->tvn_se_sess->se_tpg->se_tpg_tfo, in bot_cmd_work() 1570 static int usbg_check_true(struct se_portal_group *se_tpg) in usbg_check_true() argument 1575 static char *usbg_get_fabric_wwn(struct se_portal_group *se_tpg) in usbg_get_fabric_wwn() argument 1577 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_fabric_wwn() 1578 struct usbg_tpg, se_tpg); in usbg_get_fabric_wwn() 1584 static u16 usbg_get_tag(struct se_portal_group *se_tpg) in usbg_get_tag() argument 1586 struct usbg_tpg *tpg = container_of(se_tpg, in usbg_get_tag() 1587 struct usbg_tpg, se_tpg); in usbg_get_tag() 1711 ret = core_tpg_register(wwn, &tpg->se_tpg, SCSI_PROTOCOL_SAS); in usbg_make_tpg() [all …]
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_login.c | 96 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_check_for_session_reinstatement() local 111 spin_lock_bh(&se_tpg->session_lock); in iscsi_check_for_session_reinstatement() 112 list_for_each_entry_safe(se_sess, se_sess_tmp, &se_tpg->tpg_sess_list, in iscsi_check_for_session_reinstatement() 139 spin_unlock_bh(&se_tpg->session_lock); in iscsi_check_for_session_reinstatement() 450 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_login_non_zero_tsih_s2() local 455 spin_lock_bh(&se_tpg->session_lock); in iscsi_login_non_zero_tsih_s2() 456 list_for_each_entry_safe(se_sess, se_sess_tmp, &se_tpg->tpg_sess_list, in iscsi_login_non_zero_tsih_s2() 473 spin_unlock_bh(&se_tpg->session_lock); in iscsi_login_non_zero_tsih_s2() 655 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_post_login_handler() local 711 spin_lock_bh(&se_tpg->session_lock); in iscsi_post_login_handler() [all …]
|
| H A D | iscsi_target_erl0.c | 749 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_handle_time2retain_timeout() local 751 spin_lock_bh(&se_tpg->session_lock); in iscsit_handle_time2retain_timeout() 753 spin_unlock_bh(&se_tpg->session_lock); in iscsit_handle_time2retain_timeout() 759 spin_unlock_bh(&se_tpg->session_lock); in iscsit_handle_time2retain_timeout() 768 spin_unlock_bh(&se_tpg->session_lock); in iscsit_handle_time2retain_timeout() 801 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_stop_time2retain_timer() local 803 lockdep_assert_held(&se_tpg->session_lock); in iscsit_stop_time2retain_timer() 812 spin_unlock(&se_tpg->session_lock); in iscsit_stop_time2retain_timer() 816 spin_lock(&se_tpg->session_lock); in iscsit_stop_time2retain_timer()
|
| H A D | iscsi_target_stat.c | 591 struct se_wwn *wwn = acl->se_node_acl.se_tpg->se_tpg_wwn; in iscsi_stat_sess_inst_show()
|
| H A D | iscsi_target_nego.c | 117 tpg = to_iscsi_tpg(se_nacl->se_tpg); in iscsi_get_node_auth()
|
| /linux/drivers/target/tcm_fc/ |
| H A D | tfc_sess.c | 189 static int ft_sess_alloc_cb(struct se_portal_group *se_tpg, in ft_sess_alloc_cb() argument 210 struct se_portal_group *se_tpg = &tport->tpg->se_tpg; in ft_sess_create() local 230 sess->se_sess = target_setup_session(se_tpg, TCM_FC_DEFAULT_TAGS, in ft_sess_create()
|
| H A D | tcm_fc.h | 91 struct se_portal_group se_tpg; member
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | tcm_qla2xxx.h | 50 struct se_portal_group se_tpg; member
|
| /linux/drivers/target/sbp/ |
| H A D | sbp_target.h | 161 struct se_portal_group se_tpg; member
|
| /linux/drivers/scsi/ibmvscsi_tgt/ |
| H A D | ibmvscsi_tgt.h | 184 struct se_portal_group se_tpg; member
|
| /linux/include/target/iscsi/ |
| H A D | iscsi_target_core.h | 846 to_iscsi_tpg(struct se_portal_group *se_tpg) in to_iscsi_tpg() argument 848 return container_of(se_tpg, struct iscsi_portal_group, tpg_se_tpg); in to_iscsi_tpg()
|