Lines Matching refs:niov

504 	u32 niov = 0, tx_size = ISCSI_HDR_LEN;  in iscsit_xmit_nondatain_pdu()  local
508 iov[niov].iov_base = cmd->pdu; in iscsit_xmit_nondatain_pdu()
509 iov[niov++].iov_len = ISCSI_HDR_LEN; in iscsit_xmit_nondatain_pdu()
528 iov[niov].iov_base = (void *)data_buf; in iscsit_xmit_nondatain_pdu()
529 iov[niov++].iov_len = data_buf_len; in iscsit_xmit_nondatain_pdu()
533 iov[niov].iov_base = &cmd->pad_bytes; in iscsit_xmit_nondatain_pdu()
534 iov[niov++].iov_len = padding; in iscsit_xmit_nondatain_pdu()
546 iov[niov].iov_base = &cmd->data_crc; in iscsit_xmit_nondatain_pdu()
547 iov[niov++].iov_len = ISCSI_CRC_LEN; in iscsit_xmit_nondatain_pdu()
555 cmd->iov_misc_count = niov; in iscsit_xmit_nondatain_pdu()
1900 int niov = 0, rx_got, rx_size = payload_length; in iscsit_handle_nop_out() local
1909 iov[niov].iov_base = ping_data; in iscsit_handle_nop_out()
1910 iov[niov++].iov_len = payload_length; in iscsit_handle_nop_out()
1916 iov[niov].iov_base = &cmd->pad_bytes; in iscsit_handle_nop_out()
1917 iov[niov++].iov_len = padding; in iscsit_handle_nop_out()
1921 iov[niov].iov_base = &checksum; in iscsit_handle_nop_out()
1922 iov[niov++].iov_len = ISCSI_CRC_LEN; in iscsit_handle_nop_out()
1926 WARN_ON_ONCE(niov > ARRAY_SIZE(cmd->iov_misc)); in iscsit_handle_nop_out()
1927 rx_got = rx_data(conn, &cmd->iov_misc[0], niov, rx_size); in iscsit_handle_nop_out()
2306 int niov = 0, rx_got; in iscsit_handle_text_cmd() local
2317 iov[niov].iov_base = text_in; in iscsit_handle_text_cmd()
2318 iov[niov++].iov_len = rx_size; in iscsit_handle_text_cmd()
2325 iov[niov].iov_base = &checksum; in iscsit_handle_text_cmd()
2326 iov[niov++].iov_len = ISCSI_CRC_LEN; in iscsit_handle_text_cmd()
2330 WARN_ON_ONCE(niov > ARRAY_SIZE(iov)); in iscsit_handle_text_cmd()
2331 rx_got = rx_data(conn, &iov[0], niov, rx_size); in iscsit_handle_text_cmd()