/Linux-v5.15/drivers/target/iscsi/ |
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 …]
|
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 …]
|
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 …]
|
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() 668 if (conn->sess->sess_ops->DataSequenceInOrder) { in iscsit_recalculate_dataout_values() 671 if (conn->sess->sess_ops->DataPDUInOrder) { in iscsit_recalculate_dataout_values() 718 if (conn->sess->sess_ops->DataPDUInOrder) in iscsit_recalculate_dataout_values() [all …]
|
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() 371 if (sess->sess_ops->SessionType) in iscsi_login_zero_tsih_s2() 568 conn_ptr->cid, sess->sess_ops->InitiatorName); in iscsi_login_post_auth_non_zero_tsih() 583 if (sess->sess_ops->ErrorRecoveryLevel == 2) { in iscsi_login_post_auth_non_zero_tsih() 601 cid, sess->sess_ops->InitiatorName); in iscsi_login_post_auth_non_zero_tsih() [all …]
|
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()
|
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 …]
|
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()
|
D | iscsi_target.c | 958 if (conn->sess->sess_ops->RDMAExtensions) in iscsit_ack_from_expstatsn() 1060 if (payload_length && !conn->sess->sess_ops->ImmediateData) { in iscsit_setup_scsi_cmd() 1092 if (payload_length > conn->sess->sess_ops->FirstBurstLength) { in iscsit_setup_scsi_cmd() 1095 payload_length, conn->sess->sess_ops->FirstBurstLength); in iscsit_setup_scsi_cmd() 1142 if (!conn->sess->sess_ops->RDMAExtensions && in iscsit_setup_scsi_cmd() 1490 if (conn->sess->sess_ops->InitialR2T) { in __iscsit_check_dataout_hdr() 1904 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in iscsit_handle_nop_out() 2306 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in iscsit_handle_text_cmd() 2426 if (sess->sess_ops->ErrorRecoveryLevel != 2) { in iscsit_logout_removeconnforrecovery() 2543 if (!conn->sess->sess_ops->ErrorRecoveryLevel) { in iscsit_handle_snack() [all …]
|
D | iscsi_target_device.c | 30 if (sess->sess_ops->SessionType) in iscsit_determine_maxcmdsn()
|
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() 1212 iscsi_dump_sess_ops(sess->sess_ops); in iscsit_print_session_params() 1364 sess->sess_ops->InitiatorName, in iscsit_fill_cxn_timeout_err_stats()
|
D | iscsi_target_nego.c | 111 if (!sess->sess_ops->SessionType) { in iscsi_handle_authentication() 1145 sess->sess_ops->SessionType = 1; in iscsi_target_locate_portal() 1246 sess->sess_ops->SessionType = 0; in iscsi_target_locate_portal()
|
D | iscsi_target_configfs.c | 458 (u32)sess->sess_ops->name); \ 516 sess->sess_ops->InitiatorName); in lio_target_nacl_info_show() 518 sess->sess_ops->InitiatorAlias); in lio_target_nacl_info_show() 524 (sess->sess_ops->SessionType) ? in lio_target_nacl_info_show()
|
D | iscsi_target_stat.c | 612 sess->sess_ops->SessionType ? 0 : ISCSI_NODE_INDEX); in iscsi_stat_sess_node_show()
|
/Linux-v5.15/drivers/target/iscsi/cxgbit/ |
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-v5.15/include/target/iscsi/ |
D | iscsi_target_core.h | 685 struct iscsi_sess_ops *sess_ops; member
|
/Linux-v5.15/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 1229 if (conn->sess->sess_ops->SessionType && in isert_rx_opcode() 2532 (cmd->write_data_done < conn->sess->sess_ops->FirstBurstLength) && in isert_put_unsol_pending_cmds()
|