Lines Matching full:conn

38 static struct iscsi_login *iscsi_login_init_conn(struct iscsit_conn *conn)  in iscsi_login_init_conn()  argument
47 conn->login = login; in iscsi_login_init_conn()
48 login->conn = conn; in iscsi_login_init_conn()
63 conn->conn_login = login; in iscsi_login_init_conn()
78 int iscsi_login_setup_crypto(struct iscsit_conn *conn) in iscsi_login_setup_crypto() argument
93 conn->conn_rx_hash = ahash_request_alloc(tfm, GFP_KERNEL); in iscsi_login_setup_crypto()
94 if (!conn->conn_rx_hash) { in iscsi_login_setup_crypto()
99 ahash_request_set_callback(conn->conn_rx_hash, 0, NULL, NULL); in iscsi_login_setup_crypto()
101 conn->conn_tx_hash = ahash_request_alloc(tfm, GFP_KERNEL); in iscsi_login_setup_crypto()
102 if (!conn->conn_tx_hash) { in iscsi_login_setup_crypto()
104 ahash_request_free(conn->conn_rx_hash); in iscsi_login_setup_crypto()
105 conn->conn_rx_hash = NULL; in iscsi_login_setup_crypto()
109 ahash_request_set_callback(conn->conn_tx_hash, 0, NULL, NULL); in iscsi_login_setup_crypto()
115 struct iscsit_conn *conn, in iscsi_login_check_initiator_version() argument
123 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_INITIATOR_ERR, in iscsi_login_check_initiator_version()
131 int iscsi_check_for_session_reinstatement(struct iscsit_conn *conn) in iscsi_check_for_session_reinstatement() argument
135 struct iscsi_portal_group *tpg = conn->tpg; in iscsi_check_for_session_reinstatement()
141 INITIATORNAME, conn->param_list); in iscsi_check_for_session_reinstatement()
143 SESSIONTYPE, conn->param_list); in iscsi_check_for_session_reinstatement()
145 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_INITIATOR_ERR, in iscsi_check_for_session_reinstatement()
165 if (!memcmp(sess_p->isid, conn->sess->isid, 6) && in iscsi_check_for_session_reinstatement()
208 struct iscsit_conn *conn, in iscsi_login_set_conn_values() argument
212 conn->sess = sess; in iscsi_login_set_conn_values()
213 conn->cid = be16_to_cpu(cid); in iscsi_login_set_conn_values()
218 ret = get_random_bytes_wait(&conn->stat_sn, sizeof(u32)); in iscsi_login_set_conn_values()
223 conn->auth_id = iscsit_global->auth_id++; in iscsi_login_set_conn_values()
229 struct iscsit_conn *conn, in iscsi_change_param_sprintf() argument
241 if (iscsi_change_param_value(buf, conn->param_list, 0) < 0) { in iscsi_change_param_sprintf()
242 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_TARGET_ERR, in iscsi_change_param_sprintf()
256 struct iscsit_conn *conn, in iscsi_login_zero_tsih_s1() argument
265 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_TARGET_ERR, in iscsi_login_zero_tsih_s1()
271 if (iscsi_login_set_conn_values(sess, conn, pdu->cid)) in iscsi_login_zero_tsih_s1()
298 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_TARGET_ERR, in iscsi_login_zero_tsih_s1()
313 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_TARGET_ERR, in iscsi_login_zero_tsih_s1()
322 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_TARGET_ERR, in iscsi_login_zero_tsih_s1()
335 conn->sess = NULL; in iscsi_login_zero_tsih_s1()
340 struct iscsit_conn *conn) in iscsi_login_zero_tsih_s2() argument
343 struct iscsit_session *sess = conn->sess; in iscsi_login_zero_tsih_s2()
347 sess->tpg = conn->tpg; in iscsi_login_zero_tsih_s2()
360 if (iscsi_copy_param_list(&conn->param_list, in iscsi_login_zero_tsih_s2()
361 conn->tpg->param_list, 1) < 0) { in iscsi_login_zero_tsih_s2()
362 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_TARGET_ERR, in iscsi_login_zero_tsih_s2()
367 if (conn->conn_transport->transport_type == ISCSI_INFINIBAND) in iscsi_login_zero_tsih_s2()
370 iscsi_set_keys_to_negotiate(conn->param_list, iser); in iscsi_login_zero_tsih_s2()
374 conn->param_list); in iscsi_login_zero_tsih_s2()
382 param = iscsi_find_param_from_key(AUTHMETHOD, conn->param_list); in iscsi_login_zero_tsih_s2()
384 if (!iscsi_conn_auth_required(conn)) in iscsi_login_zero_tsih_s2()
385 if (iscsi_change_param_sprintf(conn, "AuthMethod=%s", in iscsi_login_zero_tsih_s2()
397 if (iscsi_change_param_sprintf(conn, "TargetPortalGroupTag=%hu", sess->tpg->tpgt)) in iscsi_login_zero_tsih_s2()
405 if (iscsi_change_param_sprintf(conn, "ErrorRecoveryLevel=%d", na->default_erl)) in iscsi_login_zero_tsih_s2()
416 if (iscsi_change_param_sprintf(conn, "RDMAExtensions=Yes")) in iscsi_login_zero_tsih_s2()
424 conn->param_list); in iscsi_login_zero_tsih_s2()
426 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_TARGET_ERR, in iscsi_login_zero_tsih_s2()
432 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_TARGET_ERR, in iscsi_login_zero_tsih_s2()
448 if (iscsi_change_param_sprintf(conn, "MaxRecvDataSegmentLength=%lu\n", mrdsl)) in iscsi_login_zero_tsih_s2()
459 if (iscsi_change_param_sprintf(conn, "ImmediateData=No")) in iscsi_login_zero_tsih_s2()
462 if (iscsi_change_param_sprintf(conn, "InitialR2T=Yes")) in iscsi_login_zero_tsih_s2()
474 struct iscsit_conn *conn, in iscsi_login_non_zero_tsih_s1() argument
479 return iscsi_login_set_conn_values(NULL, conn, pdu->cid); in iscsi_login_non_zero_tsih_s1()
486 struct iscsit_conn *conn, in iscsi_login_non_zero_tsih_s2() argument
489 struct iscsi_portal_group *tpg = conn->tpg; in iscsi_login_non_zero_tsih_s2()
522 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_INITIATOR_ERR, in iscsi_login_non_zero_tsih_s2()
536 if (iscsi_login_set_conn_values(sess, conn, pdu->cid) < 0 || in iscsi_login_non_zero_tsih_s2()
537 iscsi_copy_param_list(&conn->param_list, in iscsi_login_non_zero_tsih_s2()
538 conn->tpg->param_list, 0) < 0) { in iscsi_login_non_zero_tsih_s2()
539 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_TARGET_ERR, in iscsi_login_non_zero_tsih_s2()
544 if (conn->conn_transport->transport_type == ISCSI_INFINIBAND) in iscsi_login_non_zero_tsih_s2()
547 iscsi_set_keys_to_negotiate(conn->param_list, iser); in iscsi_login_non_zero_tsih_s2()
555 if (iscsi_change_param_sprintf(conn, "TargetPortalGroupTag=%hu", sess->tpg->tpgt)) in iscsi_login_non_zero_tsih_s2()
562 struct iscsit_conn *conn, in iscsi_login_post_auth_non_zero_tsih() argument
568 struct iscsit_session *sess = conn->sess; in iscsi_login_post_auth_non_zero_tsih()
602 conn->cid); in iscsi_login_post_auth_non_zero_tsih()
620 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_INITIATOR_ERR, in iscsi_login_post_auth_non_zero_tsih()
628 static void iscsi_post_login_start_timers(struct iscsit_conn *conn) in iscsi_post_login_start_timers() argument
630 struct iscsit_session *sess = conn->sess; in iscsi_post_login_start_timers()
634 if (conn->conn_transport->transport_type == ISCSI_INFINIBAND) in iscsi_post_login_start_timers()
638 iscsit_start_nopin_timer(conn); in iscsi_post_login_start_timers()
641 int iscsit_start_kthreads(struct iscsit_conn *conn) in iscsit_start_kthreads() argument
646 conn->bitmap_id = bitmap_find_free_region(iscsit_global->ts_bitmap, in iscsit_start_kthreads()
650 if (conn->bitmap_id < 0) { in iscsit_start_kthreads()
656 conn->tx_thread = kthread_run(iscsi_target_tx_thread, conn, in iscsit_start_kthreads()
658 if (IS_ERR(conn->tx_thread)) { in iscsit_start_kthreads()
660 ret = PTR_ERR(conn->tx_thread); in iscsit_start_kthreads()
663 conn->tx_thread_active = true; in iscsit_start_kthreads()
665 conn->rx_thread = kthread_run(iscsi_target_rx_thread, conn, in iscsit_start_kthreads()
667 if (IS_ERR(conn->rx_thread)) { in iscsit_start_kthreads()
669 ret = PTR_ERR(conn->rx_thread); in iscsit_start_kthreads()
672 conn->rx_thread_active = true; in iscsit_start_kthreads()
676 send_sig(SIGINT, conn->tx_thread, 1); in iscsit_start_kthreads()
677 kthread_stop(conn->tx_thread); in iscsit_start_kthreads()
678 conn->tx_thread_active = false; in iscsit_start_kthreads()
681 bitmap_release_region(iscsit_global->ts_bitmap, conn->bitmap_id, in iscsit_start_kthreads()
689 struct iscsit_conn *conn, in iscsi_post_login_handler() argument
693 struct iscsit_session *sess = conn->sess; in iscsi_post_login_handler()
698 iscsit_inc_conn_usage_count(conn); in iscsi_post_login_handler()
700 iscsit_collect_login_stats(conn, ISCSI_STATUS_CLS_SUCCESS, in iscsi_post_login_handler()
704 conn->conn_state = TARG_CONN_STATE_LOGGED_IN; in iscsi_post_login_handler()
706 iscsi_set_connection_parameters(conn->conn_ops, conn->param_list); in iscsi_post_login_handler()
712 conn->param_list, 0); in iscsi_post_login_handler()
713 iscsi_release_param_list(conn->param_list); in iscsi_post_login_handler()
714 conn->param_list = NULL; in iscsi_post_login_handler()
726 " %pISpc,%hu\n", conn->cid, &conn->login_sockaddr, in iscsi_post_login_handler()
727 &conn->local_sockaddr, tpg->tpgt); in iscsi_post_login_handler()
729 list_add_tail(&conn->conn_list, &sess->sess_conn_list); in iscsi_post_login_handler()
736 iscsi_post_login_start_timers(conn); in iscsi_post_login_handler()
741 iscsit_thread_get_cpumask(conn); in iscsi_post_login_handler()
742 conn->conn_rx_reset_cpumask = 1; in iscsi_post_login_handler()
743 conn->conn_tx_reset_cpumask = 1; in iscsi_post_login_handler()
748 complete(&conn->rx_login_comp); in iscsi_post_login_handler()
749 iscsit_dec_conn_usage_count(conn); in iscsi_post_login_handler()
760 iscsi_set_session_parameters(sess->sess_ops, conn->param_list, 1); in iscsi_post_login_handler()
761 iscsi_release_param_list(conn->param_list); in iscsi_post_login_handler()
762 conn->param_list = NULL; in iscsi_post_login_handler()
773 conn->cid, &conn->login_sockaddr, &conn->local_sockaddr, in iscsi_post_login_handler()
777 list_add_tail(&conn->conn_list, &sess->sess_conn_list); in iscsi_post_login_handler()
798 iscsi_post_login_start_timers(conn); in iscsi_post_login_handler()
803 iscsit_thread_get_cpumask(conn); in iscsi_post_login_handler()
804 conn->conn_rx_reset_cpumask = 1; in iscsi_post_login_handler()
805 conn->conn_tx_reset_cpumask = 1; in iscsi_post_login_handler()
810 complete(&conn->rx_login_comp); in iscsi_post_login_handler()
811 iscsit_dec_conn_usage_count(conn); in iscsi_post_login_handler()
960 int iscsit_accept_np(struct iscsi_np *np, struct iscsit_conn *conn) in iscsit_accept_np() argument
971 conn->sock = new_sock; in iscsit_accept_np()
972 conn->login_family = np->np_sockaddr.ss_family; in iscsit_accept_np()
977 rc = conn->sock->ops->getname(conn->sock, in iscsit_accept_np()
981 memcpy(&conn->login_sockaddr, &sock_in6, sizeof(sock_in6)); in iscsit_accept_np()
987 memcpy(&conn->login_sockaddr, &sock_in, sizeof(sock_in)); in iscsit_accept_np()
991 rc = conn->sock->ops->getname(conn->sock, in iscsit_accept_np()
995 memcpy(&conn->local_sockaddr, &sock_in6, sizeof(sock_in6)); in iscsit_accept_np()
1001 memcpy(&conn->local_sockaddr, &sock_in, sizeof(sock_in)); in iscsit_accept_np()
1007 rc = conn->sock->ops->getname(conn->sock, in iscsit_accept_np()
1010 memcpy(&conn->login_sockaddr, &sock_in, sizeof(sock_in)); in iscsit_accept_np()
1012 rc = conn->sock->ops->getname(conn->sock, in iscsit_accept_np()
1015 memcpy(&conn->local_sockaddr, &sock_in, sizeof(sock_in)); in iscsit_accept_np()
1021 int iscsit_get_login_rx(struct iscsit_conn *conn, struct iscsi_login *login) in iscsit_get_login_rx() argument
1026 if (iscsi_login_rx_data(conn, login->req, ISCSI_HDR_LEN) < 0) in iscsit_get_login_rx()
1055 if (iscsi_target_check_login_request(conn, login) < 0) in iscsit_get_login_rx()
1059 if (iscsi_login_rx_data(conn, login->req_buf, in iscsit_get_login_rx()
1066 int iscsit_put_login_tx(struct iscsit_conn *conn, struct iscsi_login *login, in iscsit_put_login_tx() argument
1069 if (iscsi_login_tx_data(conn, login->rsp, login->rsp_buf, length) < 0) in iscsit_put_login_tx()
1076 iscsit_conn_set_transport(struct iscsit_conn *conn, struct iscsit_transport *t) in iscsit_conn_set_transport() argument
1081 conn->conn_transport = t; in iscsit_conn_set_transport()
1091 conn->conn_transport = t; in iscsit_conn_set_transport()
1097 struct iscsit_conn *conn; in iscsit_alloc_conn() local
1099 conn = kzalloc(sizeof(struct iscsit_conn), GFP_KERNEL); in iscsit_alloc_conn()
1100 if (!conn) { in iscsit_alloc_conn()
1105 conn->conn_state = TARG_CONN_STATE_FREE; in iscsit_alloc_conn()
1107 init_waitqueue_head(&conn->queues_wq); in iscsit_alloc_conn()
1108 INIT_LIST_HEAD(&conn->conn_list); in iscsit_alloc_conn()
1109 INIT_LIST_HEAD(&conn->conn_cmd_list); in iscsit_alloc_conn()
1110 INIT_LIST_HEAD(&conn->immed_queue_list); in iscsit_alloc_conn()
1111 INIT_LIST_HEAD(&conn->response_queue_list); in iscsit_alloc_conn()
1112 init_completion(&conn->conn_post_wait_comp); in iscsit_alloc_conn()
1113 init_completion(&conn->conn_wait_comp); in iscsit_alloc_conn()
1114 init_completion(&conn->conn_wait_rcfr_comp); in iscsit_alloc_conn()
1115 init_completion(&conn->conn_waiting_on_uc_comp); in iscsit_alloc_conn()
1116 init_completion(&conn->conn_logout_comp); in iscsit_alloc_conn()
1117 init_completion(&conn->rx_half_close_comp); in iscsit_alloc_conn()
1118 init_completion(&conn->tx_half_close_comp); in iscsit_alloc_conn()
1119 init_completion(&conn->rx_login_comp); in iscsit_alloc_conn()
1120 spin_lock_init(&conn->cmd_lock); in iscsit_alloc_conn()
1121 spin_lock_init(&conn->conn_usage_lock); in iscsit_alloc_conn()
1122 spin_lock_init(&conn->immed_queue_lock); in iscsit_alloc_conn()
1123 spin_lock_init(&conn->nopin_timer_lock); in iscsit_alloc_conn()
1124 spin_lock_init(&conn->response_queue_lock); in iscsit_alloc_conn()
1125 spin_lock_init(&conn->state_lock); in iscsit_alloc_conn()
1127 timer_setup(&conn->nopin_response_timer, in iscsit_alloc_conn()
1129 timer_setup(&conn->nopin_timer, iscsit_handle_nopin_timeout, 0); in iscsit_alloc_conn()
1131 if (iscsit_conn_set_transport(conn, np->np_transport) < 0) in iscsit_alloc_conn()
1134 conn->conn_ops = kzalloc(sizeof(struct iscsi_conn_ops), GFP_KERNEL); in iscsit_alloc_conn()
1135 if (!conn->conn_ops) { in iscsit_alloc_conn()
1140 if (!zalloc_cpumask_var(&conn->conn_cpumask, GFP_KERNEL)) { in iscsit_alloc_conn()
1141 pr_err("Unable to allocate conn->conn_cpumask\n"); in iscsit_alloc_conn()
1145 if (!zalloc_cpumask_var(&conn->allowed_cpumask, GFP_KERNEL)) { in iscsit_alloc_conn()
1146 pr_err("Unable to allocate conn->allowed_cpumask\n"); in iscsit_alloc_conn()
1150 return conn; in iscsit_alloc_conn()
1153 free_cpumask_var(conn->conn_cpumask); in iscsit_alloc_conn()
1155 kfree(conn->conn_ops); in iscsit_alloc_conn()
1157 iscsit_put_transport(conn->conn_transport); in iscsit_alloc_conn()
1159 kfree(conn); in iscsit_alloc_conn()
1163 void iscsit_free_conn(struct iscsit_conn *conn) in iscsit_free_conn() argument
1165 free_cpumask_var(conn->allowed_cpumask); in iscsit_free_conn()
1166 free_cpumask_var(conn->conn_cpumask); in iscsit_free_conn()
1167 kfree(conn->conn_ops); in iscsit_free_conn()
1168 iscsit_put_transport(conn->conn_transport); in iscsit_free_conn()
1169 kfree(conn); in iscsit_free_conn()
1172 void iscsi_target_login_sess_out(struct iscsit_conn *conn, in iscsi_target_login_sess_out() argument
1179 iscsit_collect_login_stats(conn, ISCSI_STATUS_CLS_INITIATOR_ERR, in iscsi_target_login_sess_out()
1181 if (!zero_tsih || !conn->sess) in iscsi_target_login_sess_out()
1184 transport_free_session(conn->sess->se_sess); in iscsi_target_login_sess_out()
1185 ida_free(&sess_ida, conn->sess->session_index); in iscsi_target_login_sess_out()
1186 kfree(conn->sess->sess_ops); in iscsi_target_login_sess_out()
1187 kfree(conn->sess); in iscsi_target_login_sess_out()
1188 conn->sess = NULL; in iscsi_target_login_sess_out()
1195 if (!zero_tsih && conn->sess) { in iscsi_target_login_sess_out()
1196 spin_lock_bh(&conn->sess->conn_lock); in iscsi_target_login_sess_out()
1197 if (conn->sess->session_state == TARG_SESS_STATE_FAILED) { in iscsi_target_login_sess_out()
1199 &conn->tpg->tpg_se_tpg; in iscsi_target_login_sess_out()
1201 atomic_set(&conn->sess->session_continuation, 0); in iscsi_target_login_sess_out()
1202 spin_unlock_bh(&conn->sess->conn_lock); in iscsi_target_login_sess_out()
1204 iscsit_start_time2retain_handler(conn->sess); in iscsi_target_login_sess_out()
1207 spin_unlock_bh(&conn->sess->conn_lock); in iscsi_target_login_sess_out()
1208 iscsit_dec_session_usage_count(conn->sess); in iscsi_target_login_sess_out()
1211 ahash_request_free(conn->conn_tx_hash); in iscsi_target_login_sess_out()
1212 if (conn->conn_rx_hash) { in iscsi_target_login_sess_out()
1215 tfm = crypto_ahash_reqtfm(conn->conn_rx_hash); in iscsi_target_login_sess_out()
1216 ahash_request_free(conn->conn_rx_hash); in iscsi_target_login_sess_out()
1220 if (conn->param_list) { in iscsi_target_login_sess_out()
1221 iscsi_release_param_list(conn->param_list); in iscsi_target_login_sess_out()
1222 conn->param_list = NULL; in iscsi_target_login_sess_out()
1224 iscsi_target_nego_release(conn); in iscsi_target_login_sess_out()
1226 if (conn->sock) { in iscsi_target_login_sess_out()
1227 sock_release(conn->sock); in iscsi_target_login_sess_out()
1228 conn->sock = NULL; in iscsi_target_login_sess_out()
1231 if (conn->conn_transport->iscsit_wait_conn) in iscsi_target_login_sess_out()
1232 conn->conn_transport->iscsit_wait_conn(conn); in iscsi_target_login_sess_out()
1234 if (conn->conn_transport->iscsit_free_conn) in iscsi_target_login_sess_out()
1235 conn->conn_transport->iscsit_free_conn(conn); in iscsi_target_login_sess_out()
1237 iscsit_free_conn(conn); in iscsi_target_login_sess_out()
1244 struct iscsit_conn *conn = NULL; in __iscsi_target_login_thread() local
1267 conn = iscsit_alloc_conn(np); in __iscsi_target_login_thread()
1268 if (!conn) { in __iscsi_target_login_thread()
1273 rc = np->np_transport->iscsit_accept_np(np, conn); in __iscsi_target_login_thread()
1276 iscsit_free_conn(conn); in __iscsi_target_login_thread()
1284 iscsit_free_conn(conn); in __iscsi_target_login_thread()
1289 iscsit_free_conn(conn); in __iscsi_target_login_thread()
1295 login = iscsi_login_init_conn(conn); in __iscsi_target_login_thread()
1303 conn->conn_state = TARG_CONN_STATE_XPT_UP; in __iscsi_target_login_thread()
1307 rc = np->np_transport->iscsit_get_login_rx(conn, login); in __iscsi_target_login_thread()
1319 conn->login_itt = pdu->itt; in __iscsi_target_login_thread()
1326 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_TARGET_ERR, in __iscsi_target_login_thread()
1332 conn->network_transport = np->np_network_transport; in __iscsi_target_login_thread()
1335 " Portal %pISpc\n", &conn->login_sockaddr, np->np_transport->name, in __iscsi_target_login_thread()
1336 &conn->local_sockaddr); in __iscsi_target_login_thread()
1339 conn->conn_state = TARG_CONN_STATE_IN_LOGIN; in __iscsi_target_login_thread()
1341 if (iscsi_login_check_initiator_version(conn, pdu->max_version, in __iscsi_target_login_thread()
1352 if (iscsi_login_zero_tsih_s1(conn, buffer) < 0) in __iscsi_target_login_thread()
1362 if (iscsi_login_non_zero_tsih_s1(conn, buffer) < 0) in __iscsi_target_login_thread()
1374 rc = iscsi_target_locate_portal(np, conn, login); in __iscsi_target_login_thread()
1376 tpg = conn->tpg; in __iscsi_target_login_thread()
1381 if (conn->sess) in __iscsi_target_login_thread()
1382 conn->sess->se_sess->sup_prot_ops = in __iscsi_target_login_thread()
1383 conn->conn_transport->iscsit_get_sup_prot_ops(conn); in __iscsi_target_login_thread()
1385 tpg = conn->tpg; in __iscsi_target_login_thread()
1392 if (iscsi_login_zero_tsih_s2(conn) < 0) in __iscsi_target_login_thread()
1395 if (iscsi_login_non_zero_tsih_s2(conn, buffer) < 0) in __iscsi_target_login_thread()
1399 if (conn->conn_transport->iscsit_validate_params) { in __iscsi_target_login_thread()
1400 ret = conn->conn_transport->iscsit_validate_params(conn); in __iscsi_target_login_thread()
1409 ret = iscsi_target_start_negotiation(login, conn); in __iscsi_target_login_thread()
1416 tpg_np = conn->tpg_np; in __iscsi_target_login_thread()
1418 iscsi_post_login_handler(np, conn, zero_tsih); in __iscsi_target_login_thread()
1431 tpg_np = conn->tpg_np; in __iscsi_target_login_thread()
1432 iscsi_target_login_sess_out(conn, zero_tsih, new_sess); in __iscsi_target_login_thread()