Lines Matching refs:fast_iov
706 struct iovec fast_iov[UIO_FASTIOV]; member
715 struct iovec fast_iov[UIO_FASTIOV]; member
3432 const struct iovec *fast_iov, struct iov_iter *iter) in io_req_map_rw() argument
3445 rw->iter.iov = rw->fast_iov; in io_req_map_rw()
3446 if (iter->iov != fast_iov) { in io_req_map_rw()
3447 iov_off = iter->iov - fast_iov; in io_req_map_rw()
3450 if (rw->fast_iov != fast_iov) in io_req_map_rw()
3451 memcpy(rw->fast_iov + iov_off, fast_iov + iov_off, in io_req_map_rw()
3466 const struct iovec *fast_iov, in io_setup_async_rw() argument
3479 io_req_map_rw(req, iovec, fast_iov, iter); in io_setup_async_rw()
3490 struct iovec *iov = iorw->fast_iov; in io_rw_prep_async()
4890 size_t fast_idx = kmsg->msg.msg_iter.iov - kmsg->fast_iov; in io_setup_async_msg()
4891 async_msg->msg.msg_iter.iov = &async_msg->fast_iov[fast_idx]; in io_setup_async_msg()
4904 iomsg->free_iov = iomsg->fast_iov; in io_sendmsg_copy_hdr()
5073 if (copy_from_user(iomsg->fast_iov, uiov, sizeof(*uiov))) in __io_recvmsg_copy_hdr()
5075 sr->len = iomsg->fast_iov[0].iov_len; in __io_recvmsg_copy_hdr()
5078 iomsg->free_iov = iomsg->fast_iov; in __io_recvmsg_copy_hdr()
5119 iomsg->free_iov = iomsg->fast_iov; in __io_compat_recvmsg_copy_hdr()
5227 kmsg->fast_iov[0].iov_base = u64_to_user_ptr(kbuf->addr); in io_recvmsg()
5228 kmsg->fast_iov[0].iov_len = req->sr_msg.len; in io_recvmsg()
5229 iov_iter_init(&kmsg->msg.msg_iter, READ, kmsg->fast_iov, in io_recvmsg()