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