Lines Matching refs:fast_iov
706 struct iovec fast_iov[UIO_FASTIOV];
707 /* points to an allocated iov, if NULL we use fast_iov instead */
715 struct iovec fast_iov[UIO_FASTIOV];
3427 const struct iovec *fast_iov, struct iov_iter *iter)
3440 rw->iter.iov = rw->fast_iov;
3441 if (iter->iov != fast_iov) {
3442 iov_off = iter->iov - fast_iov;
3445 if (rw->fast_iov != fast_iov)
3446 memcpy(rw->fast_iov + iov_off, fast_iov + iov_off,
3461 const struct iovec *fast_iov,
3474 io_req_map_rw(req, iovec, fast_iov, iter);
3485 struct iovec *iov = iorw->fast_iov;
4740 /* if were using fast_iov, set it to the new one */
4742 size_t fast_idx = kmsg->msg.msg_iter.iov - kmsg->fast_iov;
4743 async_msg->msg.msg_iter.iov = &async_msg->fast_iov[fast_idx];
4756 iomsg->free_iov = iomsg->fast_iov;
4923 if (copy_from_user(iomsg->fast_iov, uiov, sizeof(*uiov)))
4925 sr->len = iomsg->fast_iov[0].iov_len;
4928 iomsg->free_iov = iomsg->fast_iov;
4969 iomsg->free_iov = iomsg->fast_iov;
5077 kmsg->fast_iov[0].iov_base = u64_to_user_ptr(kbuf->addr);
5078 kmsg->fast_iov[0].iov_len = req->sr_msg.len;
5079 iov_iter_init(&kmsg->msg.msg_iter, READ, kmsg->fast_iov,