Home
last modified time | relevance | path

Searched refs:write_data_done (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/target/iscsi/
Discsi_target_erl2.c59 u32 write_data_done = 0; in iscsit_create_conn_recovery_dataout_values() local
65 while (cmd->write_data_done > write_data_done) { in iscsit_create_conn_recovery_dataout_values()
66 if ((write_data_done + conn->sess->sess_ops->MaxBurstLength) <= in iscsit_create_conn_recovery_dataout_values()
67 cmd->write_data_done) in iscsit_create_conn_recovery_dataout_values()
68 write_data_done += conn->sess->sess_ops->MaxBurstLength; in iscsit_create_conn_recovery_dataout_values()
73 cmd->write_data_done = write_data_done; in iscsit_create_conn_recovery_dataout_values()
Discsi_target_erl0.c40 cmd->seq_start_offset = cmd->write_data_done; in iscsit_set_dataout_sequence_values()
50 cmd->seq_start_offset = cmd->write_data_done; in iscsit_set_dataout_sequence_values()
53 (cmd->write_data_done + in iscsit_set_dataout_sequence_values()
87 cmd->write_data_done != be32_to_cpu(hdr->offset)) in iscsit_dataout_within_command_recovery_check()
287 ((cmd->write_data_done + payload_length) < in iscsit_dataout_check_sequence()
312 if ((cmd->write_data_done + payload_length) == in iscsit_dataout_check_sequence()
405 if (be32_to_cpu(hdr->offset) != cmd->write_data_done) { in iscsit_dataout_pre_datapduinorder_yes()
408 be32_to_cpu(hdr->offset), cmd->write_data_done); in iscsit_dataout_pre_datapduinorder_yes()
633 cmd->write_data_done += payload_length; in iscsit_dataout_post_crc_passed()
635 if (cmd->write_data_done == cmd->se_cmd.data_length) in iscsit_dataout_post_crc_passed()
Discsi_target_tmr.c272 offset = cmd->next_burst_len = cmd->write_data_done; in iscsit_task_reassign_complete_write()
493 cmd->write_data_done -= (cmd->immediate_data) ? in iscsit_task_reassign_prepare_unsolicited_dataout()
511 cmd->write_data_done -= pdu->length; in iscsit_task_reassign_prepare_unsolicited_dataout()
522 cmd->write_data_done -= in iscsit_task_reassign_prepare_unsolicited_dataout()
662 cmd->write_data_done -= pdu->length; in iscsit_task_reassign_prepare_write()
678 cmd->write_data_done -= in iscsit_task_reassign_prepare_write()
Discsi_target_erl1.c671 *r2t_offset = cmd->write_data_done; in iscsit_recalculate_dataout_values()
673 cmd->write_data_done); in iscsit_recalculate_dataout_values()
694 cmd->write_data_done -= pdu->length; in iscsit_recalculate_dataout_values()
708 cmd->write_data_done -= (seq->offset - seq->orig_offset); in iscsit_recalculate_dataout_values()
710 cmd->first_burst_len = cmd->write_data_done; in iscsit_recalculate_dataout_values()
1137 pdu_offset = cmd->write_data_done; in iscsit_handle_dataout_timeout()
1141 cmd->write_data_done); in iscsit_handle_dataout_timeout()
Discsi_target.c1321 u32 length = min(cmd->se_cmd.data_length - cmd->write_data_done, in iscsit_get_immediate_data()
1325 cmd->se_cmd.data_length, cmd->write_data_done, in iscsit_get_immediate_data()
2638 BUG_ON(cmd->write_data_done > cmd->se_cmd.data_length); in iscsit_handle_immediate_data()
2639 rx_size = min(cmd->se_cmd.data_length - cmd->write_data_done, length); in iscsit_handle_immediate_data()
2642 cmd->write_data_done, rx_size); in iscsit_handle_immediate_data()
2692 cmd->write_data_done, length, padding, in iscsit_handle_immediate_data()
2721 cmd->write_data_done += length; in iscsit_handle_immediate_data()
2723 if (cmd->write_data_done == cmd->se_cmd.data_length) { in iscsit_handle_immediate_data()
3177 cmd->r2t_offset = max(cmd->r2t_offset, cmd->write_data_done); in iscsit_build_r2ts_for_cmd()
/linux-6.12.1/drivers/infiniband/ulp/isert/
Dib_isert.c1093 cmd->write_data_done += imm_data_len; in isert_handle_scsi_cmd()
1095 if (cmd->write_data_done == cmd->se_cmd.data_length) { in isert_handle_scsi_cmd()
1140 unsol_data_len, cmd->write_data_done, in isert_handle_iscsi_dataout()
1143 sg_off = cmd->write_data_done / PAGE_SIZE; in isert_handle_iscsi_dataout()
1146 page_off = cmd->write_data_done % PAGE_SIZE; in isert_handle_iscsi_dataout()
1640 cmd->write_data_done = 0; in isert_rdma_read_done()
2052 offset = cmd->iscsit_cmd->write_data_done; in isert_rdma_rw_ctx_post()
2139 isert_cmd, cmd->se_cmd.data_length, cmd->write_data_done); in isert_get_dataout()
2539 (cmd->write_data_done < conn->sess->sess_ops->FirstBurstLength) && in isert_put_unsol_pending_cmds()
2540 (cmd->write_data_done < cmd->se_cmd.data_length)) in isert_put_unsol_pending_cmds()
/linux-6.12.1/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c900 cmd->write_data_done += pdu_cb->dlen; in cxgbit_handle_immediate_data()
902 if (cmd->write_data_done == cmd->se_cmd.data_length) { in cxgbit_handle_immediate_data()
1018 ddp_data_len = offset - cmd->write_data_done; in cxgbit_handle_iscsi_dataout()
1021 cmd->write_data_done = offset; in cxgbit_handle_iscsi_dataout()
1051 data_len, cmd->write_data_done, in cxgbit_handle_iscsi_dataout()
1068 (cmd->se_cmd.data_length == (cmd->write_data_done + data_len))) { in cxgbit_handle_iscsi_dataout()
Dcxgbit_ddp.c280 if (unlikely(cmd->write_data_done != in cxgbit_unmap_cmd()
/linux-6.12.1/include/target/iscsi/
Discsi_target_core.h430 u32 write_data_done; member