Home
last modified time | relevance | path

Searched refs:UIO_MAXIOV (Results 1 – 4 of 4) sorted by relevance

/xnu-8792.41.9/bsd/sys/
H A Duio.h246 #define UIO_MAXIOV 1024 /* max 1K of iov's */ macro
/xnu-8792.41.9/bsd/kern/
H A Dkern_subr.c714 assert(a_iovcount >= 0 && a_iovcount <= UIO_MAXIOV); in uio_init()
785 if (a_iovcount < 0 || a_iovcount > UIO_MAXIOV) { in uio_create()
822 if (a_iovcount < 0 || a_iovcount > UIO_MAXIOV) { in uio_createwithbuffer()
977 if (__improbable(a_uio->uio_max_iovs < 0 || a_uio->uio_max_iovs > UIO_MAXIOV)) { in uio_free()
1323 if (uio->uio_max_iovs < 0 || uio->uio_max_iovs > UIO_MAXIOV) { in uio_duplicate()
H A Duipc_syscalls.c888 if (uap->iovcnt <= 0 || uap->iovcnt > UIO_MAXIOV) { in connectx_nocancel()
1508 if (user_msg.msg_iovlen <= 0 || user_msg.msg_iovlen > UIO_MAXIOV) { in sendmsg_nocancel()
1611 if (uap->cnt == 0 || uap->cnt > UIO_MAXIOV) { in sendmsg_x()
2187 if (user_msg.msg_iovlen <= 0 || user_msg.msg_iovlen > UIO_MAXIOV) { in recvmsg_nocancel()
2297 if (uap->cnt == 0 || uap->cnt > UIO_MAXIOV) { in recvmsg_x()
2984 user_msg->msg_iovlen > UIO_MAXIOV) { in internalize_user_msghdr_array()
3068 user_msg->msg_iovlen > UIO_MAXIOV) { in internalize_recv_msghdr_array()
H A Dsys_generic.c451 if (iovcnt <= 0 || iovcnt > UIO_MAXIOV) { in readv_uio()
770 if (iovcnt <= 0 || iovcnt > UIO_MAXIOV || offset < 0) { in writev_uio()