Searched refs:iovmax (Results 1 – 4 of 4) sorted by relevance
236 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()
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()1652 unsigned int iovmax; in uv__fs_write_all() local1658 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()
791 int iovmax; in uv__try_write() local802 iovmax = uv__getiovmax(); in uv__try_write()805 if (iovcnt > iovmax) in uv__try_write()806 iovcnt = iovmax; in uv__try_write()
137 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() local3336 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 …]