Searched refs:fast_iov (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/io_uring/ |
H A D | rw.c | 407 iovec = s->fast_iov; in __io_import_iovec() 499 const struct iovec *fast_iov, struct iov_iter *iter) in io_req_map_rw() argument 512 io->s.iter.__iov = io->s.fast_iov; in io_req_map_rw() 513 if (iter->__iov != fast_iov) { in io_req_map_rw() 514 iov_off = iter_iov(iter) - fast_iov; in io_req_map_rw() 517 if (io->s.fast_iov != fast_iov) in io_req_map_rw() 518 memcpy(io->s.fast_iov + iov_off, fast_iov + iov_off, in io_req_map_rw() 538 io_req_map_rw(req, iovec, s->fast_iov, &s->iter); in io_setup_async_rw()
|
H A D | rw.h | 8 struct iovec fast_iov[UIO_FASTIOV]; member
|
H A D | net.h | 11 struct iovec fast_iov[UIO_FASTIOV]; member
|
H A D | net.c | 200 size_t fast_idx = iter_iov(&kmsg->msg.msg_iter) - kmsg->fast_iov; in io_setup_async_msg() 201 async_msg->msg.msg_iter.__iov = &async_msg->fast_iov[fast_idx]; in io_setup_async_msg() 241 iomsg->free_iov = iomsg->fast_iov; in io_compat_msg_copy_hdr() 263 sr->len = iomsg->fast_iov[0].iov_len = 0; in io_msg_copy_hdr() 264 iomsg->fast_iov[0].iov_base = NULL; in io_msg_copy_hdr() 269 if (copy_from_user(iomsg->fast_iov, msg->msg_iov, in io_msg_copy_hdr() 272 sr->len = iomsg->fast_iov[0].iov_len; in io_msg_copy_hdr() 279 iomsg->free_iov = iomsg->fast_iov; in io_msg_copy_hdr() 1025 if (io->free_iov != io->fast_iov) in io_send_zc_cleanup()
|
/openbmc/linux/block/ |
H A D | blk-map.c | 706 struct iovec fast_iov[UIO_FASTIOV]; in blk_rq_map_user_io() local 707 struct iovec *iov = fast_iov; in blk_rq_map_user_io()
|
/openbmc/linux/include/linux/ |
H A D | uio.h | 368 struct iovec *fast_iov, bool compat);
|
/openbmc/linux/lib/ |
H A D | iov_iter.c | 1401 struct iovec *fast_iov, bool compat) in iovec_from_user() argument 1403 struct iovec *iov = fast_iov; in iovec_from_user() 1426 if (iov != fast_iov) in iovec_from_user()
|