Lines Matching refs:ucnt
232 __u64 ucnt = 0;
235 if (iov_iter_count(to) < sizeof(ucnt))
262 eventfd_ctx_do_read(ctx, &ucnt);
266 if (unlikely(copy_to_iter(&ucnt, sizeof(ucnt), to) != sizeof(ucnt)))
269 return sizeof(ucnt);
277 __u64 ucnt;
280 if (count < sizeof(ucnt))
282 if (copy_from_user(&ucnt, buf, sizeof(ucnt)))
284 if (ucnt == ULLONG_MAX)
288 if (ULLONG_MAX - ctx->count > ucnt)
289 res = sizeof(ucnt);
294 if (ULLONG_MAX - ctx->count > ucnt) {
295 res = sizeof(ucnt);
310 ctx->count += ucnt;