Lines Matching refs:from
7 * Inspiration, some code, and most witty comments come from
819 const void *from, unsigned size)
824 return __copy_to_user(to, from, size);
837 return __copy_to_user(uaddr, from, size);
845 ret = copy_to_iter(from, size, &t);
854 void __user *from, unsigned size)
859 return __copy_from_user(to, from, size);
867 (u64)(uintptr_t)from, size,
874 ret = translate_desc(vq, (u64)(uintptr_t)from, size, vq->iotlb_iov,
879 "%p size 0x%llx\n", from,
987 __typeof__(ptr) from = \
991 if (from != NULL) \
992 ret = __get_user(x, from); \
1140 struct iov_iter *from)
1146 ret = copy_from_iter(&type, sizeof(type), from);
1167 iov_iter_advance(from, offset);
1168 ret = copy_from_iter(&msg, sizeof(msg), from);
1343 * request another translation from userspace.
2116 struct iov_iter from;
2135 iov_iter_init(&from, READ, vq->indirect, ret, len);
2153 if (unlikely(!copy_from_iter_full(&desc, sizeof(desc), &from))) {
2232 vq_err(vq, "Guest moved used index from %u to %u",
2342 /* Assume notifications from guest are disabled at this point,