Searched refs:iov_max (Results 1 – 2 of 2) sorted by relevance
65 static int iov_max = -1; variable77 if (iov_max == -1) { in Java_sun_nio_ch_DatagramDispatcher_readv0()78 iov_max = sysconf(_SC_IOV_MAX); in Java_sun_nio_ch_DatagramDispatcher_readv0()80 if (len > iov_max) { in Java_sun_nio_ch_DatagramDispatcher_readv0()81 len = iov_max; in Java_sun_nio_ch_DatagramDispatcher_readv0()121 if (iov_max == -1) { in Java_sun_nio_ch_DatagramDispatcher_writev0()122 iov_max = sysconf(_SC_IOV_MAX); in Java_sun_nio_ch_DatagramDispatcher_writev0()125 if (len > iov_max) { in Java_sun_nio_ch_DatagramDispatcher_writev0()126 len = iov_max; in Java_sun_nio_ch_DatagramDispatcher_writev0()
147 jlong iov_max = sysconf(_SC_IOV_MAX); in IOUtil_iovMax() local148 if (iov_max == -1) in IOUtil_iovMax()149 iov_max = 16; in IOUtil_iovMax()150 return (jint)iov_max; in IOUtil_iovMax()