Lines Matching refs:count
98 int count;
376 (struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
383 if (count > desc->wMaxCommand)
384 count = desc->wMaxCommand;
393 buf = memdup_user(buffer, count);
440 count,
450 req->wLength = cpu_to_le16(count);
469 return count;
520 (struct file *file, char __user *buffer, size_t count, loff_t *ppos)
601 if (cntr > count)
602 cntr = count;
736 /* using write lock to protect desc->count */
738 if (!desc->count++) {
743 desc->count--;
752 if (desc->count == 1)
766 /* using write lock to protect desc->count */
768 desc->count--;
771 if (!desc->count) {
838 if (desc->count) {
1239 if (!desc->count)
1242 dev_dbg(&intf->dev, "%d open files - postponing cleanup\n", desc->count);
1289 if (desc->count) {