Lines Matching refs:count
271 static void ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count);
507 * n cannot be bigger than ffs->ev.count, which cannot be bigger than
525 ffs->ev.count -= n;
526 if (ffs->ev.count)
528 ffs->ev.count * sizeof *ffs->ev.types);
577 if ((file->f_flags & O_NONBLOCK) && !ffs->ev.count) {
583 ffs->ev.count)) {
590 min(n, (size_t)ffs->ev.count));
699 if (ffs->ev.count)
2265 ffs->ev.count = 0;
2329 unsigned i, count;
2331 count = ffs->eps_count;
2332 epfiles = kcalloc(count, sizeof(*epfiles), GFP_KERNEL);
2337 for (i = 1; i <= count; ++i, ++epfile) {
2359 static void ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count)
2363 for (; count; --count, ++epfile) {
2379 unsigned short count;
2383 count = func->ffs->eps_count;
2386 while (count--) {
2406 unsigned short count;
2414 count = ffs->eps_count;
2415 while(count--) {
2610 static int __must_check ffs_do_descs(unsigned count, char *data, unsigned len,
2620 if (num == count)
2752 static int __must_check ffs_do_os_descs(unsigned count,
2759 for (num = 0; num < count; ++num) {
3204 unsigned n = ffs->ev.count;
3210 ffs->ev.count = out - ffs->ev.types;
3214 ffs->ev.types[ffs->ev.count++] = type;
3856 unsigned count = func->ffs->interfaces_count;
3858 for (; count; --count, ++nums) {
4021 unsigned count = ffs->eps_count;
4038 while (count--) {