/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | comm.c | 241 retry_writev(fd, iov, iovcnt, timeout) in retry_writev() argument 244 int iovcnt; 254 while (iovcnt > 0 && iov[0].iov_len == 0) 257 iovcnt--; 259 if (iovcnt <= 0) 280 n = writev(fd, iov, iovcnt); 289 for (i = 0; i < iovcnt; i++) 300 if (i == iovcnt) 330 int iovcnt; local 345 iovcnt = 1; [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | move.c | 127 int iovcnt; in uio_prefaultpages() local 130 iovcnt = uio->uio_iovcnt; in uio_prefaultpages() 132 while ((n > 0) && (iovcnt > 0)) { in uio_prefaultpages() 137 iovcnt--; in uio_prefaultpages() 177 iovcnt--; in uio_prefaultpages() 191 int iovcnt; in uiocopy() local 193 iovcnt = uio->uio_iovcnt; in uiocopy() 196 for (iov = uio->uio_iov; n && iovcnt; iov++, iovcnt--) { in uiocopy() 586 int32_t iovcnt = uiop->uio_iovcnt; in uioainit() local 619 if (iovcnt > UIOA_IOV_MAX) { in uioainit() [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | rw.c | 612 readv(int fdes, struct iovec *iovp, int iovcnt) in readv() argument 627 if (iovcnt <= 0 || iovcnt > IOV_MAX) in readv() 630 if (iovcnt > IOV_MAX_STACK) { in readv() 631 aiovlen = iovcnt * sizeof (iovec_t); in readv() 646 aiov32len = iovcnt * sizeof (iovec32_t); in readv() 659 for (i = 0; i < iovcnt; i++) { in readv() 678 if (copyin(iovp, aiov, iovcnt * sizeof (iovec_t))) { in readv() 685 for (i = 0; i < iovcnt; i++) { in readv() 758 auio.uio_iovcnt = iovcnt; in readv() 805 writev(int fdes, struct iovec *iovp, int iovcnt) in writev() argument [all …]
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | net_backends.c | 157 tap_send(struct net_backend *be, const struct iovec *iov, int iovcnt) in tap_send() argument 159 return (writev(be->fd, iov, iovcnt)); in tap_send() 193 tap_recv(struct net_backend *be, const struct iovec *iov, int iovcnt) in tap_recv() argument 204 iov, iovcnt, 0); in tap_recv() 212 ret = readv(be->fd, iov, iovcnt); in tap_recv() 455 netbe_send(struct net_backend *be, const struct iovec *iov, int iovcnt) in netbe_send() argument 458 return (be->send(be, iov, iovcnt)); in netbe_send() 474 netbe_recv(struct net_backend *be, const struct iovec *iov, int iovcnt) in netbe_recv() argument 477 return (be->recv(be, iov, iovcnt)); in netbe_recv()
|
H A D | net_backend_dlpi.c | 181 be_dlpi_send(net_backend_t *be, const struct iovec *iov, int iovcnt) in be_dlpi_send() argument 187 if (iovcnt == 1) { in be_dlpi_send() 194 len = iov_to_buf(iov, iovcnt, &buf); in be_dlpi_send() 253 be_dlpi_recv(net_backend_t *be, const struct iovec *iov, int iovcnt) in be_dlpi_recv() argument 265 iov, iovcnt, 0); in be_dlpi_recv()
|
H A D | pci_e82545.c | 992 e82545_iov_checksum(struct iovec *iov, int iovcnt, unsigned int off, in e82545_iov_checksum() argument 999 while (iovcnt > 0 && iov->iov_len <= off && off > 0) { in e82545_iov_checksum() 1002 iovcnt--; in e82545_iov_checksum() 1007 while (len > 0 && iovcnt > 0) { in e82545_iov_checksum() 1015 iovcnt--; in e82545_iov_checksum() 1038 e82545_transmit_checksum(struct iovec *iov, int iovcnt, struct ck_info *ck) in e82545_transmit_checksum() argument 1044 iovcnt, ck->ck_start, ck->ck_off, ck->ck_len); in e82545_transmit_checksum() 1046 cksum = e82545_iov_checksum(iov, iovcnt, ck->ck_start, cklen); in e82545_transmit_checksum() 1051 e82545_transmit_backend(struct e82545_softc *sc, struct iovec *iov, int iovcnt) in e82545_transmit_backend() argument 1057 (void) netbe_send(sc->esc_be, iov, iovcnt); in e82545_transmit_backend() [all …]
|
H A D | net_backends.h | 46 ssize_t netbe_send(net_backend_t *be, const struct iovec *iov, int iovcnt); 48 ssize_t netbe_recv(net_backend_t *be, const struct iovec *iov, int iovcnt);
|
H A D | net_backends_priv.h | 56 int iovcnt); 73 int iovcnt);
|
H A D | pci_virtio_net.c | 191 iov_trim_hdr(struct iovec *iov, int *iovcnt, unsigned int hlen) in iov_trim_hdr() argument 205 *iovcnt -= 1; in iov_trim_hdr() 206 if (*iovcnt == 0) { in iov_trim_hdr()
|
/illumos-gate/usr/src/lib/libmlrpc/common/ |
H A D | ndr_heap.c | 80 heap->iovcnt = NDR_HEAP_MAXIOV; in ndr_heap_create() 138 if ((heap->iovcnt == 0) || ((--heap->iovcnt) == 0)) in ndr_heap_malloc() 312 count = (heap->iovcnt == 0) ? 0 : (heap->iovcnt - 1); in ndr_heap_avail()
|
H A D | libmlrpc.h | 393 int iovcnt; member
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | checkpw.c | 351 static int retry_writev(int fd, struct iovec *iov, int iovcnt) in retry_writev() argument 369 while (iovcnt && iov[0].iov_len == 0) { in retry_writev() 371 iovcnt--; in retry_writev() 374 if (!iovcnt) return written; in retry_writev() 376 n = writev(fd, iov, iovcnt > iov_max ? iov_max : iovcnt); in retry_writev() 388 for (i = 0; i < iovcnt; i++) { in retry_writev() 398 if (i == iovcnt) return written; in retry_writev()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 931 preadv64(int fildes, const struct iovec *iov, int iovcnt, off64_t offset) in preadv64() argument 937 PERFORM(__preadv64(fildes, iov, iovcnt, offset & 0xffffffffULL, in preadv64() 943 preadv(int fildes, const struct iovec *iov, int iovcnt, off_t offset) in preadv() argument 949 PERFORM(__preadv(fildes, iov, iovcnt, offset, 0)) in preadv() 971 pwritev64(int fildes, const struct iovec *iov, int iovcnt, off64_t offset) in pwritev64() argument 978 PERFORM(__pwritev64(fildes, iov, iovcnt, offset & in pwritev64() 985 pwritev(int fildes, const struct iovec *iov, int iovcnt, off_t offset) in pwritev() argument 990 PERFORM(__pwritev(fildes, iov, iovcnt, offset, 0)) in pwritev() 994 readv(int fildes, const struct iovec *iov, int iovcnt) in readv() argument 999 PERFORM(__readv(fildes, iov, iovcnt)) in readv() [all …]
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksyscalls.c | 1065 int iovcnt; in recvmsg() local 1107 iovcnt = lmsg.msg_iovlen; in recvmsg() 1109 if (iovcnt <= 0 || iovcnt > IOV_MAX) { in recvmsg() 1113 if (iovcnt > IOV_MAX_STACK) { in recvmsg() 1114 iovsize = iovcnt * sizeof (struct iovec); in recvmsg() 1128 iov32size = iovcnt * sizeof (struct iovec32); in recvmsg() 1142 for (i = 0; i < iovcnt; i++) { in recvmsg() 1165 if (copyin(lmsg.msg_iov, aiov, iovcnt * sizeof (struct iovec))) { in recvmsg() 1172 for (i = 0; i < iovcnt; i++) { in recvmsg() 1184 auio.uio_iovcnt = iovcnt; in recvmsg() [all …]
|
H A D | socksubr.c | 1966 int iovcnt = 0; in soreadfile() local 1975 iovcnt = 1; in soreadfile() 1981 auio.uio_iovcnt = iovcnt; in soreadfile()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_util.c | 334 int iovcnt = 0; in smb_mbuf_mkuio() local 341 if (iovcnt >= uio->uio_iovcnt) in smb_mbuf_mkuio() 350 iovcnt++; in smb_mbuf_mkuio() 353 uio->uio_iovcnt = iovcnt; in smb_mbuf_mkuio()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_srv.c | 1059 int iovcnt; in rfs_write_sync() local 1183 iovcnt = 0; in rfs_write_sync() 1185 iovcnt++; in rfs_write_sync() 1186 if (iovcnt <= MAX_IOVECS) { in rfs_write_sync() 1195 iovp = kmem_alloc(sizeof (*iovp) * iovcnt, KM_SLEEP); in rfs_write_sync() 1197 mblk_to_iov(wa->wa_mblk, iovcnt, iovp); in rfs_write_sync() 1199 uio.uio_iovcnt = iovcnt; in rfs_write_sync() 1227 kmem_free(iovp, sizeof (*iovp) * iovcnt); in rfs_write_sync() 1307 int iovcnt; in rfs_write() local 1618 iovcnt = 0; in rfs_write() [all …]
|
H A D | nfs3_srv.c | 972 int iovcnt; in rfs3_read() local 1175 mp = rfs_read_alloc(args->count, &iovp, &iovcnt); in rfs3_read() 1177 uio.uio_iovcnt = iovcnt; in rfs3_read() 1252 kmem_free(iovp, iovcnt * sizeof (struct iovec)); in rfs3_read() 1277 kmem_free(iovp, iovcnt * sizeof (struct iovec)); in rfs3_read() 1322 int iovcnt; in rfs3_write() local 1435 iovcnt = 0; in rfs3_write() 1437 iovcnt++; in rfs3_write() 1438 if (iovcnt <= MAX_IOVECS) { in rfs3_write() 1447 iovp = kmem_alloc(sizeof (*iovp) * iovcnt, KM_SLEEP); in rfs3_write() [all …]
|
H A D | nfs_server.c | 3326 rfs_read_alloc(uint_t len, struct iovec **iov, int *iovcnt) in rfs_read_alloc() argument 3334 *iovcnt = howmany(len, kmem_max_cached); in rfs_read_alloc() 3336 iovarr = kmem_alloc(*iovcnt * sizeof (struct iovec), KM_SLEEP); in rfs_read_alloc() 3339 for (i = 0; i < *iovcnt; remain -= mpsize, i++) { in rfs_read_alloc()
|
H A D | nfs4_srv.c | 3406 int iovcnt; in rfs4_op_read() local 3571 mp = rfs_read_alloc(args->count, &iovp, &iovcnt); in rfs4_op_read() 3575 uio.uio_iovcnt = iovcnt; in rfs4_op_read() 3634 kmem_free(iovp, iovcnt * sizeof (struct iovec)); in rfs4_op_read() 5778 int iovcnt; in rfs4_op_write() local 5869 iovcnt = 0; in rfs4_op_write() 5875 iovcnt++; in rfs4_op_write() 5888 if (iovcnt <= MAX_IOVECS) { in rfs4_op_write() 5891 iovp = kmem_alloc(sizeof (*iovp) * iovcnt, KM_SLEEP); in rfs4_op_write() 5893 mblk_to_iov(args->mblk, iovcnt, iovp); in rfs4_op_write() [all …]
|
/illumos-gate/usr/src/lib/libvmmapi/common/ |
H A D | vmmapi.h | 307 uint64_t gla, size_t len, int prot, struct iovec *iov, int iovcnt, 311 void vm_copy_teardown(struct iovec *iov, int iovcnt);
|
H A D | vmmapi.c | 1821 uint64_t gla, size_t len, int prot, struct iovec *iov, int iovcnt, in vm_copy_setup() argument 1828 for (i = 0; i < iovcnt; i++) { in vm_copy_setup() 1834 assert(iovcnt > 0); in vm_copy_setup() 1849 iovcnt--; in vm_copy_setup() 1858 vm_copy_teardown(struct iovec *iov __unused, int iovcnt __unused) in vm_copy_teardown()
|
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_scsi.c | 778 int ret, i, iovcnt, flags; in sbd_copy_rdwr() local 785 iovcnt = dbuf->db_sglist_length; in sbd_copy_rdwr() 787 if (iovcnt > 8) { in sbd_copy_rdwr() 788 iov = kmem_alloc(iovcnt * sizeof (*iov), KM_SLEEP); in sbd_copy_rdwr() 797 for (i = 0; i < iovcnt; i++) { in sbd_copy_rdwr() 806 kmem_free(iov, iovcnt * sizeof (*iov)); in sbd_copy_rdwr() 811 uio.uio_iovcnt = iovcnt; in sbd_copy_rdwr() 850 kmem_free(iov, iovcnt * sizeof (*iov)); in sbd_copy_rdwr()
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | solaris-int.h | 100 const ldap_x_iovec iov[], int iovcnt, struct lextiof_socket_private *socketarg);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_vnops.c | 846 int iovcnt = uio->uio_iovcnt; in zfs_write() local 992 ASSERT(i_iov < iovcnt); in zfs_write()
|