Lines Matching refs:from
7 * Inspiration, some code, and most witty comments come from
678 * Take the worker mutex to make sure we see the work queued from
1093 const void *from, unsigned size)
1098 return __copy_to_user(to, from, size);
1111 return __copy_to_user(uaddr, from, size);
1119 ret = copy_to_iter(from, size, &t);
1128 void __user *from, unsigned size)
1133 return __copy_from_user(to, from, size);
1141 (u64)(uintptr_t)from, size,
1148 ret = translate_desc(vq, (u64)(uintptr_t)from, size, vq->iotlb_iov,
1153 "%p size 0x%llx\n", from,
1261 __typeof__(ptr) from = \
1265 if (from != NULL) \
1266 ret = __get_user(x, from); \
1417 struct iov_iter *from)
1424 ret = copy_from_iter(&type, sizeof(type), from);
1440 ret = copy_from_iter(&asid, sizeof(asid), from);
1454 iov_iter_advance(from, offset);
1455 ret = copy_from_iter(&msg, sizeof(msg), from);
1635 * request another translation from userspace.
2402 struct iov_iter from;
2421 iov_iter_init(&from, ITER_SOURCE, vq->indirect, ret, len);
2439 if (unlikely(!copy_from_iter_full(&desc, sizeof(desc), &from))) {
2518 vq_err(vq, "Guest moved used index from %u to %u",
2628 /* Assume notifications from guest are disabled at this point,