Home
last modified time | relevance | path

Searched refs:iovlen (Results 1 – 23 of 23) sorted by relevance

/netbsd/tests/net/bpf/
H A Dt_bpf.c112 size_t iovlen, sz; in ATF_TC_BODY() local
136 iovlen = 1; in ATF_TC_BODY()
139 iov[iovlen].iov_len = iov[0].iov_len; in ATF_TC_BODY()
140 iov[iovlen].iov_base = iov[0].iov_base; in ATF_TC_BODY()
142 iovlen++; in ATF_TC_BODY()
147 iov[iovlen].iov_len = total - sz; in ATF_TC_BODY()
148 iov[iovlen].iov_base = iov[0].iov_base; in ATF_TC_BODY()
149 iovlen++; in ATF_TC_BODY()
153 ATF_REQUIRE(iovlen >= 1 && iovlen <= (size_t)iov_max); in ATF_TC_BODY()
154 ATF_REQUIRE_EQ(iov[iovlen-1].iov_len, total % iov[0].iov_len); in ATF_TC_BODY()
[all …]
/netbsd/sys/kern/
H A Dsys_generic.c193 u_int iovlen; in do_filereadv() local
237 iov = kmem_alloc(iovlen, KM_SLEEP); in do_filereadv()
240 error = copyin(iovp, iov, iovlen); in do_filereadv()
270 memcpy(ktriov, auio.uio_iov, iovlen); in do_filereadv()
284 kmem_free(ktriov, iovlen); in do_filereadv()
289 kmem_free(needfree, iovlen); in do_filereadv()
395 u_int iovlen; in do_filewritev() local
439 iov = kmem_alloc(iovlen, KM_SLEEP); in do_filewritev()
442 error = copyin(iovp, iov, iovlen); in do_filewritev()
492 kmem_free(ktriov, iovlen); in do_filewritev()
[all …]
H A Dsubr_physmap.c160 struct iovec *iov, size_t iovlen) in physmap_create_iov() argument
163 for (size_t i = 0; i < iovlen; i++) { in physmap_create_iov()
170 for (size_t i = 0; i < iovlen; i++) { in physmap_create_iov()
/netbsd/lib/librumpuser/
H A Drumpuser_file.c242 rumpuser_iovread(int fd, struct rumpuser_iovec *ruiov, size_t iovlen, in rumpuser_iovread() argument
251 KLOCK_WRAP(nn = readv(fd, iov, iovlen)); in rumpuser_iovread()
257 nn = readv(fd, iov, iovlen); in rumpuser_iovread()
275 rumpuser_iovwrite(int fd, const struct rumpuser_iovec *ruiov, size_t iovlen, in rumpuser_iovwrite() argument
284 KLOCK_WRAP(nn = writev(fd, iov, iovlen)); in rumpuser_iovwrite()
290 nn = writev(fd, iov, iovlen); in rumpuser_iovwrite()
H A Dsp_common.c308 dosend(struct spclient *spc, struct iovec *iov, size_t iovlen) in dosend() argument
331 msg.msg_iovlen = iovlen; in dosend()
345 while (iovlen && n >= (ssize_t)iov[0].iov_len) { in dosend()
348 iovlen--; in dosend()
351 if (iovlen == 0) { in dosend()
/netbsd/sys/compat/netbsd32/
H A Dnetbsd32_fs.c85 if (iovlen < 0 || iovlen > IOV_MAX) in netbsd32_get_iov()
88 if (iovlen > aiov_len) in netbsd32_get_iov()
93 n = iovlen - i; in netbsd32_get_iov()
145 u_int iovlen; in dofilereadv32() local
155 iov = kmem_alloc(iovlen, KM_SLEEP); in dofilereadv32()
206 kmem_free(ktriov, iovlen); in dofilereadv32()
212 kmem_free(needfree, iovlen); in dofilereadv32()
251 u_int iovlen; in dofilewritev32() local
261 iov = kmem_alloc(iovlen, KM_SLEEP); in dofilewritev32()
317 kmem_free(ktriov, iovlen); in dofilewritev32()
[all …]
/netbsd/external/bsd/libbind/dist/bsd/
H A Dwritev.c23 __writev(int fd, struct iovec *iov, int iovlen) in __writev() argument
40 mesg.msg_iovlen = iovlen; in __writev()
48 for (i = 0, tv = iov; i <= iovlen; tv++) { in __writev()
/netbsd/sys/rump/net/lib/libwg/
H A Dwg_user.c300 rumpuser_wg_send_user(struct wg_user *wgu, struct iovec *iov, size_t iovlen) in rumpuser_wg_send_user() argument
315 idontcare = writev(wgu->wgu_fd, iov, iovlen); in rumpuser_wg_send_user()
325 struct iovec *iov, size_t iovlen) in rumpuser_wg_send_peer() argument
337 for (i = 0; i < iovlen; i++) { in rumpuser_wg_send_peer()
/netbsd/sys/rump/net/lib/libvirtif/
H A Dvirtif_user.c239 struct iovec *iov, size_t iovlen) in VIFHYPER_SEND() argument
254 idontcare = writev(viu->viu_fd, iov, iovlen); in VIFHYPER_SEND()
H A Dif_virt.c337 VIF_DELIVERPKT(struct virtif_sc *sc, struct iovec *iov, size_t iovlen) in VIF_DELIVERPKT() argument
356 for (i = 0, off = align; i < iovlen; i++) { in VIF_DELIVERPKT()
/netbsd/external/bsd/dhcpcd/dist/src/
H A Dprivsep.c896 int iovlen; in ps_sendpsmmsg() local
920 iovlen = 4; in ps_sendpsmmsg()
923 if ((size_t)(iovlen + i) > __arraycount(iov)) { in ps_sendpsmmsg()
931 iovlen += i; in ps_sendpsmmsg()
933 iovlen = 1; in ps_sendpsmmsg()
935 len = writev(fd, iov, iovlen); in ps_sendpsmmsg()
/netbsd/share/doc/psd/05.sysman/
H A Dspell.ok298 iovlen
/netbsd/lib/librumpclient/
H A Drumpclient.c137 send_with_recon(struct spclient *spc, struct iovec *iov, size_t iovlen) in send_with_recon() argument
145 rv = dosend(spc, iov, iovlen); in send_with_recon()
/netbsd/lib/libc/net/
H A Dsctp_sys_calls.c650 int iovlen, in sctp_recvv() argument
681 msg.msg_iovlen = iovlen; in sctp_recvv()
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_common_syscalls.inc133 SIZE_T iovlen, SIZE_T maxlen) {
134 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
144 SIZE_T iovlen, SIZE_T maxlen) {
145 POST_READ(iovec, sizeof(*iovec) * iovlen);
146 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
H A Dsanitizer_common_interceptors.inc981 SIZE_T iovlen, SIZE_T maxlen) {
982 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
990 SIZE_T iovlen, SIZE_T maxlen) {
991 COMMON_INTERCEPTOR_READ_RANGE(ctx, iovec, sizeof(*iovec) * iovlen);
992 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
3053 R(iovlen);
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc135 SIZE_T iovlen, SIZE_T maxlen) {
136 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
146 SIZE_T iovlen, SIZE_T maxlen) {
147 POST_READ(iovec, sizeof(*iovec) * iovlen);
148 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
H A Dsanitizer_common_interceptors.inc954 SIZE_T iovlen, SIZE_T maxlen) {
955 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
963 SIZE_T iovlen, SIZE_T maxlen) {
964 COMMON_INTERCEPTOR_READ_RANGE(ctx, iovec, sizeof(*iovec) * iovlen);
965 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
3029 R(iovlen);
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_common_syscalls.inc133 SIZE_T iovlen, SIZE_T maxlen) {
134 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
144 SIZE_T iovlen, SIZE_T maxlen) {
145 POST_READ(iovec, sizeof(*iovec) * iovlen);
146 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
H A Dsanitizer_common_interceptors.inc981 SIZE_T iovlen, SIZE_T maxlen) {
982 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
990 SIZE_T iovlen, SIZE_T maxlen) {
991 COMMON_INTERCEPTOR_READ_RANGE(ctx, iovec, sizeof(*iovec) * iovlen);
992 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
3053 R(iovlen);
/netbsd/external/ibm-public/postfix/dist/proto/
H A Dstop.spell-cc616 iovlen
/netbsd/sys/net/
H A Dif_wg.c5012 rumpkern_wg_recv_user(struct wg_softc *wg, struct iovec *iov, size_t iovlen) in rumpkern_wg_recv_user() argument
5038 rumpkern_wg_recv_peer(struct wg_softc *wg, struct iovec *iov, size_t iovlen) in rumpkern_wg_recv_peer() argument
/netbsd/share/man/tools/
H A Dnewsp.errs1437 iovlen