Lines Matching refs:iv
639 const struct iovec *iv, unsigned long total_len, in macvtap_get_user() argument
659 err = memcpy_fromiovecend((void *)&vnet_hdr, iv, 0, in macvtap_get_user()
690 copylen = iov_length(iv, count - MAX_SKB_FRAGS); in macvtap_get_user()
713 err = zerocopy_sg_from_iovec(skb, iv, vnet_hdr_len, count); in macvtap_get_user()
715 err = skb_copy_datagram_from_iovec(skb, 0, iv, vnet_hdr_len, in macvtap_get_user()
761 static ssize_t macvtap_aio_write(struct kiocb *iocb, const struct iovec *iv, in macvtap_aio_write() argument
768 result = macvtap_get_user(q, NULL, iv, iov_length(iv, count), count, in macvtap_aio_write()
776 const struct iovec *iv, int len) in macvtap_put_user() argument
794 if (memcpy_toiovecend(iv, (void *)&vnet_hdr, 0, sizeof(vnet_hdr))) in macvtap_put_user()
814 ret = skb_copy_datagram_const_iovec(skb, 0, iv, copied, copy); in macvtap_put_user()
821 ret = memcpy_toiovecend(iv, (void *)&veth, copied, copy); in macvtap_put_user()
828 ret = skb_copy_datagram_const_iovec(skb, vlan_offset, iv, copied, len); in macvtap_put_user()
842 const struct iovec *iv, unsigned long len, in macvtap_do_read() argument
867 ret = macvtap_put_user(q, skb, iv, len); in macvtap_do_read()
876 static ssize_t macvtap_aio_read(struct kiocb *iocb, const struct iovec *iv, in macvtap_aio_read() argument
883 len = iov_length(iv, count); in macvtap_aio_read()
889 ret = macvtap_do_read(q, iocb, iv, len, file->f_flags & O_NONBLOCK); in macvtap_aio_read()