Home
last modified time | relevance | path

Searched refs:next_minor (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/md/
Dmd.c702 static int next_minor = 512; in mddev_alloc_unit() local
703 int start = next_minor; in mddev_alloc_unit()
708 dev = MKDEV(MD_MAJOR, next_minor); in mddev_alloc_unit()
709 next_minor++; in mddev_alloc_unit()
710 if (next_minor > MINORMASK) in mddev_alloc_unit()
711 next_minor = 0; in mddev_alloc_unit()
712 if (next_minor == start) in mddev_alloc_unit()