Lines Matching refs:c
30 size_t c = count; in copy_to_user_fromio()
31 if (c > sizeof(buf)) in copy_to_user_fromio()
32 c = sizeof(buf); in copy_to_user_fromio()
33 memcpy_fromio(buf, (void __iomem *)src, c); in copy_to_user_fromio()
34 if (copy_to_user(dst, buf, c)) in copy_to_user_fromio()
36 count -= c; in copy_to_user_fromio()
37 dst += c; in copy_to_user_fromio()
38 src += c; in copy_to_user_fromio()
62 size_t c = count; in copy_from_user_toio()
63 if (c > sizeof(buf)) in copy_from_user_toio()
64 c = sizeof(buf); in copy_from_user_toio()
65 if (copy_from_user(buf, src, c)) in copy_from_user_toio()
67 memcpy_toio(dst, buf, c); in copy_from_user_toio()
68 count -= c; in copy_from_user_toio()
69 dst += c; in copy_from_user_toio()
70 src += c; in copy_from_user_toio()