Searched refs:ucnt (Results 1 – 2 of 2) sorted by relevance
229 __u64 ucnt = 0; in eventfd_read() local232 if (iov_iter_count(to) < sizeof(ucnt)) in eventfd_read()259 eventfd_ctx_do_read(ctx, &ucnt); in eventfd_read()263 if (unlikely(copy_to_iter(&ucnt, sizeof(ucnt), to) != sizeof(ucnt))) in eventfd_read()266 return sizeof(ucnt); in eventfd_read()274 __u64 ucnt; in eventfd_write() local277 if (count < sizeof(ucnt)) in eventfd_write()279 if (copy_from_user(&ucnt, buf, sizeof(ucnt))) in eventfd_write()281 if (ucnt == ULLONG_MAX) in eventfd_write()285 if (ULLONG_MAX - ctx->count > ucnt) in eventfd_write()[all …]
4876 unsigned int lcnt, ucnt; in pvr2_hdw_state_log_state() local4887 ucnt = 0; in pvr2_hdw_state_log_state()4888 while (ucnt < ccnt) { in pvr2_hdw_state_log_state()4890 while ((lcnt + ucnt < ccnt) && (buf[lcnt + ucnt] != '\n')) { in pvr2_hdw_state_log_state()4893 pr_info("%s %.*s\n", hdw->name, lcnt, buf + ucnt); in pvr2_hdw_state_log_state()4894 ucnt += lcnt + 1; in pvr2_hdw_state_log_state()