Lines Matching refs:userCount
61 static ssize_t q40_ct_law(const u_char __user *userPtr, size_t userCount, in q40_ct_law() argument
69 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_law()
82 static ssize_t q40_ct_s8(const u_char __user *userPtr, size_t userCount, in q40_ct_s8() argument
89 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_s8()
101 static ssize_t q40_ct_u8(const u_char __user *userPtr, size_t userCount, in q40_ct_u8() argument
108 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_u8()
117 static ssize_t q40_ctx_law(const u_char __user *userPtr, size_t userCount, in q40_ctx_law() argument
130 utotal = userCount; in q40_ctx_law()
134 if (userCount == 0) in q40_ctx_law()
140 userCount--; in q40_ctx_law()
150 utotal -= userCount; in q40_ctx_law()
155 static ssize_t q40_ctx_s8(const u_char __user *userPtr, size_t userCount, in q40_ctx_s8() argument
167 utotal = userCount; in q40_ctx_s8()
171 if (userCount == 0) in q40_ctx_s8()
177 userCount--; in q40_ctx_s8()
187 utotal -= userCount; in q40_ctx_s8()
192 static ssize_t q40_ctx_u8(const u_char __user *userPtr, size_t userCount, in q40_ctx_u8() argument
203 utotal = userCount; in q40_ctx_u8()
207 if (userCount == 0) in q40_ctx_u8()
212 userCount--; in q40_ctx_u8()
222 utotal -= userCount; in q40_ctx_u8()
227 static ssize_t q40_ctc_law(const u_char __user *userPtr, size_t userCount, in q40_ctc_law() argument
240 utotal = userCount; in q40_ctc_law()
244 if (userCount == 0) in q40_ctc_law()
252 userCount--; in q40_ctc_law()
263 utotal -= userCount; in q40_ctc_law()
268 static ssize_t q40_ctc_s8(const u_char __user *userPtr, size_t userCount, in q40_ctc_s8() argument
279 utotal = userCount; in q40_ctc_s8()
283 if (userCount == 0) in q40_ctc_s8()
291 userCount--; in q40_ctc_s8()
302 utotal -= userCount; in q40_ctc_s8()
307 static ssize_t q40_ctc_u8(const u_char __user *userPtr, size_t userCount, in q40_ctc_u8() argument
318 utotal = userCount; in q40_ctc_u8()
322 if (userCount == 0) in q40_ctc_u8()
330 userCount--; in q40_ctc_u8()
341 utotal -= userCount; in q40_ctc_u8()