Lines Matching refs:iovcnt
117 syscallarg(int) iovcnt;
132 SCARG(uap, iovcnt), &fp->f_offset, FOF_UPDATE_OFFSET, retval);
137 dofilereadv32(int fd, struct file *fp, struct netbsd32_iovec *iovp, int iovcnt, off_t *offset, int flags, register_t *retval)
148 /* note: can't use iovlen until iovcnt is validated */
149 iovlen = iovcnt * sizeof(struct iovec);
150 if ((u_int)iovcnt > UIO_SMALLIOV) {
151 if ((u_int)iovcnt > IOV_MAX) {
157 } else if ((u_int)iovcnt > 0) {
166 auio.uio_iovcnt = iovcnt;
169 error = netbsd32_to_iovecin(iovp, iov, iovcnt);
173 for (i = 0; i < iovcnt; i++) {
224 syscallarg(int) iovcnt;
239 SCARG(uap, iovcnt), &fp->f_offset, FOF_UPDATE_OFFSET, retval);
243 dofilewritev32(int fd, struct file *fp, struct netbsd32_iovec *iovp, int iovcnt, off_t *offset, int flags, register_t *retval)
254 /* note: can't use iovlen until iovcnt is validated */
255 iovlen = iovcnt * sizeof(struct iovec);
256 if ((u_int)iovcnt > UIO_SMALLIOV) {
257 if ((u_int)iovcnt > IOV_MAX) {
263 } else if ((u_int)iovcnt > 0) {
272 auio.uio_iovcnt = iovcnt;
275 error = netbsd32_to_iovecin(iovp, iov, iovcnt);
279 for (i = 0; i < iovcnt; i++) {
647 syscallarg(int) iovcnt;
674 SCARG(uap, iovcnt), &offset, 0, retval);
687 syscallarg(int) iovcnt;
714 SCARG(uap, iovcnt), &offset, 0, retval);