Searched refs:iovcnt (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dreadv.c43 readv(int fd, struct iovec *iov, int iovcnt) argument
45 return (bc_readv(fd, iov, iovcnt));
49 bc_readv(int fd, struct iovec *iov, int iovcnt) argument
56 for (i = 0; i < iovcnt; i++) {
82 return (_readv(fd, iov, iovcnt));
H A Dwritev.c42 writev(int fd, struct iovec *iov, int iovcnt) argument
44 return (bc_writev(fd, iov, iovcnt));
48 bc_writev(int fd, struct iovec *iov, int iovcnt) argument
56 for (i = 0; i < iovcnt; i++) {
84 return (_writev(fd, iov, iovcnt));
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dreadv.c44 readv(int fd, struct iovec *iov, int iovcnt) argument
46 return (bc_readv(fd, iov, iovcnt));
50 bc_readv(int fd, struct iovec *iov, int iovcnt) argument
57 for (i = 0; i < iovcnt; i++) {
86 if ((ret = _readv(fd, iov, iovcnt)) == -1) {
H A Dwritev.c45 writev(int fd, struct iovec *iov, int iovcnt) argument
47 return (bc_writev(fd, iov, iovcnt));
51 bc_writev(int fd, struct iovec *iov, int iovcnt) argument
59 for (i = 0; i < iovcnt; i++) {
89 if ((ret = _writev(fd, iov, iovcnt)) == -1) {
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dcomm.c231 ** iovcnt -- number of elements in io vector
241 retry_writev(fd, iov, iovcnt, timeout)
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
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dmove.c127 int iovcnt; local
130 iovcnt = uio->uio_iovcnt;
132 while ((n > 0) && (iovcnt > 0)) {
137 iovcnt--;
177 iovcnt--;
191 int iovcnt; local
193 iovcnt = uio->uio_iovcnt;
196 for (iov = uio->uio_iov; n && iovcnt; iov++, iovcnt--) {
586 int32_t iovcnt local
711 int32_t iovcnt = uiop->uio_iovcnt; local
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Drw.c613 * XXX -- iovcnt > 16 (yes, it's hard-coded in the SVVS source),
619 readv(int fdes, struct iovec *iovp, int iovcnt) argument
633 if (iovcnt <= 0 || iovcnt > DEF_IOV_MAX)
646 if (copyin(iovp, aiov32, iovcnt * sizeof (struct iovec32)))
650 for (i = 0; i < iovcnt; i++) {
661 if (copyin(iovp, aiov, iovcnt * sizeof (struct iovec)))
665 for (i = 0; i < iovcnt; i++) {
732 auio.uio_iovcnt = iovcnt;
777 writev(int fdes, struct iovec *iovp, int iovcnt) argument
926 preadv(int fdes, struct iovec *iovp, int iovcnt, off_t offset, off_t extended_offset) argument
1108 pwritev(int fdes, struct iovec *iovp, int iovcnt, off_t offset, off_t extended_offset) argument
1623 readv32(int32_t fdes, caddr32_t iovp, int32_t iovcnt) argument
1629 writev32(int32_t fdes, caddr32_t iovp, int32_t iovcnt) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_heap.c79 heap->iovcnt = NDR_HEAP_MAXIOV;
137 if ((heap->iovcnt == 0) || ((--heap->iovcnt) == 0))
291 count = (heap->iovcnt == 0) ? 0 : (heap->iovcnt - 1);
H A Dlibmlrpc.h362 int iovcnt; member in struct:ndr_heap
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dcheckpw.c349 * Keep calling the writev() system call with 'fd', 'iov', and 'iovcnt'
352 static int retry_writev(int fd, struct iovec *iov, int iovcnt) argument
370 while (iovcnt && iov[0].iov_len == 0) {
372 iovcnt--;
375 if (!iovcnt) return written;
377 n = writev(fd, iov, iovcnt > iov_max ? iov_max : iovcnt);
389 for (i = 0; i < iovcnt; i++) {
399 if (i == iovcnt) return written;
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dscalls.c916 preadv64(int fildes, const struct iovec *iov, int iovcnt, off64_t offset) argument
922 PERFORM(__preadv64(fildes, iov, iovcnt, offset & 0xffffffffULL,
928 preadv(int fildes, const struct iovec *iov, int iovcnt, off_t offset) argument
934 PERFORM(__preadv(fildes, iov, iovcnt, offset, 0))
956 pwritev64(int fildes, const struct iovec *iov, int iovcnt, off64_t offset) argument
963 PERFORM(__pwritev64(fildes, iov, iovcnt, offset &
970 pwritev(int fildes, const struct iovec *iov, int iovcnt, off_t offset) argument
975 PERFORM(__pwritev(fildes, iov, iovcnt, offset, 0))
979 readv(int fildes, const struct iovec *iov, int iovcnt) argument
984 PERFORM(__readv(fildes, iov, iovcnt))
1167 writev(int fildes, const struct iovec *iov, int iovcnt) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c1030 int iovcnt; local
1072 iovcnt = lmsg.msg_iovlen;
1074 if (iovcnt <= 0 || iovcnt > MSG_MAXIOVLEN) {
1088 iovcnt * sizeof (struct iovec32)))
1092 for (i = 0; i < iovcnt; i++) {
1105 if (copyin(lmsg.msg_iov, aiov, iovcnt * sizeof (struct iovec))) {
1109 for (i = 0; i < iovcnt; i++) {
1118 auio.uio_iovcnt = iovcnt;
1271 int iovcnt; local
[all...]
H A Dsocksubr.c1887 int iovcnt = 0; local
1896 iovcnt = 1;
1902 auio.uio_iovcnt = iovcnt;
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_srv.c929 int iovcnt; local
1055 iovcnt = 0;
1057 iovcnt++;
1058 if (iovcnt <= MAX_IOVECS) {
1067 iovp = kmem_alloc(sizeof (*iovp) * iovcnt, KM_SLEEP);
1069 mblk_to_iov(wa->wa_mblk, iovcnt, iovp);
1071 uio.uio_iovcnt = iovcnt;
1099 kmem_free(iovp, sizeof (*iovp) * iovcnt);
1183 int iovcnt; local
1491 iovcnt
[all...]
H A Dnfs3_srv.c924 int iovcnt; local
1125 mp = rfs_read_alloc(args->count, &iovp, &iovcnt);
1127 uio.uio_iovcnt = iovcnt;
1201 kmem_free(iovp, iovcnt * sizeof (struct iovec));
1225 kmem_free(iovp, iovcnt * sizeof (struct iovec));
1269 int iovcnt; local
1378 iovcnt = 0;
1380 iovcnt++;
1381 if (iovcnt <= MAX_IOVECS) {
1390 iovp = kmem_alloc(sizeof (*iovp) * iovcnt, KM_SLEE
[all...]
H A Dnfs_server.c3373 rfs_read_alloc(uint_t len, struct iovec **iov, int *iovcnt) argument
3381 *iovcnt = howmany(len, kmem_max_cached);
3383 iovarr = kmem_alloc(*iovcnt * sizeof (struct iovec), KM_SLEEP);
3386 for (i = 0; i < *iovcnt; remain -= mpsize, i++) {
H A Dnfs4_srv.c3142 int iovcnt; local
3307 mp = rfs_read_alloc(args->count, &iovp, &iovcnt);
3311 uio.uio_iovcnt = iovcnt;
3370 kmem_free(iovp, iovcnt * sizeof (struct iovec));
5555 int iovcnt; local
5644 iovcnt = 0;
5650 iovcnt++;
5663 if (iovcnt <= MAX_IOVECS) {
5666 iovp = kmem_alloc(sizeof (*iovp) * iovcnt, KM_SLEEP);
5668 mblk_to_iov(args->mblk, iovcnt, iov
[all...]
/illumos-gate/usr/src/lib/libldap5/include/ldap/
H A Dsolaris-int.h102 const ldap_x_iovec iov[], int iovcnt, struct lextiof_socket_private *socketarg);
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_scsi.c727 int ret, i, iovcnt, flags; local
733 iovcnt = dbuf->db_sglist_length;
735 if (iovcnt > 8) {
736 iov = kmem_alloc(iovcnt * sizeof (*iov), KM_SLEEP);
745 for (i = 0; i < iovcnt; i++) {
754 kmem_free(iov, iovcnt * sizeof (*iov));
759 uio.uio_iovcnt = iovcnt;
795 kmem_free(iov, iovcnt * sizeof (*iov));
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vnops.c671 int iovcnt = uio->uio_iovcnt; local
809 ASSERT(i_iov < iovcnt);

Completed in 138 milliseconds