Lines Matching refs:rx_size
1592 u32 checksum, iov_count = 0, padding = 0, rx_got = 0, rx_size = 0; in iscsit_get_dataout() local
1598 rx_size += payload_length; in iscsit_get_dataout()
1612 rx_size += padding; in iscsit_get_dataout()
1619 rx_size += ISCSI_CRC_LEN; in iscsit_get_dataout()
1623 rx_got = rx_data(conn, &cmd->iov_data[0], iov_count, rx_size); in iscsit_get_dataout()
1627 if (rx_got != rx_size) in iscsit_get_dataout()
1862 int niov = 0, rx_got, rx_size = payload_length; in iscsit_handle_nop_out() local
1880 rx_size += padding; in iscsit_handle_nop_out()
1885 rx_size += ISCSI_CRC_LEN; in iscsit_handle_nop_out()
1889 rx_got = rx_data(conn, &cmd->iov_misc[0], niov, rx_size); in iscsit_handle_nop_out()
1890 if (rx_got != rx_size) { in iscsit_handle_nop_out()
2258 int rx_size, rc; in iscsit_handle_text_cmd() local
2264 rx_size = payload_length; in iscsit_handle_text_cmd()
2271 rx_size = ALIGN(payload_length, 4); in iscsit_handle_text_cmd()
2272 text_in = kzalloc(rx_size, GFP_KERNEL); in iscsit_handle_text_cmd()
2280 iov[niov++].iov_len = rx_size; in iscsit_handle_text_cmd()
2282 padding = rx_size - payload_length; in iscsit_handle_text_cmd()
2289 rx_size += ISCSI_CRC_LEN; in iscsit_handle_text_cmd()
2293 rx_got = rx_data(conn, &iov[0], niov, rx_size); in iscsit_handle_text_cmd()
2294 if (rx_got != rx_size) in iscsit_handle_text_cmd()
2299 text_in, rx_size, 0, NULL, in iscsit_handle_text_cmd()
2599 int iov_ret, rx_got = 0, rx_size = 0; in iscsit_handle_immediate_data() local
2606 rx_size = min(cmd->se_cmd.data_length - cmd->write_data_done, length); in iscsit_handle_immediate_data()
2609 cmd->write_data_done, rx_size); in iscsit_handle_immediate_data()
2615 if (rx_size < length) { in iscsit_handle_immediate_data()
2620 overflow_buf = kmalloc(length - rx_size, GFP_KERNEL); in iscsit_handle_immediate_data()
2627 iov[iov_count].iov_len = length - rx_size; in iscsit_handle_immediate_data()
2629 rx_size = length; in iscsit_handle_immediate_data()
2636 rx_size += padding; in iscsit_handle_immediate_data()
2642 rx_size += ISCSI_CRC_LEN; in iscsit_handle_immediate_data()
2646 rx_got = rx_data(conn, &cmd->iov_data[0], iov_count, rx_size); in iscsit_handle_immediate_data()
2650 if (rx_got != rx_size) { in iscsit_handle_immediate_data()