Lines Matching refs:nr_minors
236 static unsigned int nr_minors;
448 if (end > nr_minors) {
457 if (end > nr_minors) {
460 BITS_TO_LONGS(nr_minors) * sizeof(*bitmap));
462 nr_minors = BITS_TO_LONGS(end) * BITS_PER_LONG;
484 BUG_ON(end > nr_minors);
1074 int nr_minors = 1;
1111 nr_minors = nr_parts;
1113 err = xlbd_reserve_minors(minor, nr_minors);
1148 if (nr_minors > 1)
1156 gd->minors = nr_minors;
1179 xlbd_release_minors(minor, nr_minors);