Searched refs:next_minor (Results 1 – 1 of 1) sorted by relevance
591 static int next_minor = 512; in mddev_find() local592 int start = next_minor; in mddev_find()596 dev = MKDEV(MD_MAJOR, next_minor); in mddev_find()597 next_minor++; in mddev_find()598 if (next_minor > MINORMASK) in mddev_find()599 next_minor = 0; in mddev_find()600 if (next_minor == start) { in mddev_find()