Lines Matching defs:userCount
61 /* userCount, frameUsed, frameLeft == byte counts */
62 static ssize_t q40_ct_law(const u_char __user *userPtr, size_t userCount,
70 used = count = min_t(size_t, userCount, frameLeft);
83 static ssize_t q40_ct_s8(const u_char __user *userPtr, size_t userCount,
90 used = count = min_t(size_t, userCount, frameLeft);
102 static ssize_t q40_ct_u8(const u_char __user *userPtr, size_t userCount,
109 used = count = min_t(size_t, userCount, frameLeft);
118 static ssize_t q40_ctx_law(const u_char __user *userPtr, size_t userCount,
131 utotal = userCount;
135 if (userCount == 0)
141 userCount--;
151 utotal -= userCount;
156 static ssize_t q40_ctx_s8(const u_char __user *userPtr, size_t userCount,
168 utotal = userCount;
172 if (userCount == 0)
178 userCount--;
188 utotal -= userCount;
193 static ssize_t q40_ctx_u8(const u_char __user *userPtr, size_t userCount,
204 utotal = userCount;
208 if (userCount == 0)
213 userCount--;
223 utotal -= userCount;
228 static ssize_t q40_ctc_law(const u_char __user *userPtr, size_t userCount,
241 utotal = userCount;
245 if (userCount == 0)
253 userCount--;
264 utotal -= userCount;
269 static ssize_t q40_ctc_s8(const u_char __user *userPtr, size_t userCount,
280 utotal = userCount;
284 if (userCount == 0)
292 userCount--;
303 utotal -= userCount;
308 static ssize_t q40_ctc_u8(const u_char __user *userPtr, size_t userCount,
319 utotal = userCount;
323 if (userCount == 0)
331 userCount--;
342 utotal -= userCount;