Lines Matching refs:count
24 int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size_t count) in copy_to_user_fromio() argument
28 if (import_ubuf(ITER_DEST, dst, count, &iter)) in copy_to_user_fromio()
30 return copy_to_iter_fromio(&iter, (const void __iomem *)src, count); in copy_to_user_fromio()
45 size_t count) in copy_to_iter_fromio() argument
48 return copy_to_iter((const void __force *)src, count, dst) == count ? 0 : -EFAULT; in copy_to_iter_fromio()
51 while (count) { in copy_to_iter_fromio()
52 size_t c = count; in copy_to_iter_fromio()
58 count -= c; in copy_to_iter_fromio()
76 int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count) in copy_from_user_toio() argument
80 if (import_ubuf(ITER_SOURCE, (void __user *)src, count, &iter)) in copy_from_user_toio()
82 return copy_from_iter_toio((void __iomem *)dst, &iter, count); in copy_from_user_toio()
96 int copy_from_iter_toio(void __iomem *dst, struct iov_iter *src, size_t count) in copy_from_iter_toio() argument
99 return copy_from_iter((void __force *)dst, count, src) == count ? 0 : -EFAULT; in copy_from_iter_toio()
102 while (count) { in copy_from_iter_toio()
103 size_t c = count; in copy_from_iter_toio()
109 count -= c; in copy_from_iter_toio()