/linux/drivers/target/iscsi/ |
H A D | iscsi_target_erl0.c | 42 conn->sess->sess_ops->FirstBurstLength); in iscsit_set_dataout_sequence_values() 46 if (!conn->sess->sess_ops->DataSequenceInOrder) in iscsit_set_dataout_sequence_values() 52 conn->sess->sess_ops->MaxBurstLength) ? in iscsit_set_dataout_sequence_values() 54 conn->sess->sess_ops->MaxBurstLength) : cmd->se_cmd.data_length; in iscsit_set_dataout_sequence_values() 58 conn->sess->sess_ops->MaxBurstLength) >= in iscsit_set_dataout_sequence_values() 61 conn->sess->sess_ops->MaxBurstLength); in iscsit_set_dataout_sequence_values() 85 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_dataout_within_command_recovery_check() 103 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_dataout_within_command_recovery_check() 153 if (first_burst_len > conn->sess->sess_ops->FirstBurstLength) { in iscsit_dataout_check_unsolicited_sequence() 156 first_burst_len, conn->sess->sess_ops->FirstBurstLength); in iscsit_dataout_check_unsolicited_sequence() [all …]
|
H A D | iscsi_target_datain_values.c | 111 (read_data_left <= (conn->sess->sess_ops->MaxBurstLength - in iscsit_set_datain_values_yes_and_yes() 116 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_yes_and_yes() 121 conn->sess->sess_ops->MaxBurstLength) { in iscsit_set_datain_values_yes_and_yes() 126 datain->length = (conn->sess->sess_ops->MaxBurstLength - in iscsit_set_datain_values_yes_and_yes() 131 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_yes_and_yes() 226 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_no_and_yes() 234 conn->sess->sess_ops->MaxBurstLength) { in iscsit_set_datain_values_no_and_yes() 241 datain->length = (conn->sess->sess_ops->MaxBurstLength - in iscsit_set_datain_values_no_and_yes() 246 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_no_and_yes() 336 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_yes_and_no() [all …]
|
H A D | iscsi_target_seq_pdu_list.c | 225 conn->sess->sess_ops->FirstBurstLength); in iscsit_determine_counts_for_list() 247 >= conn->sess->sess_ops->FirstBurstLength) { in iscsit_determine_counts_for_list() 249 (conn->sess->sess_ops->FirstBurstLength - in iscsit_determine_counts_for_list() 251 offset += (conn->sess->sess_ops->FirstBurstLength - in iscsit_determine_counts_for_list() 267 conn->sess->sess_ops->MaxBurstLength) { in iscsit_determine_counts_for_list() 268 offset += (conn->sess->sess_ops->MaxBurstLength - in iscsit_determine_counts_for_list() 301 datapduinorder = conn->sess->sess_ops->DataPDUInOrder; in iscsit_do_build_pdu_and_seq_lists() 302 datasequenceinorder = conn->sess->sess_ops->DataSequenceInOrder; in iscsit_do_build_pdu_and_seq_lists() 311 conn->sess->sess_ops->FirstBurstLength); in iscsit_do_build_pdu_and_seq_lists() 365 conn->sess->sess_ops->FirstBurstLength) { in iscsit_do_build_pdu_and_seq_lists() [all …]
|
H A D | iscsi_target_erl1.c | 48 if (conn->sess->sess_ops->RDMAExtensions) in iscsit_dump_data_payload() 182 conn->sess->sess_ops->MaxBurstLength) { in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 189 (conn->sess->sess_ops->MaxBurstLength - in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 198 if (!conn->sess->sess_ops->DataPDUInOrder) { in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 299 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_create_recovery_datain_values_datasequenceinorder_no() 362 (conn->sess->sess_ops->DataPDUInOrder) ? "Yes" : "No"); in iscsit_create_recovery_datain_values_datasequenceinorder_no() 594 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_dataout_datapduinorder_no_fbit() 667 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_recalculate_dataout_values() 670 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_recalculate_dataout_values() 717 if (conn->sess->sess_ops->DataPDUInOrder) in iscsit_recalculate_dataout_values() [all …]
|
H A D | iscsi_target_login.c | 166 (!strcmp(sess_p->sess_ops->InitiatorName, in iscsi_check_for_session_reinstatement() 168 (sess_p->sess_ops->SessionType == sessiontype))) { in iscsi_check_for_session_reinstatement() 190 sess->sess_ops->InitiatorName); in iscsi_check_for_session_reinstatement() 311 sess->sess_ops = kzalloc(sizeof(struct iscsi_sess_ops), GFP_KERNEL); in iscsi_login_zero_tsih_s1() 312 if (!sess->sess_ops) { in iscsi_login_zero_tsih_s1() 330 kfree(sess->sess_ops); in iscsi_login_zero_tsih_s1() 372 if (sess->sess_ops->SessionType) in iscsi_login_zero_tsih_s2() 581 conn_ptr->cid, sess->sess_ops->InitiatorName); in iscsi_login_post_auth_non_zero_tsih() 596 if (sess->sess_ops->ErrorRecoveryLevel == 2) { in iscsi_login_post_auth_non_zero_tsih() 614 cid, sess->sess_ops->InitiatorName); in iscsi_login_post_auth_non_zero_tsih() [all …]
|
H A D | iscsi_target_tmr.c | 121 if (conn->sess->sess_ops->ErrorRecoveryLevel != 2) { in iscsit_tmr_task_reassign() 274 if ((conn->sess->sess_ops->FirstBurstLength - offset) >= in iscsit_task_reassign_complete_write() 279 length = (conn->sess->sess_ops->FirstBurstLength - offset); in iscsit_task_reassign_complete_write() 485 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_task_reassign_prepare_unsolicited_dataout() 492 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_task_reassign_prepare_unsolicited_dataout() 530 if (conn->sess->sess_ops->DataPDUInOrder) in iscsit_task_reassign_prepare_unsolicited_dataout() 635 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_task_reassign_prepare_write() 641 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_task_reassign_prepare_write() 687 if (conn->sess->sess_ops->DataPDUInOrder) in iscsit_task_reassign_prepare_write() 761 if (conn->sess->sess_ops->DataSequenceInOrder) in iscsit_task_reassign_prepare_write()
|
H A D | iscsi_target_parameters.c | 80 void iscsi_dump_sess_ops(struct iscsi_sess_ops *sess_ops) in iscsi_dump_sess_ops() argument 82 pr_debug("InitiatorName: %s\n", sess_ops->InitiatorName); in iscsi_dump_sess_ops() 83 pr_debug("InitiatorAlias: %s\n", sess_ops->InitiatorAlias); in iscsi_dump_sess_ops() 84 pr_debug("TargetName: %s\n", sess_ops->TargetName); in iscsi_dump_sess_ops() 85 pr_debug("TargetAlias: %s\n", sess_ops->TargetAlias); in iscsi_dump_sess_ops() 87 sess_ops->TargetPortalGroupTag); in iscsi_dump_sess_ops() 88 pr_debug("MaxConnections: %hu\n", sess_ops->MaxConnections); in iscsi_dump_sess_ops() 90 (sess_ops->InitialR2T) ? "Yes" : "No"); in iscsi_dump_sess_ops() 91 pr_debug("ImmediateData: %s\n", (sess_ops->ImmediateData) ? in iscsi_dump_sess_ops() 93 pr_debug("MaxBurstLength: %u\n", sess_ops->MaxBurstLength); in iscsi_dump_sess_ops() [all …]
|
H A D | iscsi_target_erl2.c | 41 conn->sess->sess_ops->MaxBurstLength) { in iscsit_create_conn_recovery_datain_values() 48 (conn->sess->sess_ops->MaxBurstLength - in iscsit_create_conn_recovery_datain_values() 66 if ((write_data_done + conn->sess->sess_ops->MaxBurstLength) <= in iscsit_create_conn_recovery_dataout_values() 68 write_data_done += conn->sess->sess_ops->MaxBurstLength; in iscsit_create_conn_recovery_dataout_values()
|
H A D | iscsi_target.c | 966 if (conn->sess->sess_ops->RDMAExtensions) in iscsit_ack_from_expstatsn() 1070 if (payload_length && !conn->sess->sess_ops->ImmediateData) { in iscsit_setup_scsi_cmd() 1102 if (payload_length > conn->sess->sess_ops->FirstBurstLength) { in iscsit_setup_scsi_cmd() 1105 payload_length, conn->sess->sess_ops->FirstBurstLength); in iscsit_setup_scsi_cmd() 1173 if (!conn->sess->sess_ops->RDMAExtensions && in iscsit_setup_scsi_cmd() 1522 if (conn->sess->sess_ops->InitialR2T) { in __iscsit_check_dataout_hdr() 1936 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in iscsit_handle_nop_out() 2339 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in iscsit_handle_text_cmd() 2459 if (sess->sess_ops->ErrorRecoveryLevel != 2) { in iscsit_logout_removeconnforrecovery() 2576 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in iscsit_handle_snack() [all …]
|
H A D | iscsi_target_util.c | 343 if (conn->sess->sess_ops->InitialR2T) { in iscsit_check_unsolicited_dataout() 352 conn->sess->sess_ops->FirstBurstLength) { in iscsit_check_unsolicited_dataout() 356 conn->sess->sess_ops->FirstBurstLength); in iscsit_check_unsolicited_dataout() 367 conn->sess->sess_ops->FirstBurstLength)) { in iscsit_check_unsolicited_dataout() 372 conn->sess->sess_ops->FirstBurstLength, cmd->se_cmd.data_length); in iscsit_check_unsolicited_dataout() 912 conn->cid, sess->sess_ops->InitiatorName, sess->isid, in iscsit_handle_nopin_response_timeout() 1266 iscsi_dump_sess_ops(sess->sess_ops); in iscsit_print_session_params() 1418 sess->sess_ops->InitiatorName, in iscsit_fill_cxn_timeout_err_stats()
|
H A D | iscsi_target_device.c | 30 if (sess->sess_ops->SessionType) in iscsit_determine_maxcmdsn()
|
H A D | iscsi_target_nego.c | 107 if (conn->sess->sess_ops->SessionType) in iscsi_get_node_auth() 816 if (conn->sess->sess_ops->SessionType) { in iscsi_conn_auth_required() 1196 sess->sess_ops->SessionType = 1; in iscsi_target_locate_portal() 1299 sess->sess_ops->SessionType = 0; in iscsi_target_locate_portal()
|
H A D | iscsi_target_configfs.c | 484 (u32)sess->sess_ops->name); \ 542 sess->sess_ops->InitiatorName); in lio_target_nacl_info_show() 544 sess->sess_ops->InitiatorAlias); in lio_target_nacl_info_show() 550 (sess->sess_ops->SessionType) ? in lio_target_nacl_info_show()
|
H A D | iscsi_target_stat.c | 612 sess->sess_ops->SessionType ? 0 : ISCSI_NODE_INDEX); in iscsi_stat_sess_node_show()
|
/linux/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_target.c | 648 mbl = conn->sess->sess_ops->MaxBurstLength; in cxgbit_set_iso_npdu() 706 if (!conn->sess->sess_ops->DataSequenceInOrder) in cxgbit_seq_pdu_inorder() 708 if (!conn->sess->sess_ops->DataPDUInOrder) in cxgbit_seq_pdu_inorder() 740 erl = conn->sess->sess_ops->ErrorRecoveryLevel; in cxgbit_set_params() 865 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in cxgbit_handle_immediate_data() 1101 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in cxgbit_handle_nop_out() 1169 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in cxgbit_handle_text_cmd() 1303 if (conn->sess->sess_ops->SessionType && in cxgbit_rx_opcode()
|
/linux/include/target/iscsi/ |
H A D | iscsi_target_core.h | 688 struct iscsi_sess_ops *sess_ops; member
|
/linux/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.c | 1230 if (conn->sess->sess_ops->SessionType && in isert_rx_opcode() 2539 (cmd->write_data_done < conn->sess->sess_ops->FirstBurstLength) && in isert_put_unsol_pending_cmds()
|