Home
last modified time | relevance | path

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

/third_party/libuv/src/unix/
Dcore.c225 int iovmax; in uv__getiovmax()
227 iovmax = uv__load_relaxed(&iovmax_cached); in uv__getiovmax()
228 if (iovmax != -1) in uv__getiovmax()
229 return iovmax; in uv__getiovmax()
235 iovmax = sysconf(_SC_IOV_MAX); in uv__getiovmax()
236 if (iovmax == -1) in uv__getiovmax()
237 iovmax = 1; in uv__getiovmax()
239 uv__store_relaxed(&iovmax_cached, iovmax); in uv__getiovmax()
241 return iovmax; in uv__getiovmax()
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()
1651 unsigned int iovmax; in uv__fs_write_all() local
1657 iovmax = uv__getiovmax(); in uv__fs_write_all()
1664 if (req->nbufs > iovmax) in uv__fs_write_all()
1665 req->nbufs = iovmax; in uv__fs_write_all()
Dstream.c793 int iovmax; in uv__try_write() local
804 iovmax = uv__getiovmax(); in uv__try_write()
807 if (iovcnt > iovmax) in uv__try_write()
808 iovcnt = iovmax; in uv__try_write()
/third_party/libuv/test/
Dtest-fs.c134 static int iovmax = -1; in uv_test_getiovmax()
135 if (iovmax == -1) { in uv_test_getiovmax()
136 iovmax = sysconf(_SC_IOV_MAX); in uv_test_getiovmax()
141 if (iovmax == -1) iovmax = 1; in uv_test_getiovmax()
143 return iovmax; in uv_test_getiovmax()
3174 size_t iovmax; in fs_write_alotof_bufs() local
3189 iovmax = uv_test_getiovmax(); in fs_write_alotof_bufs()
3235 if (iovcount > iovmax) in fs_write_alotof_bufs()
3236 iovcount = iovmax; in fs_write_alotof_bufs()
3281 size_t iovmax; in fs_write_alotof_bufs_with_offset() local
[all …]