Home
last modified time | relevance | path

Searched refs:data_sn (Results 1 – 11 of 11) sorted by relevance

/drivers/target/iscsi/
Discsi_target_datain_values.c136 datain->data_sn = (!dr->recovery) ? cmd->data_sn++ : dr->data_sn++; in iscsit_set_datain_values_yes_and_yes()
162 if ((dr->begrun + dr->runlength) == dr->data_sn) { in iscsit_set_datain_values_yes_and_yes()
216 seq->first_datasn = cmd->data_sn; in iscsit_set_datain_values_no_and_yes()
257 datain->data_sn = (!dr->recovery) ? cmd->data_sn++ : dr->data_sn++; in iscsit_set_datain_values_no_and_yes()
268 seq->last_datasn = datain->data_sn; in iscsit_set_datain_values_no_and_yes()
283 if ((dr->begrun + dr->runlength) == dr->data_sn) { in iscsit_set_datain_values_no_and_yes()
353 pdu->data_sn = (!dr->recovery) ? cmd->data_sn++ : dr->data_sn++; in iscsit_set_datain_values_yes_and_no()
365 datain->data_sn = pdu->data_sn; in iscsit_set_datain_values_yes_and_no()
382 if ((dr->begrun + dr->runlength) == dr->data_sn) { in iscsit_set_datain_values_yes_and_no()
437 seq->first_datasn = cmd->data_sn; in iscsit_set_datain_values_no_and_no()
[all …]
Discsi_target_erl0.c107 seq->data_sn != be32_to_cpu(hdr->datasn))) in iscsit_dataout_within_command_recovery_check()
112 seq->data_sn != be32_to_cpu(hdr->datasn)) in iscsit_dataout_within_command_recovery_check()
339 u32 data_sn = 0; in iscsit_dataout_check_datasn() local
353 data_sn = cmd->data_sn; in iscsit_dataout_check_datasn()
356 data_sn = seq->data_sn; in iscsit_dataout_check_datasn()
359 if (be32_to_cpu(hdr->datasn) > data_sn) { in iscsit_dataout_check_datasn()
362 be32_to_cpu(hdr->datasn), data_sn); in iscsit_dataout_check_datasn()
364 } else if (be32_to_cpu(hdr->datasn) < data_sn) { in iscsit_dataout_check_datasn()
367 cmd->init_task_tag, be32_to_cpu(hdr->datasn), data_sn); in iscsit_dataout_check_datasn()
501 u32 data_sn, in iscsit_dataout_update_datapduinorder_no() argument
[all …]
Discsi_target_erl1.c173 u32 data_sn = 0, data_sn_count = 0; in iscsit_create_recovery_datain_values_datasequenceinorder_yes() local
178 while (begrun > data_sn++) { in iscsit_create_recovery_datain_values_datasequenceinorder_yes()
220 u32 data_sn, read_data_done = 0, seq_send_order = 0; in iscsit_create_recovery_datain_values_datasequenceinorder_no() local
283 data_sn = seq->first_datasn; in iscsit_create_recovery_datain_values_datasequenceinorder_no()
300 while (data_sn < begrun) { in iscsit_create_recovery_datain_values_datasequenceinorder_no()
306 data_sn++; in iscsit_create_recovery_datain_values_datasequenceinorder_no()
312 while (data_sn < begrun) { in iscsit_create_recovery_datain_values_datasequenceinorder_no()
318 if (pdu->data_sn == data_sn) { in iscsit_create_recovery_datain_values_datasequenceinorder_no()
325 data_sn++; in iscsit_create_recovery_datain_values_datasequenceinorder_no()
408 if ((begrun + runlength) > (cmd->data_sn - 1)) { in iscsit_handle_recovery_datain()
[all …]
Discsi_target_tmr.c339 dr->data_sn = dr->begrun = tmr_req->exp_data_sn; in iscsit_task_reassign_complete_read()
486 cmd->data_sn = 0; in iscsit_task_reassign_prepare_unsolicited_dataout()
525 seq->data_sn = 0; in iscsit_task_reassign_prepare_unsolicited_dataout()
642 cmd->data_sn = 0; in iscsit_task_reassign_prepare_write()
649 cmd->data_sn = 0; in iscsit_task_reassign_prepare_write()
680 seq->data_sn = 0; in iscsit_task_reassign_prepare_write()
801 if (tmr_req->exp_data_sn > ref_cmd->data_sn) { in iscsit_check_task_reassign_expdatasn()
805 ref_cmd->data_sn); in iscsit_check_task_reassign_expdatasn()
Discsi_target_seq_pdu_list.h59 u32 data_sn; member
70 u32 data_sn; member
Discsi_target_erl2.c32 u32 data_sn = 0; in iscsit_create_conn_recovery_datain_values() local
38 while (be32_to_cpu(exp_data_sn) > data_sn) { in iscsit_create_conn_recovery_datain_values()
52 data_sn++; in iscsit_create_conn_recovery_datain_values()
62 cmd->data_sn = 0; in iscsit_create_conn_recovery_dataout_values()
Discsi_target.c2817 hdr->datasn = cpu_to_be32(datain->data_sn); in iscsit_build_datain_pdu()
/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c452 datain.data_sn = cmd->data_sn - 1; in cxgbit_tx_datain_iso()
472 cmd->data_sn += num_pdu; in cxgbit_tx_datain_iso()
1023 cmd->data_sn = be32_to_cpu(hdr->datasn); in cxgbit_handle_iscsi_dataout()
/drivers/scsi/be2iscsi/
Dbe_main.h444 u8 data_sn[32]; member
/drivers/scsi/cxgbi/
Dlibcxgbi.c1541 u32 data_sn = be32_to_cpu(((struct iscsi_data *) in skb_read_pdu_bhs() local
1546 tcp_task->exp_datasn = data_sn; in skb_read_pdu_bhs()
/drivers/net/ethernet/broadcom/
Dcnic_defs.h4531 u32 data_sn; member
4688 u32 data_sn; member