Home
last modified time | relevance | path

Searched refs:iovmax (Results 1 - 7 of 7) sorted by relevance

/third_party/node/deps/uv/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()
/third_party/libuv/src/unix/
H A Dcore.c269 int iovmax; in uv__getiovmax()
271 iovmax = atomic_load_explicit(&iovmax_cached, memory_order_relaxed); in uv__getiovmax()
272 if (iovmax != -1) in uv__getiovmax()
273 return iovmax; in uv__getiovmax()
279 iovmax = sysconf(_SC_IOV_MAX); in uv__getiovmax()
280 if (iovmax == -1) in uv__getiovmax()
281 iovmax = 1; in uv__getiovmax()
283 atomic_store_explicit(&iovmax_cached, iovmax, memory_order_relaxed); in uv__getiovmax()
285 return iovmax; in uv__getiovmax()
H A Dfs.c432 unsigned int iovmax; in uv__fs_read() local
443 iovmax = uv__getiovmax(); in uv__fs_read()
444 if (nbufs > iovmax) in uv__fs_read()
445 nbufs = iovmax; in uv__fs_read()
1522 unsigned int iovmax; in uv__fs_write_all() local
1528 iovmax = uv__getiovmax(); in uv__fs_write_all()
1535 if (req->nbufs > iovmax) in uv__fs_write_all()
1536 req->nbufs = iovmax; in uv__fs_write_all()
H A Dstream.c758 int iovmax; in uv__try_write() local
769 iovmax = uv__getiovmax(); in uv__try_write()
772 if (iovcnt > iovmax) in uv__try_write()
773 iovcnt = iovmax; in uv__try_write()
/third_party/libuv/test/
H A Dtest-fs.c143 static int iovmax = -1; in uv_test_getiovmax()
144 if (iovmax == -1) { in uv_test_getiovmax()
145 iovmax = sysconf(_SC_IOV_MAX); in uv_test_getiovmax()
150 if (iovmax == -1) iovmax = 1; in uv_test_getiovmax()
152 return iovmax; in uv_test_getiovmax()
3406 size_t iovmax; in fs_write_alotof_bufs() local
3421 iovmax = uv_test_getiovmax(); in fs_write_alotof_bufs()
3467 if (iovcount > iovmax) in fs_write_alotof_bufs()
3468 iovcount = iovmax; in fs_write_alotof_bufs()
3514 size_t iovmax; fs_write_alotof_bufs_with_offset() local
[all...]

Completed in 17 milliseconds