Searched refs:nr_minors (Results 1 – 1 of 1) sorted by relevance
225 static unsigned int nr_minors; variable427 if (end > nr_minors) { in xlbd_reserve_minors()436 if (end > nr_minors) { in xlbd_reserve_minors()439 BITS_TO_LONGS(nr_minors) * sizeof(*bitmap)); in xlbd_reserve_minors()441 nr_minors = BITS_TO_LONGS(end) * BITS_PER_LONG; in xlbd_reserve_minors()463 BUG_ON(end > nr_minors); in xlbd_release_minors()1097 int nr_minors = 1; in xlvbd_alloc_gendisk() local1134 nr_minors = nr_parts; in xlvbd_alloc_gendisk()1136 err = xlbd_reserve_minors(minor, nr_minors); in xlvbd_alloc_gendisk()1141 gd = alloc_disk(nr_minors); in xlvbd_alloc_gendisk()[all …]