Searched refs:fast_iov (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/io_uring/ |
D | rw.c | 388 ret = import_single_range(ddir, buf, sqe_len, s->fast_iov, iter); in __io_import_iovec() 394 iovec = s->fast_iov; in __io_import_iovec() 484 const struct iovec *fast_iov, struct iov_iter *iter) in io_req_map_rw() argument 497 io->s.iter.iov = io->s.fast_iov; in io_req_map_rw() 498 if (iter->iov != fast_iov) { in io_req_map_rw() 499 iov_off = iter->iov - fast_iov; in io_req_map_rw() 502 if (io->s.fast_iov != fast_iov) in io_req_map_rw() 503 memcpy(io->s.fast_iov + iov_off, fast_iov + iov_off, in io_req_map_rw() 523 io_req_map_rw(req, iovec, s->fast_iov, &s->iter); in io_setup_async_rw()
|
D | net.c | 171 size_t fast_idx = kmsg->msg.msg_iter.iov - kmsg->fast_iov; in io_setup_async_msg() 172 async_msg->msg.msg_iter.iov = &async_msg->fast_iov[fast_idx]; in io_setup_async_msg() 184 iomsg->free_iov = iomsg->fast_iov; in io_sendmsg_copy_hdr() 433 sr->len = iomsg->fast_iov[0].iov_len = 0; in __io_recvmsg_copy_hdr() 434 iomsg->fast_iov[0].iov_base = NULL; in __io_recvmsg_copy_hdr() 439 if (copy_from_user(iomsg->fast_iov, msg.msg_iov, sizeof(*msg.msg_iov))) in __io_recvmsg_copy_hdr() 441 sr->len = iomsg->fast_iov[0].iov_len; in __io_recvmsg_copy_hdr() 452 iomsg->free_iov = iomsg->fast_iov; in __io_recvmsg_copy_hdr() 505 iomsg->free_iov = iomsg->fast_iov; in __io_compat_recvmsg_copy_hdr() 764 kmsg->fast_iov[0].iov_base = buf; in io_recvmsg() [all …]
|
D | rw.h | 8 struct iovec fast_iov[UIO_FASTIOV]; member
|
D | net.h | 11 struct iovec fast_iov[UIO_FASTIOV]; member
|
/linux-6.1.9/block/ |
D | blk-map.c | 699 struct iovec fast_iov[UIO_FASTIOV]; in blk_rq_map_user_io() local 700 struct iovec *iov = fast_iov; in blk_rq_map_user_io()
|
/linux-6.1.9/include/linux/ |
D | uio.h | 331 struct iovec *fast_iov, bool compat);
|
/linux-6.1.9/lib/ |
D | iov_iter.c | 1732 struct iovec *fast_iov, bool compat) in iovec_from_user() argument 1734 struct iovec *iov = fast_iov; in iovec_from_user() 1757 if (iov != fast_iov) in iovec_from_user()
|