Searched refs:iov_max (Results 1 – 10 of 10) sorted by relevance
115 long iov_max, vm_page_size; /* round_page wants vm_page_size variable */ in ATF_TC_BODY() local119 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()
620 size_t iov_max, i; in sockin_send() local631 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()
711 static size_t iov_max = GOLD_IOV_MAX; in read_multiple() local724 if (j - i >= File_read::max_readv_entries || j - i >= iov_max / 2) in read_multiple()
8395 (File_read::read_multiple): Limit number of entries by iov_max.
718 static size_t iov_max = GOLD_IOV_MAX; in read_multiple() local731 if (j - i >= File_read::max_readv_entries || j - i >= iov_max / 2) in read_multiple()
708 static size_t iov_max = GOLD_IOV_MAX; in read_multiple() local721 if (j - i >= File_read::max_readv_entries || j - i >= iov_max / 2) in read_multiple()