Searched refs:iovmax (Results 1 – 4 of 4) sorted by relevance
225 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()
464 unsigned int iovmax; in uv__fs_read() local467 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() local1657 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()
793 int iovmax; in uv__try_write() local804 iovmax = uv__getiovmax(); in uv__try_write()807 if (iovcnt > iovmax) in uv__try_write()808 iovcnt = iovmax; in uv__try_write()
134 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() local3189 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 …]