Searched refs:next_minor (Results 1 – 1 of 1) sorted by relevance
719 static int next_minor = 512; in mddev_alloc_unit() local720 int start = next_minor; in mddev_alloc_unit()725 dev = MKDEV(MD_MAJOR, next_minor); in mddev_alloc_unit()726 next_minor++; in mddev_alloc_unit()727 if (next_minor > MINORMASK) in mddev_alloc_unit()728 next_minor = 0; in mddev_alloc_unit()729 if (next_minor == start) in mddev_alloc_unit()