Home
last modified time | relevance | path

Searched refs:IOV_MAX (Results 1 – 11 of 11) sorted by relevance

/glibc-2.36/sysdeps/wordsize-64/
Dtst-writev.c35 #undef IOV_MAX
36 #define IOV_MAX 1000
45 struct iovec iv[IOV_MAX]; in do_test()
47 size_t bufsz = EXPECTED / IOV_MAX; in do_test()
48 size_t bufrem = EXPECTED % IOV_MAX; in do_test()
56 bufrem = EXPECTED - (bufsz * (IOV_MAX - 1)); in do_test()
78 for (int i = 1; i < IOV_MAX; i++) in do_test()
87 iv[IOV_MAX - 1].iov_len = bufrem; in do_test()
92 ssize_t ret = writev (fd, iv, IOV_MAX); in do_test()
/glibc-2.36/misc/
Dtst-preadvwritev2-common.c41 #ifndef IOV_MAX
42 # define IOV_MAX 1024 macro
94 struct iovec iov[IOV_MAX+1] = { 0 }; in do_test_with_invalid_iov()
96 TEST_VERIFY (preadv2 (temp_fd, iov, IOV_MAX + 1, 0, RWF_HIPRI) == -1); in do_test_with_invalid_iov()
98 TEST_VERIFY (pwritev2 (temp_fd, iov, IOV_MAX + 1, 0, RWF_HIPRI) == -1); in do_test_with_invalid_iov()
/glibc-2.36/sysdeps/unix/sysv/linux/
Drecvmmsg.c66 socklen_t csize[IOV_MAX]; in __recvmmsg64()
67 if (vlen > IOV_MAX) in __recvmmsg64()
68 vlen = IOV_MAX; in __recvmmsg64()
Dtst-sysconf-iov_max.c33 TEST_VERIFY (IOV_MAX == uio_maxiov_value ()); in do_test()
Dtst-process_madvise.c120 struct iovec iv[IOV_MAX + 1]; in do_test()
/glibc-2.36/include/bits/
Dxopen_lim.h66 # define IOV_MAX __IOV_MAX macro
68 # undef IOV_MAX
/glibc-2.36/posix/
Dtst-getconf.sh51 IOV_MAX
/glibc-2.36/conform/data/
Dlimits.h-data41 allow IOV_MAX
/glibc-2.36/ChangeLog.old/
DChangeLog.106356 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
6486 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
6487 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
6488 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
DChangeLog.182819 for IOV_MAX.
2827 and __need_IOV_MAX. Don't define IOV_MAX at all.
2828 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
74071 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
DChangeLog.1912158 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not