Lines Matching refs:ucnt
230 __u64 ucnt = 0;
232 if (iov_iter_count(to) < sizeof(ucnt))
247 eventfd_ctx_do_read(ctx, &ucnt);
253 if (unlikely(copy_to_iter(&ucnt, sizeof(ucnt), to) != sizeof(ucnt)))
256 return sizeof(ucnt);
264 __u64 ucnt;
266 if (count < sizeof(ucnt))
268 if (copy_from_user(&ucnt, buf, sizeof(ucnt)))
270 if (ucnt == ULLONG_MAX)
274 if (ULLONG_MAX - ctx->count > ucnt)
275 res = sizeof(ucnt);
278 ULLONG_MAX - ctx->count > ucnt);
280 res = sizeof(ucnt);
283 ctx->count += ucnt;