Lines Matching defs:msg32
164 msg_recv_copyin(struct lwp *l, const struct netbsd32_msghdr *msg32,
171 iovsz = msg32->msg_iovlen * sizeof(struct iovec);
172 if (msg32->msg_iovlen > UIO_SMALLIOV) {
173 if (msg32->msg_iovlen > IOV_MAX)
178 error = netbsd32_to_iovecin(NETBSD32PTR64(msg32->msg_iov), iov,
179 msg32->msg_iovlen);
183 netbsd32_to_msghdr(msg32, msg);
192 msg_recv_copyout(struct lwp *l, struct netbsd32_msghdr *msg32,
210 msg32->msg_namelen = msg->msg_namelen;
211 msg32->msg_controllen = msg->msg_controllen;
212 msg32->msg_flags = msg->msg_flags;
216 return copyout(msg32, arg, sizeof(*arg));
228 struct netbsd32_msghdr msg32;
234 error = copyin(SCARG_P32(uap, msg), &msg32, sizeof(msg32));
238 if ((error = msg_recv_copyin(l, &msg32, &msg, aiov)) != 0)
247 error = msg_recv_copyout(l, &msg32, &msg, SCARG_P32(uap, msg),
268 struct netbsd32_msghdr *msg32 = &mmsg32.msg_hdr;
315 if ((error = msg_recv_copyin(l, msg32, msg, aiov)) != 0)
332 error = msg_recv_copyout(l, msg32, msg, NULL,
481 msg_send_copyin(struct lwp *l, const struct netbsd32_msghdr *msg32,
489 netbsd32_to_msghdr(msg32, msg);
511 iov32 = NETBSD32PTR64(msg32->msg_iov);
535 struct netbsd32_msghdr msg32;
539 error = copyin(SCARG_P32(uap, msg), &msg32, sizeof(msg32));
543 if ((error = msg_send_copyin(l, &msg32, &msg, aiov)) != 0)
567 struct netbsd32_msghdr *msg32 = &mmsg32.msg_hdr;
589 if ((error = msg_send_copyin(l, msg32, msg, aiov)) != 0)