Searched refs:iov (Results 276 - 300 of 302) sorted by relevance

<<111213

/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1041 INTERCEPTOR_WITH_SUFFIX(SSIZE_T, readv, int fd, __sanitizer_iovec *iov,
1044 COMMON_INTERCEPTOR_ENTER(ctx, readv, fd, iov, iovcnt);
1046 SSIZE_T res = REAL(readv)(fd, iov, iovcnt);
1047 if (res > 0) write_iovec(ctx, iov, iovcnt, res);
1057 INTERCEPTOR(SSIZE_T, preadv, int fd, __sanitizer_iovec *iov, int iovcnt,
1060 COMMON_INTERCEPTOR_ENTER(ctx, preadv, fd, iov, iovcnt, offset);
1062 SSIZE_T res = REAL(preadv)(fd, iov, iovcnt, offset);
1063 if (res > 0) write_iovec(ctx, iov, iovcnt, res);
1073 INTERCEPTOR(SSIZE_T, preadv64, int fd, __sanitizer_iovec *iov, int iovcnt,
1076 COMMON_INTERCEPTOR_ENTER(ctx, preadv64, fd, iov, iovcn
[all...]
/freebsd-current/sys/fs/cuse/
H A Dcuse.c902 struct iovec iov = { local
907 .uio_iov = &iov,
921 struct iovec iov = { local
926 .uio_iov = &iov,
/freebsd-current/sys/kern/
H A Dsys_pipe.c978 struct iovec iov; local
995 iov.iov_base = wpipe->pipe_buffer.buffer;
996 iov.iov_len = size;
997 uio.uio_iov = &iov;
H A Dvfs_aio.c1682 job->iov[0].iov_base = (void *)(uintptr_t)job->uaiocb.aio_buf;
1683 job->iov[0].iov_len = job->uaiocb.aio_nbytes;
1684 job->uio.uio_iov = job->iov;
H A Dsystrace_args.c2469 uarg[a++] = (intptr_t)p->iov; /* struct iovec * */
2482 uarg[a++] = (intptr_t)p->iov; /* struct iovec * */
/freebsd-current/sys/dev/nvmf/
H A Dnvmf_tcp.c1088 struct iovec iov[1]; local
1132 iov[0].iov_base = &ch;
1133 iov[0].iov_len = sizeof(ch);
1134 uio.uio_iov = iov;
/freebsd-current/tools/build/test-includes/
H A Dbadfiles.inc58 sys/iov.h \
/freebsd-current/usr.sbin/route6d/
H A Droute6d.c1049 struct iovec iov[2]; local
1067 iov[0].iov_base = (caddr_t)ripbuf;
1068 iov[0].iov_len = len;
1069 m.msg_iov = iov;
1116 struct iovec iov[2]; local
1129 iov[0].iov_base = (caddr_t)buf;
1130 iov[0].iov_len = sizeof(buf);
1131 m.msg_iov = iov;
/freebsd-current/sys/compat/linux/
H A Dlinux_misc.c2459 struct iovec iov; local
2467 iov.iov_base = args->buf;
2468 iov.iov_len = args->count;
2470 uio.uio_iov = &iov;
2472 uio.uio_resid = iov.iov_len;
/freebsd-current/usr.sbin/bhyve/
H A Dpci_nvme.c2558 struct iovec *iov = req->io_req.br_iov; local
2561 iov += req->prev_gpaddr;
2564 req->io_req.br_offset = (off_t)iov->iov_base;
2565 req->io_req.br_resid = iov->iov_len;
2661 struct iovec *iov = req->io_req.br_iov; local
2674 iov[dr].iov_base = (void *)offset;
2675 iov[dr].iov_len = bytes;
/freebsd-current/sys/dev/cxgbe/tom/
H A Dt4_ddp.c2509 struct iovec iov[1]; local
2515 iov[0].iov_base = mtod(m, void *);
2516 iov[0].iov_len = m->m_len;
2517 if (iov[0].iov_len > resid)
2518 iov[0].iov_len = resid;
2519 uio.uio_iov = iov;
2522 uio.uio_resid = iov[0].iov_len;
/freebsd-current/sys/dev/pci/
H A Dpcivar.h226 struct pcicfg_iov *iov; /* SR-IOV */ member in struct:pcicfg
/freebsd-current/sys/fs/p9fs/
H A Dp9fs_vnops.c2142 struct iovec iov; local
2183 iov.iov_base = (caddr_t) kva;
2184 iov.iov_len = count;
2185 uio.uio_iov = &iov;
/freebsd-current/crypto/heimdal/lib/roken/
H A Dgetifaddrs.c306 struct iovec iov = { buf, buflen }; local
313 msg.msg_iov = &iov;
/freebsd-current/contrib/ntp/sntp/libevent/
H A Dbuffer.c2419 IOV_TYPE iov[NUM_WRITE_IOVEC]; local
2436 iov[i].IOV_PTR_FIELD = (void *) (chain->buffer + chain->misalign);
2439 iov[i++].IOV_LEN_FIELD = (IOV_LEN_TYPE)chain->off;
2443 iov[i++].IOV_LEN_FIELD = (IOV_LEN_TYPE)howmuch;
2454 if (WSASend(fd, iov, i, &bytesSent, 0, NULL, NULL))
2460 n = writev(fd, iov, i);
/freebsd-current/contrib/libevent/
H A Dbuffer.c2419 IOV_TYPE iov[NUM_WRITE_IOVEC]; local
2436 iov[i].IOV_PTR_FIELD = (void *) (chain->buffer + chain->misalign);
2439 iov[i++].IOV_LEN_FIELD = (IOV_LEN_TYPE)chain->off;
2443 iov[i++].IOV_LEN_FIELD = (IOV_LEN_TYPE)howmuch;
2454 if (WSASend(fd, iov, i, &bytesSent, 0, NULL, NULL))
2460 n = writev(fd, iov, i);
/freebsd-current/crypto/openssh/
H A Dsftp-client.c167 struct iovec iov[2]; local
174 iov[0].iov_base = mlen;
175 iov[0].iov_len = sizeof(mlen);
176 iov[1].iov_base = (u_char *)sshbuf_ptr(m);
177 iov[1].iov_len = sshbuf_len(m);
179 if (atomiciov6(writev, conn->fd_out, iov, 2, sftpio,
/freebsd-current/usr.bin/truss/
H A Dsyscalls.c1159 struct iovec iov[IOV_LIMIT]; local
1177 if (get_struct(pid, arg, &iov, iovcnt * sizeof(struct iovec)) == -1) {
1184 len = iov[i].iov_len;
1192 if (len && get_struct(pid, (uintptr_t)iov[i].iov_base, &tmp2, len) != -1) {
1206 print_pointer(fp, (uintptr_t)iov[i].iov_base);
1208 fprintf(fp, ",%zu}", iov[i].iov_len);
/freebsd-current/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1686 #define __sanitizer_syscall_pre_vmsplice(fd, iov, nr_segs, flags) \
1687 __sanitizer_syscall_pre_impl_vmsplice((long)(fd), (long)(iov), \
1689 #define __sanitizer_syscall_post_vmsplice(res, fd, iov, nr_segs, flags) \
1690 __sanitizer_syscall_post_impl_vmsplice(res, (long)(fd), (long)(iov), \
2980 void __sanitizer_syscall_pre_impl_vmsplice(long fd, long iov, long nr_segs,
2982 void __sanitizer_syscall_post_impl_vmsplice(long res, long fd, long iov,
/freebsd-current/lib/libsys/
H A D_libsys.h755 int __sys_sctp_generic_sendmsg_iov(int sd, struct iovec * iov, int iovlen, const struct sockaddr * to, __socklen_t tolen, struct sctp_sndrcvinfo * sinfo, int flags);
756 int __sys_sctp_generic_recvmsg(int sd, struct iovec * iov, int iovlen, struct sockaddr * from, __socklen_t * fromlenaddr, struct sctp_sndrcvinfo * sinfo, int * msg_flags);
/freebsd-current/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c2210 struct iovec iov; local
2219 iov.iov_base = &ep->mpa_pkt[ep->mpa_pkt_len];
2220 iov.iov_len = sizeof(ep->mpa_pkt) - ep->mpa_pkt_len;
2221 uio.uio_iov = &iov;
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vnops_os.c367 struct iovec iov; local
368 iov.iov_base = (void *)data;
369 iov.iov_len = len;
372 zfs_uio_iovec_init(&uio, &iov, 1, pos, UIO_SYSSPACE, len, 0);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp1910 struct iovec *iov = &msg->msg_iov[i]; local
1912 bytes_written < iov->iov_len ? bytes_written : iov->iov_len;
1913 dfsan_set_label(0, iov->iov_base, iov_written);
/freebsd-current/sys/dev/mlx5/mlx5_core/
H A Dmlx5_main.c58 #include <sys/iov.h>
/freebsd-current/sys/sys/
H A Dsysproto.h1317 char iov_l_[PADL_(struct iovec *)]; struct iovec * iov; char iov_r_[PADR_(struct iovec *)]; member in struct:sctp_generic_sendmsg_iov_args
1326 char iov_l_[PADL_(struct iovec *)]; struct iovec * iov; char iov_r_[PADR_(struct iovec *)]; member in struct:sctp_generic_recvmsg_args

Completed in 296 milliseconds

<<111213