Lines Matching refs:nr_minors
234 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);
1129 int nr_minors = 1;
1166 nr_minors = nr_parts;
1168 err = xlbd_reserve_minors(minor, nr_minors);
1173 gd = alloc_disk(nr_minors);
1180 if (nr_minors > 1)
1211 xlbd_release_minors(minor, nr_minors);
1218 unsigned int minor, nr_minors, i;
1238 nr_minors = info->gd->minors;
1239 xlbd_release_minors(minor, nr_minors);