Home
last modified time | relevance | path

Searched refs:iov_max (Results 1 – 10 of 10) sorted by relevance

/netbsd/tests/net/bpf/
H A Dt_bpf.c115 long iov_max, vm_page_size; /* round_page wants vm_page_size variable */ in ATF_TC_BODY() local
119 iov_max = sysconf(_SC_IOV_MAX); in ATF_TC_BODY()
121 ATF_REQUIRE(iov_max > 1 && vm_page_size > 1); in ATF_TC_BODY()
127 iov = calloc(iov_max, sizeof(struct iovec)); in ATF_TC_BODY()
130 sz = round_page((total + (iov_max - 1)) / iov_max); in ATF_TC_BODY()
153 ATF_REQUIRE(iovlen >= 1 && iovlen <= (size_t)iov_max); in ATF_TC_BODY()
/netbsd/sys/rump/net/lib/libsockin/
H A Dsockin.c620 size_t iov_max, i; in sockin_send() local
631 iov_max = 0; in sockin_send()
633 iov_max++; in sockin_send()
636 if (iov_max <= __arraycount(iov_buf)) { in sockin_send()
639 iov = kmem_alloc(sizeof(struct iovec) * iov_max, in sockin_send()
661 kmem_free(iov, sizeof(struct iovec) * iov_max); in sockin_send()
/netbsd/external/gpl3/gdb/dist/gold/
H A Dfileread.cc711 static size_t iov_max = GOLD_IOV_MAX; in read_multiple() local
724 if (j - i >= File_read::max_readv_entries || j - i >= iov_max / 2) in read_multiple()
H A DChangeLog-08158395 (File_read::read_multiple): Limit number of entries by iov_max.
/netbsd/external/gpl3/binutils/dist/gold/
H A Dfileread.cc718 static size_t iov_max = GOLD_IOV_MAX; in read_multiple() local
731 if (j - i >= File_read::max_readv_entries || j - i >= iov_max / 2) in read_multiple()
H A DChangeLog-08158395 (File_read::read_multiple): Limit number of entries by iov_max.
/netbsd/external/gpl3/binutils.old/dist/gold/
H A Dfileread.cc708 static size_t iov_max = GOLD_IOV_MAX; in read_multiple() local
721 if (j - i >= File_read::max_readv_entries || j - i >= iov_max / 2) in read_multiple()
H A DChangeLog-08158395 (File_read::read_multiple): Limit number of entries by iov_max.
/netbsd/external/gpl3/gdb.old/dist/gold/
H A Dfileread.cc711 static size_t iov_max = GOLD_IOV_MAX; in read_multiple() local
724 if (j - i >= File_read::max_readv_entries || j - i >= iov_max / 2) in read_multiple()
H A DChangeLog-08158395 (File_read::read_multiple): Limit number of entries by iov_max.