Lines Matching defs:userPtr

71 static ssize_t ata_ct_law(const u_char __user *userPtr, size_t userCount,
74 static ssize_t ata_ct_s8(const u_char __user *userPtr, size_t userCount,
77 static ssize_t ata_ct_u8(const u_char __user *userPtr, size_t userCount,
80 static ssize_t ata_ct_s16be(const u_char __user *userPtr, size_t userCount,
83 static ssize_t ata_ct_u16be(const u_char __user *userPtr, size_t userCount,
86 static ssize_t ata_ct_s16le(const u_char __user *userPtr, size_t userCount,
89 static ssize_t ata_ct_u16le(const u_char __user *userPtr, size_t userCount,
92 static ssize_t ata_ctx_law(const u_char __user *userPtr, size_t userCount,
95 static ssize_t ata_ctx_s8(const u_char __user *userPtr, size_t userCount,
98 static ssize_t ata_ctx_u8(const u_char __user *userPtr, size_t userCount,
101 static ssize_t ata_ctx_s16be(const u_char __user *userPtr, size_t userCount,
104 static ssize_t ata_ctx_u16be(const u_char __user *userPtr, size_t userCount,
107 static ssize_t ata_ctx_s16le(const u_char __user *userPtr, size_t userCount,
110 static ssize_t ata_ctx_u16le(const u_char __user *userPtr, size_t userCount,
155 static ssize_t ata_ct_law(const u_char __user *userPtr, size_t userCount,
170 if (get_user(data, userPtr++))
180 static ssize_t ata_ct_s8(const u_char __user *userPtr, size_t userCount,
191 if (copy_from_user(p, userPtr, count))
198 static ssize_t ata_ct_u8(const u_char __user *userPtr, size_t userCount,
210 if (get_user(data, userPtr++))
221 if (get_user(data, (u_short __user *)userPtr))
223 userPtr += 2;
233 static ssize_t ata_ct_s16be(const u_char __user *userPtr, size_t userCount,
245 if (get_user(data, (u_short __user *)userPtr))
247 userPtr += 2;
257 if (copy_from_user(p, userPtr, count))
265 static ssize_t ata_ct_u16be(const u_char __user *userPtr, size_t userCount,
277 if (get_user(data, (u_short __user *)userPtr))
279 userPtr += 2;
292 if (get_user(data, (u_int __user *)userPtr))
294 userPtr += 4;
304 static ssize_t ata_ct_s16le(const u_char __user *userPtr, size_t userCount,
317 if (get_user(data, (u_short __user *)userPtr))
319 userPtr += 2;
332 if (get_user(data, (u_int __user *)userPtr))
334 userPtr += 4;
345 static ssize_t ata_ct_u16le(const u_char __user *userPtr, size_t userCount,
358 if (get_user(data, (u_short __user *)userPtr))
360 userPtr += 2;
372 if (get_user(data, (u_int __user *)userPtr))
374 userPtr += 4;
385 static ssize_t ata_ctx_law(const u_char __user *userPtr, size_t userCount,
406 if (get_user(c, userPtr++))
425 if (get_user(c, userPtr++))
428 if (get_user(c, userPtr++))
447 static ssize_t ata_ctx_s8(const u_char __user *userPtr, size_t userCount,
465 if (get_user(data, userPtr++))
482 if (get_user(data, (u_short __user *)userPtr))
484 userPtr += 2;
501 static ssize_t ata_ctx_u8(const u_char __user *userPtr, size_t userCount,
519 if (get_user(data, userPtr++))
537 if (get_user(data, (u_short __user *)userPtr))
539 userPtr += 2;
557 static ssize_t ata_ctx_s16be(const u_char __user *userPtr, size_t userCount,
575 if (get_user(data, (u_short __user *)userPtr))
577 userPtr += 2;
594 if (get_user(data, (u_int __user *)userPtr))
596 userPtr += 4;
613 static ssize_t ata_ctx_u16be(const u_char __user *userPtr, size_t userCount,
631 if (get_user(data, (u_short __user *)userPtr))
633 userPtr += 2;
651 if (get_user(data, (u_int __user *)userPtr))
653 userPtr += 4;
671 static ssize_t ata_ctx_s16le(const u_char __user *userPtr, size_t userCount,
689 if (get_user(data, (u_short __user *)userPtr))
691 userPtr += 2;
709 if (get_user(data, (u_int __user *)userPtr))
711 userPtr += 4;
729 static ssize_t ata_ctx_u16le(const u_char __user *userPtr, size_t userCount,
747 if (get_user(data, (u_short __user *)userPtr))
749 userPtr += 2;
767 if (get_user(data, (u_int __user *)userPtr))
769 userPtr += 4;