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

/linux-4.4.14/fs/
H A Deventfd.c247 __u64 ucnt; eventfd_write() local
250 if (count < sizeof(ucnt)) eventfd_write()
252 if (copy_from_user(&ucnt, buf, sizeof(ucnt))) eventfd_write()
254 if (ucnt == ULLONG_MAX) eventfd_write()
258 if (ULLONG_MAX - ctx->count > ucnt) eventfd_write()
259 res = sizeof(ucnt); eventfd_write()
264 if (ULLONG_MAX - ctx->count > ucnt) { eventfd_write()
265 res = sizeof(ucnt); eventfd_write()
280 ctx->count += ucnt; eventfd_write()
/linux-4.4.14/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c4898 unsigned int lcnt, ucnt; pvr2_hdw_state_log_state() local
4906 ucnt = 0; pvr2_hdw_state_log_state()
4907 while (ucnt < ccnt) { pvr2_hdw_state_log_state()
4909 while ((lcnt + ucnt < ccnt) && (buf[lcnt + ucnt] != '\n')) { pvr2_hdw_state_log_state()
4912 printk(KERN_INFO "%s %.*s\n", hdw->name, lcnt, buf + ucnt); pvr2_hdw_state_log_state()
4913 ucnt += lcnt + 1; pvr2_hdw_state_log_state()

Completed in 94 milliseconds