Lines Matching refs:iovcnt
169 u_int iovcnt, size_t len) in nvmf_tcp_write_pdu_iov() argument
174 nwritten = writev(qp->s, iov, iovcnt); in nvmf_tcp_write_pdu_iov()
184 iovcnt--; in nvmf_tcp_write_pdu_iov()
430 u_int iovcnt; in nvmf_tcp_construct_pdu() local
460 iovcnt = 1; in nvmf_tcp_construct_pdu()
465 iov[iovcnt].iov_base = &header_digest; in nvmf_tcp_construct_pdu()
466 iov[iovcnt].iov_len = sizeof(header_digest); in nvmf_tcp_construct_pdu()
467 iovcnt++; in nvmf_tcp_construct_pdu()
472 iov[iovcnt].iov_base = __DECONST(char *, zero_padding); in nvmf_tcp_construct_pdu()
473 iov[iovcnt].iov_len = pad; in nvmf_tcp_construct_pdu()
474 iovcnt++; in nvmf_tcp_construct_pdu()
479 iov[iovcnt].iov_base = data; in nvmf_tcp_construct_pdu()
480 iov[iovcnt].iov_len = data_len; in nvmf_tcp_construct_pdu()
481 iovcnt++; in nvmf_tcp_construct_pdu()
486 iov[iovcnt].iov_base = &data_digest; in nvmf_tcp_construct_pdu()
487 iov[iovcnt].iov_len = sizeof(data_digest); in nvmf_tcp_construct_pdu()
488 iovcnt++; in nvmf_tcp_construct_pdu()
492 return (nvmf_tcp_write_pdu_iov(qp, iov, iovcnt, plen)); in nvmf_tcp_construct_pdu()