Lines Matching refs:iovcnt
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()
808 for (i = 0; i < iovcnt; i++) { in writev()
819 if (copyin(iovp, aiov, iovcnt * sizeof (struct iovec))) in writev()
823 for (i = 0; i < iovcnt; i++) { in writev()
889 auio.uio_iovcnt = iovcnt; in writev()
926 preadv(int fdes, struct iovec *iovp, int iovcnt, off_t offset, in preadv() argument
955 if (iovcnt <= 0 || iovcnt > DEF_IOV_MAX) in preadv()
968 if (copyin(iovp, aiov32, iovcnt * sizeof (struct iovec32))) in preadv()
972 for (i = 0; i < iovcnt; i++) { in preadv()
983 if (copyin(iovp, aiov, iovcnt * sizeof (struct iovec))) in preadv()
987 for (i = 0; i < iovcnt; i++) { in preadv()
1074 auio.uio_iovcnt = iovcnt; in preadv()
1108 pwritev(int fdes, struct iovec *iovp, int iovcnt, off_t offset, in pwritev() argument
1137 if (iovcnt <= 0 || iovcnt > DEF_IOV_MAX) in pwritev()
1150 if (copyin(iovp, aiov32, iovcnt * sizeof (struct iovec32))) in pwritev()
1154 for (i = 0; i < iovcnt; i++) { in pwritev()
1165 if (copyin(iovp, aiov, iovcnt * sizeof (struct iovec))) in pwritev()
1169 for (i = 0; i < iovcnt; i++) { in pwritev()
1287 auio.uio_iovcnt = iovcnt; in pwritev()
1623 readv32(int32_t fdes, caddr32_t iovp, int32_t iovcnt) in readv32() argument
1625 return (readv(fdes, (void *)(uintptr_t)iovp, iovcnt)); in readv32()
1629 writev32(int32_t fdes, caddr32_t iovp, int32_t iovcnt) in writev32() argument
1631 return (writev(fdes, (void *)(uintptr_t)iovp, iovcnt)); in writev32()