Lines Matching defs:userCount

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,
164 count = min_t(unsigned long, userCount, frameLeft);
180 static ssize_t ata_ct_s8(const u_char __user *userPtr, size_t userCount,
187 count = min_t(unsigned long, userCount, frameLeft);
198 static ssize_t ata_ct_u8(const u_char __user *userPtr, size_t userCount,
206 count = min_t(unsigned long, userCount, frameLeft);
217 count = min_t(unsigned long, userCount, frameLeft)>>1;
233 static ssize_t ata_ct_s16be(const u_char __user *userPtr, size_t userCount,
241 count = min_t(unsigned long, userCount, frameLeft)>>1;
255 count = min_t(unsigned long, userCount, frameLeft) & ~3;
265 static ssize_t ata_ct_u16be(const u_char __user *userPtr, size_t userCount,
273 count = min_t(unsigned long, userCount, frameLeft)>>1;
288 count = min_t(unsigned long, userCount, frameLeft)>>2;
304 static ssize_t ata_ct_s16le(const u_char __user *userPtr, size_t userCount,
313 count = min_t(unsigned long, userCount, frameLeft)>>1;
328 count = min_t(unsigned long, userCount, frameLeft)>>2;
345 static ssize_t ata_ct_u16le(const u_char __user *userPtr, size_t userCount,
354 count = min_t(unsigned long, userCount, frameLeft)>>1;
368 count = min_t(unsigned long, userCount, frameLeft)>>2;
385 static ssize_t ata_ctx_law(const u_char __user *userPtr, size_t userCount,
396 used = userCount;
404 if (!userCount)
409 userCount--;
423 if (userCount < 2)
431 userCount -= 2;
441 used -= userCount;
447 static ssize_t ata_ctx_s8(const u_char __user *userPtr, size_t userCount,
456 used = userCount;
463 if (!userCount)
467 userCount--;
480 if (userCount < 2)
485 userCount -= 2;
495 used -= userCount;
501 static ssize_t ata_ctx_u8(const u_char __user *userPtr, size_t userCount,
510 used = userCount;
517 if (!userCount)
522 userCount--;
535 if (userCount < 2)
541 userCount -= 2;
551 used -= userCount;
557 static ssize_t ata_ctx_s16be(const u_char __user *userPtr, size_t userCount,
566 used = userCount;
573 if (userCount < 2)
578 userCount -= 2;
592 if (userCount < 4)
597 userCount -= 4;
607 used -= userCount;
613 static ssize_t ata_ctx_u16be(const u_char __user *userPtr, size_t userCount,
622 used = userCount;
629 if (userCount < 2)
635 userCount -= 2;
649 if (userCount < 4)
655 userCount -= 4;
665 used -= userCount;
671 static ssize_t ata_ctx_s16le(const u_char __user *userPtr, size_t userCount,
680 used = userCount;
687 if (userCount < 2)
693 userCount -= 2;
707 if (userCount < 4)
713 userCount -= 4;
723 used -= userCount;
729 static ssize_t ata_ctx_u16le(const u_char __user *userPtr, size_t userCount,
738 used = userCount;
745 if (userCount < 2)
751 userCount -= 2;
765 if (userCount < 4)
771 userCount -= 4;
781 used -= userCount;