Home
last modified time | relevance | path

Searched refs:iov_max (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/native/
DDatagramDispatcher.c65 static int iov_max = -1; variable
77 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()
DIOUtil.c147 jlong iov_max = sysconf(_SC_IOV_MAX); in IOUtil_iovMax() local
148 if (iov_max == -1) in IOUtil_iovMax()
149 iov_max = 16; in IOUtil_iovMax()
150 return (jint)iov_max; in IOUtil_iovMax()