Home
last modified time | relevance | path

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

/linux-4.1.27/fs/
Deventfd.c247 __u64 ucnt; in eventfd_write() local
250 if (count < sizeof(ucnt)) in eventfd_write()
252 if (copy_from_user(&ucnt, buf, sizeof(ucnt))) in eventfd_write()
254 if (ucnt == ULLONG_MAX) in eventfd_write()
258 if (ULLONG_MAX - ctx->count > ucnt) in eventfd_write()
259 res = sizeof(ucnt); in eventfd_write()
264 if (ULLONG_MAX - ctx->count > ucnt) { in eventfd_write()
265 res = sizeof(ucnt); in eventfd_write()
280 ctx->count += ucnt; in eventfd_write()
/linux-4.1.27/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c4889 unsigned int lcnt, ucnt; in pvr2_hdw_state_log_state() local
4897 ucnt = 0; in pvr2_hdw_state_log_state()
4898 while (ucnt < ccnt) { in pvr2_hdw_state_log_state()
4900 while ((lcnt + ucnt < ccnt) && (buf[lcnt + ucnt] != '\n')) { in pvr2_hdw_state_log_state()
4903 printk(KERN_INFO "%s %.*s\n", hdw->name, lcnt, buf + ucnt); in pvr2_hdw_state_log_state()
4904 ucnt += lcnt + 1; in pvr2_hdw_state_log_state()