Home
last modified time | relevance | path

Searched refs:ucnt (Results 1 – 1 of 1) sorted by relevance

/fs/
Deventfd.c230 __u64 ucnt = 0; in eventfd_read() local
233 if (iov_iter_count(to) < sizeof(ucnt)) in eventfd_read()
260 eventfd_ctx_do_read(ctx, &ucnt); in eventfd_read()
266 if (unlikely(copy_to_iter(&ucnt, sizeof(ucnt), to) != sizeof(ucnt))) in eventfd_read()
269 return sizeof(ucnt); in eventfd_read()
277 __u64 ucnt; in eventfd_write() local
280 if (count < sizeof(ucnt)) in eventfd_write()
282 if (copy_from_user(&ucnt, buf, sizeof(ucnt))) in eventfd_write()
284 if (ucnt == ULLONG_MAX) in eventfd_write()
288 if (ULLONG_MAX - ctx->count > ucnt) in eventfd_write()
[all …]