/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | atomicio.c | 73 const struct iovec *_iov, int iovcnt) in atomiciov() argument 79 if (iovcnt > IOV_MAX) { in atomiciov() 84 memcpy(iov, _iov, iovcnt * sizeof(*_iov)); in atomiciov() 86 for (; iovcnt > 0 && iov[0].iov_len > 0;) { in atomiciov() 87 res = (f) (fd, iov, iovcnt); in atomiciov() 100 while (iovcnt > 0 && rem >= iov[0].iov_len) { in atomiciov() 103 iovcnt--; in atomiciov() 106 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len)) { in atomiciov() 110 if (iovcnt == 0) in atomiciov()
|
/titanic_41/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 …]
|
/titanic_41/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | readv.c | 43 readv(int fd, struct iovec *iov, int iovcnt) in readv() argument 45 return (bc_readv(fd, iov, iovcnt)); in readv() 49 bc_readv(int fd, struct iovec *iov, int iovcnt) in bc_readv() argument 56 for (i = 0; i < iovcnt; i++) { in bc_readv() 82 return (_readv(fd, iov, iovcnt)); in bc_readv()
|
H A D | writev.c | 42 writev(int fd, struct iovec *iov, int iovcnt) in writev() argument 44 return (bc_writev(fd, iov, iovcnt)); in writev() 48 bc_writev(int fd, struct iovec *iov, int iovcnt) in bc_writev() argument 56 for (i = 0; i < iovcnt; i++) { in bc_writev() 84 return (_writev(fd, iov, iovcnt)); in bc_writev()
|
/titanic_41/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | readv.c | 44 readv(int fd, struct iovec *iov, int iovcnt) in readv() argument 46 return (bc_readv(fd, iov, iovcnt)); in readv() 50 bc_readv(int fd, struct iovec *iov, int iovcnt) in bc_readv() argument 57 for (i = 0; i < iovcnt; i++) { in bc_readv() 86 if ((ret = _readv(fd, iov, iovcnt)) == -1) { in bc_readv()
|
H A D | writev.c | 45 writev(int fd, struct iovec *iov, int iovcnt) in writev() argument 47 return (bc_writev(fd, iov, iovcnt)); in writev() 51 bc_writev(int fd, struct iovec *iov, int iovcnt) in bc_writev() argument 59 for (i = 0; i < iovcnt; i++) { in bc_writev() 89 if ((ret = _writev(fd, iov, iovcnt)) == -1) { in bc_writev()
|
/titanic_41/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 …]
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | rw.c | 619 readv(int fdes, struct iovec *iovp, int iovcnt) in readv() argument 633 if (iovcnt <= 0 || iovcnt > DEF_IOV_MAX) in readv() 646 if (copyin(iovp, aiov32, iovcnt * sizeof (struct iovec32))) in readv() 650 for (i = 0; i < iovcnt; i++) { in readv() 661 if (copyin(iovp, aiov, iovcnt * sizeof (struct iovec))) in readv() 665 for (i = 0; i < iovcnt; i++) { in readv() 732 auio.uio_iovcnt = iovcnt; in readv() 777 writev(int fdes, struct iovec *iovp, int iovcnt) in writev() argument 791 if (iovcnt <= 0 || iovcnt > DEF_IOV_MAX) in writev() 804 if (copyin(iovp, aiov32, iovcnt * sizeof (struct iovec32))) in writev() [all …]
|
/titanic_41/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_heap.c | 79 heap->iovcnt = NDR_HEAP_MAXIOV; in ndr_heap_create() 137 if ((heap->iovcnt == 0) || ((--heap->iovcnt) == 0)) in ndr_heap_malloc() 291 count = (heap->iovcnt == 0) ? 0 : (heap->iovcnt - 1); in ndr_heap_avail()
|
H A D | libmlrpc.h | 362 int iovcnt; member
|
/titanic_41/usr/src/lib/libsasl/lib/ |
H A D | checkpw.c | 352 static int retry_writev(int fd, struct iovec *iov, int iovcnt) in retry_writev() argument 370 while (iovcnt && iov[0].iov_len == 0) { in retry_writev() 372 iovcnt--; in retry_writev() 375 if (!iovcnt) return written; in retry_writev() 377 n = writev(fd, iov, iovcnt > iov_max ? iov_max : iovcnt); in retry_writev() 389 for (i = 0; i < iovcnt; i++) { in retry_writev() 399 if (i == iovcnt) return written; in retry_writev()
|
/titanic_41/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 916 preadv64(int fildes, const struct iovec *iov, int iovcnt, off64_t offset) in preadv64() argument 922 PERFORM(__preadv64(fildes, iov, iovcnt, offset & 0xffffffffULL, in preadv64() 928 preadv(int fildes, const struct iovec *iov, int iovcnt, off_t offset) in preadv() argument 934 PERFORM(__preadv(fildes, iov, iovcnt, offset, 0)) in preadv() 956 pwritev64(int fildes, const struct iovec *iov, int iovcnt, off64_t offset) in pwritev64() argument 963 PERFORM(__pwritev64(fildes, iov, iovcnt, offset & in pwritev64() 970 pwritev(int fildes, const struct iovec *iov, int iovcnt, off_t offset) in pwritev() argument 975 PERFORM(__pwritev(fildes, iov, iovcnt, offset, 0)) in pwritev() 979 readv(int fildes, const struct iovec *iov, int iovcnt) in readv() argument 984 PERFORM(__readv(fildes, iov, iovcnt)) in readv() [all …]
|
/titanic_41/usr/src/uts/common/fs/sockfs/ |
H A D | socksyscalls.c | 1025 int iovcnt; in recvmsg() local 1067 iovcnt = lmsg.msg_iovlen; in recvmsg() 1069 if (iovcnt <= 0 || iovcnt > MSG_MAXIOVLEN) { in recvmsg() 1083 iovcnt * sizeof (struct iovec32))) in recvmsg() 1087 for (i = 0; i < iovcnt; i++) { in recvmsg() 1100 if (copyin(lmsg.msg_iov, aiov, iovcnt * sizeof (struct iovec))) { in recvmsg() 1104 for (i = 0; i < iovcnt; i++) { in recvmsg() 1113 auio.uio_iovcnt = iovcnt; in recvmsg() 1266 int iovcnt; in sendmsg() local 1308 iovcnt = lmsg.msg_iovlen; in sendmsg() [all …]
|
H A D | socksubr.c | 1887 int iovcnt = 0; in soreadfile() local 1896 iovcnt = 1; in soreadfile() 1902 auio.uio_iovcnt = iovcnt; in soreadfile()
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_srv.c | 929 int iovcnt; in rfs_write_sync() local 1055 iovcnt = 0; in rfs_write_sync() 1057 iovcnt++; in rfs_write_sync() 1058 if (iovcnt <= MAX_IOVECS) { in rfs_write_sync() 1067 iovp = kmem_alloc(sizeof (*iovp) * iovcnt, KM_SLEEP); in rfs_write_sync() 1069 mblk_to_iov(wa->wa_mblk, iovcnt, iovp); in rfs_write_sync() 1071 uio.uio_iovcnt = iovcnt; in rfs_write_sync() 1099 kmem_free(iovp, sizeof (*iovp) * iovcnt); in rfs_write_sync() 1183 int iovcnt; in rfs_write() local 1491 iovcnt = 0; in rfs_write() [all …]
|
H A D | nfs3_srv.c | 924 int iovcnt; in rfs3_read() local 1125 mp = rfs_read_alloc(args->count, &iovp, &iovcnt); in rfs3_read() 1127 uio.uio_iovcnt = iovcnt; in rfs3_read() 1201 kmem_free(iovp, iovcnt * sizeof (struct iovec)); in rfs3_read() 1225 kmem_free(iovp, iovcnt * sizeof (struct iovec)); in rfs3_read() 1269 int iovcnt; in rfs3_write() local 1378 iovcnt = 0; in rfs3_write() 1380 iovcnt++; in rfs3_write() 1381 if (iovcnt <= MAX_IOVECS) { in rfs3_write() 1390 iovp = kmem_alloc(sizeof (*iovp) * iovcnt, KM_SLEEP); in rfs3_write() [all …]
|
H A D | nfs_server.c | 3387 rfs_read_alloc(uint_t len, struct iovec **iov, int *iovcnt) in rfs_read_alloc() argument 3395 *iovcnt = howmany(len, kmem_max_cached); in rfs_read_alloc() 3397 iovarr = kmem_alloc(*iovcnt * sizeof (struct iovec), KM_SLEEP); in rfs_read_alloc() 3400 for (i = 0; i < *iovcnt; remain -= mpsize, i++) { in rfs_read_alloc()
|
H A D | nfs4_srv.c | 3160 int iovcnt; in rfs4_op_read() local 3331 mp = rfs_read_alloc(args->count, &iovp, &iovcnt); in rfs4_op_read() 3335 uio.uio_iovcnt = iovcnt; in rfs4_op_read() 3394 kmem_free(iovp, iovcnt * sizeof (struct iovec)); in rfs4_op_read() 5616 int iovcnt; in rfs4_op_write() local 5705 iovcnt = 0; in rfs4_op_write() 5711 iovcnt++; in rfs4_op_write() 5724 if (iovcnt <= MAX_IOVECS) { in rfs4_op_write() 5727 iovp = kmem_alloc(sizeof (*iovp) * iovcnt, KM_SLEEP); in rfs4_op_write() 5729 mblk_to_iov(args->mblk, iovcnt, iovp); in rfs4_op_write() [all …]
|
/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_scsi.c | 727 int ret, i, iovcnt, flags; in sbd_copy_rdwr() local 733 iovcnt = dbuf->db_sglist_length; in sbd_copy_rdwr() 735 if (iovcnt > 8) { in sbd_copy_rdwr() 736 iov = kmem_alloc(iovcnt * sizeof (*iov), KM_SLEEP); in sbd_copy_rdwr() 745 for (i = 0; i < iovcnt; i++) { in sbd_copy_rdwr() 754 kmem_free(iov, iovcnt * sizeof (*iov)); in sbd_copy_rdwr() 759 uio.uio_iovcnt = iovcnt; in sbd_copy_rdwr() 795 kmem_free(iov, iovcnt * sizeof (*iov)); in sbd_copy_rdwr()
|
/titanic_41/usr/src/lib/libldap5/include/ldap/ |
H A D | solaris-int.h | 102 const ldap_x_iovec iov[], int iovcnt, struct lextiof_socket_private *socketarg);
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | zfs_vnops.c | 680 int iovcnt = uio->uio_iovcnt; in zfs_write() local 835 ASSERT(i_iov < iovcnt); in zfs_write()
|