Lines Matching defs:count
715 size_t count, loff_t *ppos)
723 if (count < 2)
725 if (count > sizeof(req->reply))
726 count = sizeof(req->reply);
763 if (ret > count)
764 ret = count;
773 size_t count, loff_t *ppos)
779 if (count < 2 || count > sizeof(req->data))
789 req->nbytes = count;
795 if (copy_from_user(req->data, buf, count))
805 if (count > 1)
813 else if ((req->data[0] == ADB_PACKET) && (count > 1)
819 ret = count;
834 return count;