Home
last modified time | relevance | path

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

/netbsd-src/external/mit/libuv/dist/src/unix/
H A Dcore.c236 int iovmax; in uv__getiovmax()
238 iovmax = uv__load_relaxed(&iovmax_cached); in uv__getiovmax()
239 if (iovmax != -1) in uv__getiovmax()
240 return iovmax; in uv__getiovmax()
246 iovmax = sysconf(_SC_IOV_MAX); in uv__getiovmax()
247 if (iovmax == -1) in uv__getiovmax()
248 iovmax = 1; in uv__getiovmax()
250 uv__store_relaxed(&iovmax_cached, iovmax); in uv__getiovmax()
252 return iovmax; in uv__getiovmax()
H A Dfs.c464 unsigned int iovmax; in uv__fs_read() local
467 iovmax = uv__getiovmax(); in uv__fs_read()
468 if (req->nbufs > iovmax) in uv__fs_read()
469 req->nbufs = iovmax; in uv__fs_read()
1652 unsigned int iovmax; in uv__fs_write_all() local
1658 iovmax = uv__getiovmax(); in uv__fs_write_all()
1665 if (req->nbufs > iovmax) in uv__fs_write_all()
1666 req->nbufs = iovmax; in uv__fs_write_all()
H A Dstream.c791 int iovmax; in uv__try_write() local
802 iovmax = uv__getiovmax(); in uv__try_write()
805 if (iovcnt > iovmax) in uv__try_write()
806 iovcnt = iovmax; in uv__try_write()
/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-fs.c137 static int iovmax = -1; in uv_test_getiovmax()
138 if (iovmax == -1) { in uv_test_getiovmax()
139 iovmax = sysconf(_SC_IOV_MAX); in uv_test_getiovmax()
144 if (iovmax == -1) iovmax = 1; in uv_test_getiovmax()
146 return iovmax; in uv_test_getiovmax()
3321 size_t iovmax; in fs_write_alotof_bufs() local
3336 iovmax = uv_test_getiovmax(); in fs_write_alotof_bufs()
3382 if (iovcount > iovmax) in fs_write_alotof_bufs()
3383 iovcount = iovmax; in fs_write_alotof_bufs()
3428 size_t iovmax; in fs_write_alotof_bufs_with_offset() local
[all …]