Lines Matching refs:niov
515 u32 niov = 0, tx_size = ISCSI_HDR_LEN; in iscsit_xmit_nondatain_pdu() local
519 iov[niov].iov_base = cmd->pdu; in iscsit_xmit_nondatain_pdu()
520 iov[niov++].iov_len = ISCSI_HDR_LEN; in iscsit_xmit_nondatain_pdu()
539 iov[niov].iov_base = (void *)data_buf; in iscsit_xmit_nondatain_pdu()
540 iov[niov++].iov_len = data_buf_len; in iscsit_xmit_nondatain_pdu()
544 iov[niov].iov_base = &cmd->pad_bytes; in iscsit_xmit_nondatain_pdu()
545 iov[niov++].iov_len = padding; in iscsit_xmit_nondatain_pdu()
558 iov[niov].iov_base = &cmd->data_crc; in iscsit_xmit_nondatain_pdu()
559 iov[niov++].iov_len = ISCSI_CRC_LEN; in iscsit_xmit_nondatain_pdu()
567 cmd->iov_misc_count = niov; in iscsit_xmit_nondatain_pdu()
1846 int niov = 0, rx_got, rx_size = payload_length; in iscsit_handle_nop_out() local
1857 iov[niov].iov_base = ping_data; in iscsit_handle_nop_out()
1858 iov[niov++].iov_len = payload_length; in iscsit_handle_nop_out()
1864 iov[niov].iov_base = &cmd->pad_bytes; in iscsit_handle_nop_out()
1865 iov[niov++].iov_len = padding; in iscsit_handle_nop_out()
1869 iov[niov].iov_base = &checksum; in iscsit_handle_nop_out()
1870 iov[niov++].iov_len = ISCSI_CRC_LEN; in iscsit_handle_nop_out()
1874 rx_got = rx_data(conn, &cmd->iov_misc[0], niov, rx_size); in iscsit_handle_nop_out()
2258 int niov = 0, rx_got; in iscsit_handle_text_cmd() local
2270 iov[niov].iov_base = text_in; in iscsit_handle_text_cmd()
2271 iov[niov++].iov_len = payload_length; in iscsit_handle_text_cmd()
2275 iov[niov].iov_base = &pad_bytes; in iscsit_handle_text_cmd()
2276 iov[niov++].iov_len = padding; in iscsit_handle_text_cmd()
2282 iov[niov].iov_base = &checksum; in iscsit_handle_text_cmd()
2283 iov[niov++].iov_len = ISCSI_CRC_LEN; in iscsit_handle_text_cmd()
2287 rx_got = rx_data(conn, &iov[0], niov, rx_size); in iscsit_handle_text_cmd()