Searched refs:ucnt (Results 1 – 2 of 2) sorted by relevance
224 __u64 ucnt = 0; in eventfd_read() local227 if (iov_iter_count(to) < sizeof(ucnt)) in eventfd_read()254 eventfd_ctx_do_read(ctx, &ucnt); in eventfd_read()258 if (unlikely(copy_to_iter(&ucnt, sizeof(ucnt), to) != sizeof(ucnt))) in eventfd_read()261 return sizeof(ucnt); in eventfd_read()269 __u64 ucnt; in eventfd_write() local272 if (count < sizeof(ucnt)) in eventfd_write()274 if (copy_from_user(&ucnt, buf, sizeof(ucnt))) in eventfd_write()276 if (ucnt == ULLONG_MAX) in eventfd_write()280 if (ULLONG_MAX - ctx->count > ucnt) in eventfd_write()[all …]
4872 unsigned int lcnt, ucnt; in pvr2_hdw_state_log_state() local4883 ucnt = 0; in pvr2_hdw_state_log_state()4884 while (ucnt < ccnt) { in pvr2_hdw_state_log_state()4886 while ((lcnt + ucnt < ccnt) && (buf[lcnt + ucnt] != '\n')) { in pvr2_hdw_state_log_state()4889 pr_info("%s %.*s\n", hdw->name, lcnt, buf + ucnt); in pvr2_hdw_state_log_state()4890 ucnt += lcnt + 1; in pvr2_hdw_state_log_state()