Lines Matching refs:rx_size
1630 u32 checksum, iov_count = 0, padding = 0, rx_got = 0, rx_size = 0; in iscsit_get_dataout() local
1636 rx_size += payload_length; in iscsit_get_dataout()
1650 rx_size += padding; in iscsit_get_dataout()
1657 rx_size += ISCSI_CRC_LEN; in iscsit_get_dataout()
1661 rx_got = rx_data(conn, &cmd->iov_data[0], iov_count, rx_size); in iscsit_get_dataout()
1665 if (rx_got != rx_size) in iscsit_get_dataout()
1900 int niov = 0, rx_got, rx_size = payload_length; in iscsit_handle_nop_out() local
1918 rx_size += padding; in iscsit_handle_nop_out()
1923 rx_size += ISCSI_CRC_LEN; in iscsit_handle_nop_out()
1927 rx_got = rx_data(conn, &cmd->iov_misc[0], niov, rx_size); in iscsit_handle_nop_out()
1928 if (rx_got != rx_size) { in iscsit_handle_nop_out()
2296 int rx_size, rc; in iscsit_handle_text_cmd() local
2302 rx_size = payload_length; in iscsit_handle_text_cmd()
2309 rx_size = ALIGN(payload_length, 4); in iscsit_handle_text_cmd()
2310 text_in = kzalloc(rx_size, GFP_KERNEL); in iscsit_handle_text_cmd()
2318 iov[niov++].iov_len = rx_size; in iscsit_handle_text_cmd()
2320 padding = rx_size - payload_length; in iscsit_handle_text_cmd()
2327 rx_size += ISCSI_CRC_LEN; in iscsit_handle_text_cmd()
2331 rx_got = rx_data(conn, &iov[0], niov, rx_size); in iscsit_handle_text_cmd()
2332 if (rx_got != rx_size) in iscsit_handle_text_cmd()
2337 text_in, rx_size, 0, NULL, in iscsit_handle_text_cmd()
2637 int iov_ret, rx_got = 0, rx_size = 0; in iscsit_handle_immediate_data() local
2644 rx_size = min(cmd->se_cmd.data_length - cmd->write_data_done, length); in iscsit_handle_immediate_data()
2647 cmd->write_data_done, rx_size); in iscsit_handle_immediate_data()
2653 if (rx_size < length) { in iscsit_handle_immediate_data()
2658 overflow_buf = kmalloc(length - rx_size, GFP_KERNEL); in iscsit_handle_immediate_data()
2665 iov[iov_count].iov_len = length - rx_size; in iscsit_handle_immediate_data()
2667 rx_size = length; in iscsit_handle_immediate_data()
2674 rx_size += padding; in iscsit_handle_immediate_data()
2680 rx_size += ISCSI_CRC_LEN; in iscsit_handle_immediate_data()
2684 rx_got = rx_data(conn, &cmd->iov_data[0], iov_count, rx_size); in iscsit_handle_immediate_data()
2688 if (rx_got != rx_size) { in iscsit_handle_immediate_data()