Searched refs:sess_ops (Results 1 – 15 of 15) sorted by relevance
/linux-3.4.99/drivers/target/iscsi/ |
D | iscsi_target_erl0.c | 52 conn->sess->sess_ops->FirstBurstLength) ? in iscsit_set_dataout_sequence_values() 53 conn->sess->sess_ops->FirstBurstLength : cmd->data_length); in iscsit_set_dataout_sequence_values() 57 if (!conn->sess->sess_ops->DataSequenceInOrder) in iscsit_set_dataout_sequence_values() 63 conn->sess->sess_ops->MaxBurstLength) ? in iscsit_set_dataout_sequence_values() 65 conn->sess->sess_ops->MaxBurstLength) : cmd->data_length; in iscsit_set_dataout_sequence_values() 69 conn->sess->sess_ops->MaxBurstLength) >= in iscsit_set_dataout_sequence_values() 72 conn->sess->sess_ops->MaxBurstLength); in iscsit_set_dataout_sequence_values() 96 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_dataout_within_command_recovery_check() 113 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_dataout_within_command_recovery_check() 163 if (first_burst_len > conn->sess->sess_ops->FirstBurstLength) { in iscsit_dataout_check_unsolicited_sequence() [all …]
|
D | iscsi_target_datain_values.c | 124 (read_data_left <= (conn->sess->sess_ops->MaxBurstLength - in iscsit_set_datain_values_yes_and_yes() 129 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_yes_and_yes() 134 conn->sess->sess_ops->MaxBurstLength) { in iscsit_set_datain_values_yes_and_yes() 139 datain->length = (conn->sess->sess_ops->MaxBurstLength - in iscsit_set_datain_values_yes_and_yes() 144 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_yes_and_yes() 239 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_no_and_yes() 247 conn->sess->sess_ops->MaxBurstLength) { in iscsit_set_datain_values_no_and_yes() 254 datain->length = (conn->sess->sess_ops->MaxBurstLength - in iscsit_set_datain_values_no_and_yes() 259 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_no_and_yes() 349 if (conn->sess->sess_ops->ErrorRecoveryLevel > 0) in iscsit_set_datain_values_yes_and_no() [all …]
|
D | iscsi_target_seq_pdu_list.c | 225 conn->sess->sess_ops->FirstBurstLength) ? in iscsit_determine_counts_for_list() 226 conn->sess->sess_ops->FirstBurstLength : cmd->data_length; in iscsit_determine_counts_for_list() 249 >= conn->sess->sess_ops->FirstBurstLength) { in iscsit_determine_counts_for_list() 251 (conn->sess->sess_ops->FirstBurstLength - in iscsit_determine_counts_for_list() 253 offset += (conn->sess->sess_ops->FirstBurstLength - in iscsit_determine_counts_for_list() 271 conn->sess->sess_ops->MaxBurstLength) { in iscsit_determine_counts_for_list() 272 offset += (conn->sess->sess_ops->MaxBurstLength - in iscsit_determine_counts_for_list() 300 datapduinorder = conn->sess->sess_ops->DataPDUInOrder; in iscsit_build_pdu_and_seq_list() 301 datasequenceinorder = conn->sess->sess_ops->DataSequenceInOrder; in iscsit_build_pdu_and_seq_list() 310 conn->sess->sess_ops->FirstBurstLength) ? in iscsit_build_pdu_and_seq_list() [all …]
|
D | iscsi_target_login.c | 157 (!strcmp(sess_p->sess_ops->InitiatorName, in iscsi_check_for_session_reinstatement() 159 (sess_p->sess_ops->SessionType == sessiontype))) { in iscsi_check_for_session_reinstatement() 179 sess->sess_ops->InitiatorName); in iscsi_check_for_session_reinstatement() 272 sess->sess_ops = kzalloc(sizeof(struct iscsi_sess_ops), GFP_KERNEL); in iscsi_login_zero_tsih_s1() 273 if (!sess->sess_ops) { in iscsi_login_zero_tsih_s1() 322 if (sess->sess_ops->SessionType) in iscsi_login_zero_tsih_s2() 525 conn_ptr->cid, sess->sess_ops->InitiatorName); in iscsi_login_post_auth_non_zero_tsih() 540 if (sess->sess_ops->ErrorRecoveryLevel == 2) { in iscsi_login_post_auth_non_zero_tsih() 558 cid, sess->sess_ops->InitiatorName); in iscsi_login_post_auth_non_zero_tsih() 560 if ((atomic_read(&sess->nconn) + 1) > sess->sess_ops->MaxConnections) { in iscsi_login_post_auth_non_zero_tsih() [all …]
|
D | iscsi_target_erl1.c | 213 conn->sess->sess_ops->MaxBurstLength) { in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 220 (conn->sess->sess_ops->MaxBurstLength - in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 229 if (!conn->sess->sess_ops->DataPDUInOrder) { in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 334 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_create_recovery_datain_values_datasequenceinorder_no() 398 (conn->sess->sess_ops->DataPDUInOrder) ? "Yes" : "No"); in iscsit_create_recovery_datain_values_datasequenceinorder_no() 629 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_dataout_datapduinorder_no_fbit() 703 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_recalculate_dataout_values() 706 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_recalculate_dataout_values() 753 if (conn->sess->sess_ops->DataPDUInOrder) in iscsit_recalculate_dataout_values() 1124 *length = (conn->sess->sess_ops->FirstBurstLength > in iscsit_set_dataout_timeout_values() [all …]
|
D | iscsi_target_tmr.c | 133 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() 489 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_task_reassign_prepare_unsolicited_dataout() 496 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_task_reassign_prepare_unsolicited_dataout() 534 if (conn->sess->sess_ops->DataPDUInOrder) in iscsit_task_reassign_prepare_unsolicited_dataout() 641 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_task_reassign_prepare_write() 647 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_task_reassign_prepare_write() 693 if (conn->sess->sess_ops->DataPDUInOrder) in iscsit_task_reassign_prepare_write() 767 if (conn->sess->sess_ops->DataSequenceInOrder) in iscsit_task_reassign_prepare_write()
|
D | iscsi_target_parameters.c | 106 void iscsi_dump_sess_ops(struct iscsi_sess_ops *sess_ops) in iscsi_dump_sess_ops() argument 108 pr_debug("InitiatorName: %s\n", sess_ops->InitiatorName); in iscsi_dump_sess_ops() 109 pr_debug("InitiatorAlias: %s\n", sess_ops->InitiatorAlias); in iscsi_dump_sess_ops() 110 pr_debug("TargetName: %s\n", sess_ops->TargetName); in iscsi_dump_sess_ops() 111 pr_debug("TargetAlias: %s\n", sess_ops->TargetAlias); in iscsi_dump_sess_ops() 113 sess_ops->TargetPortalGroupTag); in iscsi_dump_sess_ops() 114 pr_debug("MaxConnections: %hu\n", sess_ops->MaxConnections); in iscsi_dump_sess_ops() 116 (sess_ops->InitialR2T) ? "Yes" : "No"); in iscsi_dump_sess_ops() 117 pr_debug("ImmediateData: %s\n", (sess_ops->ImmediateData) ? in iscsi_dump_sess_ops() 119 pr_debug("MaxBurstLength: %u\n", sess_ops->MaxBurstLength); in iscsi_dump_sess_ops() [all …]
|
D | iscsi_target_erl2.c | 50 conn->sess->sess_ops->MaxBurstLength) { in iscsit_create_conn_recovery_datain_values() 57 (conn->sess->sess_ops->MaxBurstLength - in iscsit_create_conn_recovery_datain_values() 75 if ((write_data_done + conn->sess->sess_ops->MaxBurstLength) <= in iscsit_create_conn_recovery_dataout_values() 77 write_data_done += conn->sess->sess_ops->MaxBurstLength; in iscsit_create_conn_recovery_dataout_values()
|
D | iscsi_target_device.c | 41 if (sess->sess_ops->SessionType) in iscsit_determine_maxcmdsn()
|
D | iscsi_target.c | 914 if (payload_length && !conn->sess->sess_ops->ImmediateData) { in iscsit_handle_scsi_cmd() 946 if (payload_length > conn->sess->sess_ops->FirstBurstLength) { in iscsit_handle_scsi_cmd() 949 payload_length, conn->sess->sess_ops->FirstBurstLength); in iscsit_handle_scsi_cmd() 1314 if (conn->sess->sess_ops->InitialR2T) { in iscsit_handle_data_out() 1571 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in iscsit_handle_nop_out() 1915 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in iscsit_handle_text_cmd() 2083 if (sess->sess_ops->ErrorRecoveryLevel != 2) { in iscsit_logout_removeconnforrecovery() 2216 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in iscsit_handle_snack() 2313 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in iscsit_handle_immediate_data() 2411 hdr->param2 = cpu_to_be16(conn->sess->sess_ops->DefaultTime2Wait); in iscsit_send_conn_drop_async_message() [all …]
|
D | iscsi_target_util.c | 311 if (sess->sess_ops->DataSequenceInOrder && in iscsit_decide_list_to_build() 312 sess->sess_ops->DataPDUInOrder) in iscsit_decide_list_to_build() 483 if (conn->sess->sess_ops->InitialR2T) { in iscsit_check_unsolicited_dataout() 492 conn->sess->sess_ops->FirstBurstLength) { in iscsit_check_unsolicited_dataout() 496 conn->sess->sess_ops->FirstBurstLength); in iscsit_check_unsolicited_dataout() 507 conn->sess->sess_ops->FirstBurstLength)) { in iscsit_check_unsolicited_dataout() 512 conn->sess->sess_ops->FirstBurstLength, cmd->data_length); in iscsit_check_unsolicited_dataout() 1095 conn->sess->sess_ops->InitiatorName); in iscsit_handle_nopin_response_timeout() 1444 iscsi_dump_sess_ops(sess->sess_ops); in iscsit_print_session_params()
|
D | iscsi_target_configfs.c | 533 (u32)sess->sess_ops->name); \ 611 if (sess->sess_ops->InitiatorName) in lio_target_nacl_show_info() 613 sess->sess_ops->InitiatorName); in lio_target_nacl_show_info() 614 if (sess->sess_ops->InitiatorAlias) in lio_target_nacl_show_info() 616 sess->sess_ops->InitiatorAlias); in lio_target_nacl_show_info() 625 (sess->sess_ops->SessionType) ? in lio_target_nacl_show_info()
|
D | iscsi_target_nego.c | 116 if (!sess->sess_ops->SessionType) { in iscsi_handle_authentication() 850 sess->sess_ops->SessionType = 1; in iscsi_target_locate_portal() 946 sess->sess_ops->SessionType = 0; in iscsi_target_locate_portal()
|
D | iscsi_target_core.h | 659 struct iscsi_sess_ops *sess_ops; member
|
D | iscsi_target_stat.c | 751 sess->sess_ops->SessionType ? 0 : ISCSI_NODE_INDEX); in iscsi_stat_sess_show_attr_node()
|