• Home
  • Raw
  • Download

Lines Matching refs:conn

78 	iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, ISTATE_SEND_R2T);  in iscsit_add_r2t_to_list()
172 struct iscsi_cmd *iscsit_allocate_cmd(struct iscsi_conn *conn, int state) in iscsit_allocate_cmd() argument
175 struct se_session *se_sess = conn->sess->se_sess; in iscsit_allocate_cmd()
184 size = sizeof(struct iscsi_cmd) + conn->conn_transport->priv_size; in iscsit_allocate_cmd()
190 cmd->conn = conn; in iscsit_allocate_cmd()
302 int iscsit_sequence_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in iscsit_sequence_cmd() argument
309 mutex_lock(&conn->sess->cmdsn_mutex); in iscsit_sequence_cmd()
311 cmdsn_ret = iscsit_check_received_cmdsn(conn->sess, be32_to_cpu(cmdsn)); in iscsit_sequence_cmd()
315 if ((ret >= 0) && !list_empty(&conn->sess->sess_ooo_cmdsn_list)) in iscsit_sequence_cmd()
316 iscsit_execute_ooo_cmdsns(conn->sess); in iscsit_sequence_cmd()
323 ret = iscsit_handle_ooo_cmdsn(conn->sess, cmd, be32_to_cpu(cmdsn)); in iscsit_sequence_cmd()
335 iscsit_add_cmd_to_immediate_queue(cmd, conn, cmd->i_state); in iscsit_sequence_cmd()
344 mutex_unlock(&conn->sess->cmdsn_mutex); in iscsit_sequence_cmd()
355 struct iscsi_conn *conn = cmd->conn; in iscsit_check_unsolicited_dataout() local
360 if (conn->sess->sess_ops->InitialR2T) { in iscsit_check_unsolicited_dataout()
369 conn->sess->sess_ops->FirstBurstLength) { in iscsit_check_unsolicited_dataout()
373 conn->sess->sess_ops->FirstBurstLength); in iscsit_check_unsolicited_dataout()
384 conn->sess->sess_ops->FirstBurstLength)) { in iscsit_check_unsolicited_dataout()
389 conn->sess->sess_ops->FirstBurstLength, cmd->se_cmd.data_length); in iscsit_check_unsolicited_dataout()
398 struct iscsi_conn *conn, in iscsit_find_cmd_from_itt() argument
403 spin_lock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt()
404 list_for_each_entry(cmd, &conn->conn_cmd_list, i_conn_node) { in iscsit_find_cmd_from_itt()
406 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt()
410 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt()
413 init_task_tag, conn->cid); in iscsit_find_cmd_from_itt()
419 struct iscsi_conn *conn, in iscsit_find_cmd_from_itt_or_dump() argument
425 spin_lock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt_or_dump()
426 list_for_each_entry(cmd, &conn->conn_cmd_list, i_conn_node) { in iscsit_find_cmd_from_itt_or_dump()
430 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt_or_dump()
434 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt_or_dump()
437 " dumping payload\n", init_task_tag, conn->cid); in iscsit_find_cmd_from_itt_or_dump()
439 iscsit_dump_data_payload(conn, length, 1); in iscsit_find_cmd_from_itt_or_dump()
446 struct iscsi_conn *conn, in iscsit_find_cmd_from_ttt() argument
451 spin_lock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_ttt()
452 list_for_each_entry(cmd, &conn->conn_cmd_list, i_conn_node) { in iscsit_find_cmd_from_ttt()
454 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_ttt()
458 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_ttt()
461 targ_xfer_tag, conn->cid); in iscsit_find_cmd_from_ttt()
519 struct iscsi_conn *conn, in iscsit_add_cmd_to_immediate_queue() argument
534 spin_lock_bh(&conn->immed_queue_lock); in iscsit_add_cmd_to_immediate_queue()
535 list_add_tail(&qr->qr_list, &conn->immed_queue_list); in iscsit_add_cmd_to_immediate_queue()
537 atomic_set(&conn->check_immediate_queue, 1); in iscsit_add_cmd_to_immediate_queue()
538 spin_unlock_bh(&conn->immed_queue_lock); in iscsit_add_cmd_to_immediate_queue()
540 wake_up(&conn->queues_wq); in iscsit_add_cmd_to_immediate_queue()
544 struct iscsi_queue_req *iscsit_get_cmd_from_immediate_queue(struct iscsi_conn *conn) in iscsit_get_cmd_from_immediate_queue() argument
548 spin_lock_bh(&conn->immed_queue_lock); in iscsit_get_cmd_from_immediate_queue()
549 if (list_empty(&conn->immed_queue_list)) { in iscsit_get_cmd_from_immediate_queue()
550 spin_unlock_bh(&conn->immed_queue_lock); in iscsit_get_cmd_from_immediate_queue()
553 qr = list_first_entry(&conn->immed_queue_list, in iscsit_get_cmd_from_immediate_queue()
559 spin_unlock_bh(&conn->immed_queue_lock); in iscsit_get_cmd_from_immediate_queue()
566 struct iscsi_conn *conn) in iscsit_remove_cmd_from_immediate_queue() argument
570 spin_lock_bh(&conn->immed_queue_lock); in iscsit_remove_cmd_from_immediate_queue()
572 spin_unlock_bh(&conn->immed_queue_lock); in iscsit_remove_cmd_from_immediate_queue()
576 list_for_each_entry_safe(qr, qr_tmp, &conn->immed_queue_list, qr_list) { in iscsit_remove_cmd_from_immediate_queue()
584 spin_unlock_bh(&conn->immed_queue_lock); in iscsit_remove_cmd_from_immediate_queue()
595 struct iscsi_conn *conn, in iscsit_add_cmd_to_response_queue() argument
610 spin_lock_bh(&conn->response_queue_lock); in iscsit_add_cmd_to_response_queue()
611 list_add_tail(&qr->qr_list, &conn->response_queue_list); in iscsit_add_cmd_to_response_queue()
613 spin_unlock_bh(&conn->response_queue_lock); in iscsit_add_cmd_to_response_queue()
615 wake_up(&conn->queues_wq); in iscsit_add_cmd_to_response_queue()
619 struct iscsi_queue_req *iscsit_get_cmd_from_response_queue(struct iscsi_conn *conn) in iscsit_get_cmd_from_response_queue() argument
623 spin_lock_bh(&conn->response_queue_lock); in iscsit_get_cmd_from_response_queue()
624 if (list_empty(&conn->response_queue_list)) { in iscsit_get_cmd_from_response_queue()
625 spin_unlock_bh(&conn->response_queue_lock); in iscsit_get_cmd_from_response_queue()
629 qr = list_first_entry(&conn->response_queue_list, in iscsit_get_cmd_from_response_queue()
635 spin_unlock_bh(&conn->response_queue_lock); in iscsit_get_cmd_from_response_queue()
642 struct iscsi_conn *conn) in iscsit_remove_cmd_from_response_queue() argument
646 spin_lock_bh(&conn->response_queue_lock); in iscsit_remove_cmd_from_response_queue()
648 spin_unlock_bh(&conn->response_queue_lock); in iscsit_remove_cmd_from_response_queue()
652 list_for_each_entry_safe(qr, qr_tmp, &conn->response_queue_list, in iscsit_remove_cmd_from_response_queue()
661 spin_unlock_bh(&conn->response_queue_lock); in iscsit_remove_cmd_from_response_queue()
670 bool iscsit_conn_all_queues_empty(struct iscsi_conn *conn) in iscsit_conn_all_queues_empty() argument
674 spin_lock_bh(&conn->immed_queue_lock); in iscsit_conn_all_queues_empty()
675 empty = list_empty(&conn->immed_queue_list); in iscsit_conn_all_queues_empty()
676 spin_unlock_bh(&conn->immed_queue_lock); in iscsit_conn_all_queues_empty()
681 spin_lock_bh(&conn->response_queue_lock); in iscsit_conn_all_queues_empty()
682 empty = list_empty(&conn->response_queue_list); in iscsit_conn_all_queues_empty()
683 spin_unlock_bh(&conn->response_queue_lock); in iscsit_conn_all_queues_empty()
688 void iscsit_free_queue_reqs_for_conn(struct iscsi_conn *conn) in iscsit_free_queue_reqs_for_conn() argument
692 spin_lock_bh(&conn->immed_queue_lock); in iscsit_free_queue_reqs_for_conn()
693 list_for_each_entry_safe(qr, qr_tmp, &conn->immed_queue_list, qr_list) { in iscsit_free_queue_reqs_for_conn()
700 spin_unlock_bh(&conn->immed_queue_lock); in iscsit_free_queue_reqs_for_conn()
702 spin_lock_bh(&conn->response_queue_lock); in iscsit_free_queue_reqs_for_conn()
703 list_for_each_entry_safe(qr, qr_tmp, &conn->response_queue_list, in iscsit_free_queue_reqs_for_conn()
711 spin_unlock_bh(&conn->response_queue_lock); in iscsit_free_queue_reqs_for_conn()
721 if (cmd->conn) in iscsit_release_cmd()
722 sess = cmd->conn->sess; in iscsit_release_cmd()
742 struct iscsi_conn *conn = cmd->conn; in __iscsit_free_cmd() local
753 if (conn && check_queues) { in __iscsit_free_cmd()
754 iscsit_remove_cmd_from_immediate_queue(cmd, conn); in __iscsit_free_cmd()
755 iscsit_remove_cmd_from_response_queue(cmd, conn); in __iscsit_free_cmd()
758 if (conn && conn->conn_transport->iscsit_unmap_cmd) in __iscsit_free_cmd()
759 conn->conn_transport->iscsit_unmap_cmd(conn, cmd); in __iscsit_free_cmd()
819 struct iscsi_conn *conn; in iscsit_get_conn_from_cid() local
822 list_for_each_entry(conn, &sess->sess_conn_list, conn_list) { in iscsit_get_conn_from_cid()
823 if ((conn->cid == cid) && in iscsit_get_conn_from_cid()
824 (conn->conn_state == TARG_CONN_STATE_LOGGED_IN)) { in iscsit_get_conn_from_cid()
825 iscsit_inc_conn_usage_count(conn); in iscsit_get_conn_from_cid()
827 return conn; in iscsit_get_conn_from_cid()
837 struct iscsi_conn *conn; in iscsit_get_conn_from_cid_rcfr() local
840 list_for_each_entry(conn, &sess->sess_conn_list, conn_list) { in iscsit_get_conn_from_cid_rcfr()
841 if (conn->cid == cid) { in iscsit_get_conn_from_cid_rcfr()
842 iscsit_inc_conn_usage_count(conn); in iscsit_get_conn_from_cid_rcfr()
843 spin_lock(&conn->state_lock); in iscsit_get_conn_from_cid_rcfr()
844 atomic_set(&conn->connection_wait_rcfr, 1); in iscsit_get_conn_from_cid_rcfr()
845 spin_unlock(&conn->state_lock); in iscsit_get_conn_from_cid_rcfr()
847 return conn; in iscsit_get_conn_from_cid_rcfr()
855 void iscsit_check_conn_usage_count(struct iscsi_conn *conn) in iscsit_check_conn_usage_count() argument
857 spin_lock_bh(&conn->conn_usage_lock); in iscsit_check_conn_usage_count()
858 if (conn->conn_usage_count != 0) { in iscsit_check_conn_usage_count()
859 conn->conn_waiting_on_uc = 1; in iscsit_check_conn_usage_count()
860 spin_unlock_bh(&conn->conn_usage_lock); in iscsit_check_conn_usage_count()
862 wait_for_completion(&conn->conn_waiting_on_uc_comp); in iscsit_check_conn_usage_count()
865 spin_unlock_bh(&conn->conn_usage_lock); in iscsit_check_conn_usage_count()
868 void iscsit_dec_conn_usage_count(struct iscsi_conn *conn) in iscsit_dec_conn_usage_count() argument
870 spin_lock_bh(&conn->conn_usage_lock); in iscsit_dec_conn_usage_count()
871 conn->conn_usage_count--; in iscsit_dec_conn_usage_count()
873 if (!conn->conn_usage_count && conn->conn_waiting_on_uc) in iscsit_dec_conn_usage_count()
874 complete(&conn->conn_waiting_on_uc_comp); in iscsit_dec_conn_usage_count()
876 spin_unlock_bh(&conn->conn_usage_lock); in iscsit_dec_conn_usage_count()
879 void iscsit_inc_conn_usage_count(struct iscsi_conn *conn) in iscsit_inc_conn_usage_count() argument
881 spin_lock_bh(&conn->conn_usage_lock); in iscsit_inc_conn_usage_count()
882 conn->conn_usage_count++; in iscsit_inc_conn_usage_count()
883 spin_unlock_bh(&conn->conn_usage_lock); in iscsit_inc_conn_usage_count()
886 static int iscsit_add_nopin(struct iscsi_conn *conn, int want_response) in iscsit_add_nopin() argument
891 cmd = iscsit_allocate_cmd(conn, TASK_RUNNING); in iscsit_add_nopin()
900 session_get_next_ttt(conn->sess) : 0xFFFFFFFF; in iscsit_add_nopin()
901 spin_lock_bh(&conn->cmd_lock); in iscsit_add_nopin()
902 list_add_tail(&cmd->i_conn_node, &conn->conn_cmd_list); in iscsit_add_nopin()
903 spin_unlock_bh(&conn->cmd_lock); in iscsit_add_nopin()
906 iscsit_start_nopin_response_timer(conn); in iscsit_add_nopin()
907 iscsit_add_cmd_to_immediate_queue(cmd, conn, state); in iscsit_add_nopin()
914 struct iscsi_conn *conn = from_timer(conn, t, nopin_response_timer); in iscsit_handle_nopin_response_timeout() local
915 struct iscsi_session *sess = conn->sess; in iscsit_handle_nopin_response_timeout()
917 iscsit_inc_conn_usage_count(conn); in iscsit_handle_nopin_response_timeout()
919 spin_lock_bh(&conn->nopin_timer_lock); in iscsit_handle_nopin_response_timeout()
920 if (conn->nopin_response_timer_flags & ISCSI_TF_STOP) { in iscsit_handle_nopin_response_timeout()
921 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_handle_nopin_response_timeout()
922 iscsit_dec_conn_usage_count(conn); in iscsit_handle_nopin_response_timeout()
928 conn->cid, sess->sess_ops->InitiatorName, sess->isid, in iscsit_handle_nopin_response_timeout()
930 conn->nopin_response_timer_flags &= ~ISCSI_TF_RUNNING; in iscsit_handle_nopin_response_timeout()
931 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_handle_nopin_response_timeout()
934 iscsit_cause_connection_reinstatement(conn, 0); in iscsit_handle_nopin_response_timeout()
935 iscsit_dec_conn_usage_count(conn); in iscsit_handle_nopin_response_timeout()
938 void iscsit_mod_nopin_response_timer(struct iscsi_conn *conn) in iscsit_mod_nopin_response_timer() argument
940 struct iscsi_session *sess = conn->sess; in iscsit_mod_nopin_response_timer()
943 spin_lock_bh(&conn->nopin_timer_lock); in iscsit_mod_nopin_response_timer()
944 if (!(conn->nopin_response_timer_flags & ISCSI_TF_RUNNING)) { in iscsit_mod_nopin_response_timer()
945 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_mod_nopin_response_timer()
949 mod_timer(&conn->nopin_response_timer, in iscsit_mod_nopin_response_timer()
951 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_mod_nopin_response_timer()
954 void iscsit_start_nopin_response_timer(struct iscsi_conn *conn) in iscsit_start_nopin_response_timer() argument
956 struct iscsi_session *sess = conn->sess; in iscsit_start_nopin_response_timer()
959 spin_lock_bh(&conn->nopin_timer_lock); in iscsit_start_nopin_response_timer()
960 if (conn->nopin_response_timer_flags & ISCSI_TF_RUNNING) { in iscsit_start_nopin_response_timer()
961 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_start_nopin_response_timer()
965 conn->nopin_response_timer_flags &= ~ISCSI_TF_STOP; in iscsit_start_nopin_response_timer()
966 conn->nopin_response_timer_flags |= ISCSI_TF_RUNNING; in iscsit_start_nopin_response_timer()
967 mod_timer(&conn->nopin_response_timer, in iscsit_start_nopin_response_timer()
971 " seconds\n", conn->cid, na->nopin_response_timeout); in iscsit_start_nopin_response_timer()
972 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_start_nopin_response_timer()
975 void iscsit_stop_nopin_response_timer(struct iscsi_conn *conn) in iscsit_stop_nopin_response_timer() argument
977 spin_lock_bh(&conn->nopin_timer_lock); in iscsit_stop_nopin_response_timer()
978 if (!(conn->nopin_response_timer_flags & ISCSI_TF_RUNNING)) { in iscsit_stop_nopin_response_timer()
979 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_stop_nopin_response_timer()
982 conn->nopin_response_timer_flags |= ISCSI_TF_STOP; in iscsit_stop_nopin_response_timer()
983 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_stop_nopin_response_timer()
985 del_timer_sync(&conn->nopin_response_timer); in iscsit_stop_nopin_response_timer()
987 spin_lock_bh(&conn->nopin_timer_lock); in iscsit_stop_nopin_response_timer()
988 conn->nopin_response_timer_flags &= ~ISCSI_TF_RUNNING; in iscsit_stop_nopin_response_timer()
989 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_stop_nopin_response_timer()
994 struct iscsi_conn *conn = from_timer(conn, t, nopin_timer); in iscsit_handle_nopin_timeout() local
996 iscsit_inc_conn_usage_count(conn); in iscsit_handle_nopin_timeout()
998 spin_lock_bh(&conn->nopin_timer_lock); in iscsit_handle_nopin_timeout()
999 if (conn->nopin_timer_flags & ISCSI_TF_STOP) { in iscsit_handle_nopin_timeout()
1000 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_handle_nopin_timeout()
1001 iscsit_dec_conn_usage_count(conn); in iscsit_handle_nopin_timeout()
1004 conn->nopin_timer_flags &= ~ISCSI_TF_RUNNING; in iscsit_handle_nopin_timeout()
1005 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_handle_nopin_timeout()
1007 iscsit_add_nopin(conn, 1); in iscsit_handle_nopin_timeout()
1008 iscsit_dec_conn_usage_count(conn); in iscsit_handle_nopin_timeout()
1011 void __iscsit_start_nopin_timer(struct iscsi_conn *conn) in __iscsit_start_nopin_timer() argument
1013 struct iscsi_session *sess = conn->sess; in __iscsit_start_nopin_timer()
1016 lockdep_assert_held(&conn->nopin_timer_lock); in __iscsit_start_nopin_timer()
1024 if (conn->nopin_timer_flags & ISCSI_TF_RUNNING) in __iscsit_start_nopin_timer()
1027 conn->nopin_timer_flags &= ~ISCSI_TF_STOP; in __iscsit_start_nopin_timer()
1028 conn->nopin_timer_flags |= ISCSI_TF_RUNNING; in __iscsit_start_nopin_timer()
1029 mod_timer(&conn->nopin_timer, jiffies + na->nopin_timeout * HZ); in __iscsit_start_nopin_timer()
1032 " interval\n", conn->cid, na->nopin_timeout); in __iscsit_start_nopin_timer()
1035 void iscsit_start_nopin_timer(struct iscsi_conn *conn) in iscsit_start_nopin_timer() argument
1037 spin_lock_bh(&conn->nopin_timer_lock); in iscsit_start_nopin_timer()
1038 __iscsit_start_nopin_timer(conn); in iscsit_start_nopin_timer()
1039 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_start_nopin_timer()
1042 void iscsit_stop_nopin_timer(struct iscsi_conn *conn) in iscsit_stop_nopin_timer() argument
1044 spin_lock_bh(&conn->nopin_timer_lock); in iscsit_stop_nopin_timer()
1045 if (!(conn->nopin_timer_flags & ISCSI_TF_RUNNING)) { in iscsit_stop_nopin_timer()
1046 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_stop_nopin_timer()
1049 conn->nopin_timer_flags |= ISCSI_TF_STOP; in iscsit_stop_nopin_timer()
1050 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_stop_nopin_timer()
1052 del_timer_sync(&conn->nopin_timer); in iscsit_stop_nopin_timer()
1054 spin_lock_bh(&conn->nopin_timer_lock); in iscsit_stop_nopin_timer()
1055 conn->nopin_timer_flags &= ~ISCSI_TF_RUNNING; in iscsit_stop_nopin_timer()
1056 spin_unlock_bh(&conn->nopin_timer_lock); in iscsit_stop_nopin_timer()
1061 struct iscsi_conn *conn, in iscsit_send_tx_data() argument
1079 tx_sent = tx_data(conn, &iov[0], iov_count, tx_size); in iscsit_send_tx_data()
1094 struct iscsi_conn *conn) in iscsit_fe_sendpage_sg() argument
1104 if (conn->conn_ops->HeaderDigest) in iscsit_fe_sendpage_sg()
1110 tx_sent = tx_data(conn, &iov, 1, tx_hdr_size); in iscsit_fe_sendpage_sg()
1124 if (conn->conn_ops->DataDigest) { in iscsit_fe_sendpage_sg()
1140 tx_sent = conn->sock->ops->sendpage(conn->sock, in iscsit_fe_sendpage_sg()
1163 tx_sent = tx_data(conn, iov_p, 1, cmd->padding); in iscsit_fe_sendpage_sg()
1174 if (conn->conn_ops->DataDigest) { in iscsit_fe_sendpage_sg()
1177 tx_sent = tx_data(conn, iov_d, 1, ISCSI_CRC_LEN); in iscsit_fe_sendpage_sg()
1198 int iscsit_tx_login_rsp(struct iscsi_conn *conn, u8 status_class, u8 status_detail) in iscsit_tx_login_rsp() argument
1201 struct iscsi_login *login = conn->conn_login; in iscsit_tx_login_rsp()
1204 iscsit_collect_login_stats(conn, status_class, status_detail); in iscsit_tx_login_rsp()
1212 hdr->itt = conn->login_itt; in iscsit_tx_login_rsp()
1214 return conn->conn_transport->iscsit_put_login_tx(conn, login, 0); in iscsit_tx_login_rsp()
1219 struct iscsi_conn *conn; in iscsit_print_session_params() local
1224 list_for_each_entry(conn, &sess->sess_conn_list, conn_list) in iscsit_print_session_params()
1225 iscsi_dump_conn_ops(conn->conn_ops); in iscsit_print_session_params()
1232 struct iscsi_conn *conn, in rx_data() argument
1240 if (!conn || !conn->sock || !conn->conn_ops) in rx_data()
1247 rx_loop = sock_recvmsg(conn->sock, &msg, MSG_WAITALL); in rx_data()
1262 struct iscsi_conn *conn, in tx_data() argument
1270 if (!conn || !conn->sock || !conn->conn_ops) in tx_data()
1283 int tx_loop = sock_sendmsg(conn->sock, &msg); in tx_data()
1298 struct iscsi_conn *conn, in iscsit_collect_login_stats() argument
1306 tiqn = iscsit_snmp_get_tiqn(conn); in iscsit_collect_login_stats()
1337 if (conn->param_list) in iscsit_collect_login_stats()
1339 conn->param_list); in iscsit_collect_login_stats()
1344 ls->last_intr_fail_ip_family = conn->login_family; in iscsit_collect_login_stats()
1346 ls->last_intr_fail_sockaddr = conn->login_sockaddr; in iscsit_collect_login_stats()
1353 struct iscsi_tiqn *iscsit_snmp_get_tiqn(struct iscsi_conn *conn) in iscsit_snmp_get_tiqn() argument
1357 if (!conn) in iscsit_snmp_get_tiqn()
1360 tpg = conn->tpg; in iscsit_snmp_get_tiqn()