Lines Matching refs:c
45 size_t c = count; in copy_to_user_fromio()
46 if (c > sizeof(buf)) in copy_to_user_fromio()
47 c = sizeof(buf); in copy_to_user_fromio()
48 memcpy_fromio(buf, (void __iomem *)src, c); in copy_to_user_fromio()
49 if (copy_to_user(dst, buf, c)) in copy_to_user_fromio()
51 count -= c; in copy_to_user_fromio()
52 dst += c; in copy_to_user_fromio()
53 src += c; in copy_to_user_fromio()
78 size_t c = count; in copy_from_user_toio()
79 if (c > sizeof(buf)) in copy_from_user_toio()
80 c = sizeof(buf); in copy_from_user_toio()
81 if (copy_from_user(buf, src, c)) in copy_from_user_toio()
83 memcpy_toio(dst, buf, c); in copy_from_user_toio()
84 count -= c; in copy_from_user_toio()
85 dst += c; in copy_from_user_toio()
86 src += c; in copy_from_user_toio()