Lines Matching refs:iovcnt
167 u_int iovcnt, size_t len) in nvmf_tcp_write_pdu_iov() argument
172 nwritten = writev(qp->s, iov, iovcnt); in nvmf_tcp_write_pdu_iov()
182 iovcnt--; in nvmf_tcp_write_pdu_iov()
428 u_int iovcnt; in nvmf_tcp_construct_pdu() local
458 iovcnt = 1; in nvmf_tcp_construct_pdu()
463 iov[iovcnt].iov_base = &header_digest; in nvmf_tcp_construct_pdu()
464 iov[iovcnt].iov_len = sizeof(header_digest); in nvmf_tcp_construct_pdu()
465 iovcnt++; in nvmf_tcp_construct_pdu()
470 iov[iovcnt].iov_base = __DECONST(char *, zero_padding); in nvmf_tcp_construct_pdu()
471 iov[iovcnt].iov_len = pad; in nvmf_tcp_construct_pdu()
472 iovcnt++; in nvmf_tcp_construct_pdu()
477 iov[iovcnt].iov_base = data; in nvmf_tcp_construct_pdu()
478 iov[iovcnt].iov_len = data_len; in nvmf_tcp_construct_pdu()
479 iovcnt++; in nvmf_tcp_construct_pdu()
484 iov[iovcnt].iov_base = &data_digest; in nvmf_tcp_construct_pdu()
485 iov[iovcnt].iov_len = sizeof(data_digest); in nvmf_tcp_construct_pdu()
486 iovcnt++; in nvmf_tcp_construct_pdu()
490 return (nvmf_tcp_write_pdu_iov(qp, iov, iovcnt, plen)); in nvmf_tcp_construct_pdu()