Searched refs:write_data_done (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/drivers/target/iscsi/ |
D | iscsi_target_erl2.c | 59 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()
|
D | iscsi_target_erl0.c | 40 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()
|
D | iscsi_target_tmr.c | 272 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()
|
D | iscsi_target_erl1.c | 672 *r2t_offset = cmd->write_data_done; in iscsit_recalculate_dataout_values() 674 cmd->write_data_done); in iscsit_recalculate_dataout_values() 695 cmd->write_data_done -= pdu->length; in iscsit_recalculate_dataout_values() 709 cmd->write_data_done -= (seq->offset - seq->orig_offset); in iscsit_recalculate_dataout_values() 711 cmd->first_burst_len = cmd->write_data_done; in iscsit_recalculate_dataout_values() 1140 pdu_offset = cmd->write_data_done; in iscsit_handle_dataout_timeout() 1144 cmd->write_data_done); in iscsit_handle_dataout_timeout()
|
D | iscsi_target.c | 1288 u32 length = min(cmd->se_cmd.data_length - cmd->write_data_done, in iscsit_get_immediate_data() 1292 cmd->se_cmd.data_length, cmd->write_data_done, in iscsit_get_immediate_data() 2604 BUG_ON(cmd->write_data_done > cmd->se_cmd.data_length); in iscsit_handle_immediate_data() 2605 rx_size = min(cmd->se_cmd.data_length - cmd->write_data_done, length); in iscsit_handle_immediate_data() 2608 cmd->write_data_done, rx_size); in iscsit_handle_immediate_data() 2658 cmd->write_data_done, length, padding, in iscsit_handle_immediate_data() 2687 cmd->write_data_done += length; in iscsit_handle_immediate_data() 2689 if (cmd->write_data_done == cmd->se_cmd.data_length) { in iscsit_handle_immediate_data() 3143 cmd->r2t_offset = max(cmd->r2t_offset, cmd->write_data_done); in iscsit_build_r2ts_for_cmd()
|
/Linux-v5.10/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 1067 cmd->write_data_done += imm_data_len; in isert_handle_scsi_cmd() 1069 if (cmd->write_data_done == cmd->se_cmd.data_length) { in isert_handle_scsi_cmd() 1114 unsol_data_len, cmd->write_data_done, in isert_handle_iscsi_dataout() 1117 sg_off = cmd->write_data_done / PAGE_SIZE; in isert_handle_iscsi_dataout() 1120 page_off = cmd->write_data_done % PAGE_SIZE; in isert_handle_iscsi_dataout() 1614 cmd->write_data_done = 0; in isert_rdma_read_done() 2026 offset = cmd->iscsi_cmd->write_data_done; in isert_rdma_rw_ctx_post() 2113 isert_cmd, cmd->se_cmd.data_length, cmd->write_data_done); in isert_get_dataout() 2497 (cmd->write_data_done < conn->sess->sess_ops->FirstBurstLength) && in isert_put_unsol_pending_cmds() 2498 (cmd->write_data_done < cmd->se_cmd.data_length)) in isert_put_unsol_pending_cmds()
|
/Linux-v5.10/drivers/target/iscsi/cxgbit/ |
D | cxgbit_target.c | 901 cmd->write_data_done += pdu_cb->dlen; in cxgbit_handle_immediate_data() 903 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()
|
D | cxgbit_ddp.c | 279 if (unlikely(cmd->write_data_done != in cxgbit_unmap_cmd()
|
/Linux-v5.10/include/target/iscsi/ |
D | iscsi_target_core.h | 432 u32 write_data_done; member
|